Peng Xiao 3 лет назад
Родитель
Сommit
d8fe1b0b37
1 измененных файлов с 2 добавлено и 1 удалено
  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