Skip to content

Commit

Permalink
单文件打包
Browse files Browse the repository at this point in the history
  • Loading branch information
think-flow committed Jun 18, 2024
1 parent 1c9b3e5 commit 18007cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions electron-builder.json5
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @see https://www.electron.build/configuration/configuration
{
"$schema": "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json",
"appId": "YourAppID",
"appId": "com.cole.l4d2addoninstaller",
"asar": true,
"productName": "l4d2addon_installer",
"directories": {
Expand All @@ -27,21 +27,16 @@
"artifactName": "${productName}-Mac-${version}-Installer.${ext}"
},
"win": {
"icon":"public/icon.ico",
"target": [
{
"target": "nsis",
"target": "portable",
"arch": [
"x64"
]
}
],
"artifactName": "${productName}-Windows-${version}-Setup.${ext}"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": false
"artifactName": "${productName}-Windows-${version}.${ext}"
},
"linux": {
"target": [
Expand Down
Binary file added public/icon.ico
Binary file not shown.

0 comments on commit 18007cf

Please sign in to comment.