Bläddra i källkod

fix: export as html issue

Peng Xiao 3 år sedan
förälder
incheckning
d8fe1b0b37
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2 1
      resources/js/preload.js

+ 2 - 1
resources/js/preload.js

@@ -83,11 +83,12 @@ contextBridge.exposeInMainWorld('apis', {
    *
    * @param {string} html html file with embedded state
    */
-  exportPublishAssets (html, customCSSPath, repoPath, assetFilenames, outputDir) {
+  exportPublishAssets (html, customCSSPath, exportCSSPath, repoPath, assetFilenames, outputDir) {
     ipcRenderer.invoke(
       'export-publish-assets',
       html,
       customCSSPath,
+      exportCSSPath,
       repoPath,
       assetFilenames,
       outputDir