|
@@ -2,19 +2,14 @@
|
|
"appId": "zskk.dros",
|
|
"appId": "zskk.dros",
|
|
"productName": "dros",
|
|
"productName": "dros",
|
|
"electronVersion": "36.2.1",
|
|
"electronVersion": "36.2.1",
|
|
- "asar": false,
|
|
|
|
|
|
+ "asar": true,
|
|
"compression": "store",
|
|
"compression": "store",
|
|
- "files": [
|
|
|
|
- "main.js",
|
|
|
|
- "src/log/**/*"
|
|
|
|
- ],
|
|
|
|
|
|
+ "files": ["main.js", "src/log/**/*", "!node_modules/**/*"],
|
|
"extraFiles": [
|
|
"extraFiles": [
|
|
{
|
|
{
|
|
"from": "dist/h5",
|
|
"from": "dist/h5",
|
|
"to": "h5",
|
|
"to": "h5",
|
|
- "filter": [
|
|
|
|
- "**/*"
|
|
|
|
- ]
|
|
|
|
|
|
+ "filter": ["**/*"]
|
|
}
|
|
}
|
|
],
|
|
],
|
|
"win": {
|
|
"win": {
|
|
@@ -23,9 +18,7 @@
|
|
"target": [
|
|
"target": [
|
|
{
|
|
{
|
|
"target": "portable",
|
|
"target": "portable",
|
|
- "arch": [
|
|
|
|
- "x64"
|
|
|
|
- ]
|
|
|
|
|
|
+ "arch": ["x64"]
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
@@ -33,10 +26,7 @@
|
|
"target": [
|
|
"target": [
|
|
{
|
|
{
|
|
"target": "dmg",
|
|
"target": "dmg",
|
|
- "arch": [
|
|
|
|
- "x64",
|
|
|
|
- "arm64"
|
|
|
|
- ]
|
|
|
|
|
|
+ "arch": ["x64", "arm64"]
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
@@ -44,13 +34,11 @@
|
|
"target": [
|
|
"target": [
|
|
{
|
|
{
|
|
"target": "AppImage",
|
|
"target": "AppImage",
|
|
- "arch": [
|
|
|
|
- "arm64"
|
|
|
|
- ]
|
|
|
|
|
|
+ "arch": ["arm64"]
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
"directories": {
|
|
"directories": {
|
|
"output": "dist/electron"
|
|
"output": "dist/electron"
|
|
}
|
|
}
|
|
-}
|
|
|
|
|
|
+}
|