1
0
Эх сурвалжийг харах

fix: export as html issue

Peng Xiao 3 жил өмнө
parent
commit
d8fe1b0b37

+ 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