fix: 随包分发运行时资源目录
This commit is contained in:
1 parent
cf05e4aa6f
commit
4fb0f64d4f
2 files changed
+18
-2
No files matched your search
@@ -20,6 +20,10 @@ export default {
|
||||
"out/**/*",
|
||||
"package.json"
|
||||
],
|
||||
extraResources: [
|
||||
{ from: path.join(root, "resources", "catalog.json"), to: "catalog.json" },
|
||||
{ from: path.join(root, "resources", "fixture"), to: "fixture" }
|
||||
],
|
||||
asar: true,
|
||||
compression: "maximum",
|
||||
npmRebuild: false,
|
||||
@@ -45,4 +49,4 @@ export default {
|
||||
deleteAppDataOnUninstall: false
|
||||
},
|
||||
publish: null
|
||||
};
|
||||
};
|
||||
Reference in new issue
Block a user