Skip to content

Commit

Permalink
update packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
Icexbb committed May 18, 2023
1 parent a21837b commit 26db7af
Showing 1 changed file with 10 additions and 18 deletions.
28 changes: 10 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sekaisubtitle-electron",
"version": "0.9.0",
"version": "0.9.9-rc.1",
"main": "dist-electron/main/index.js",
"description": "",
"author": "XBB <[email protected]>",
Expand Down Expand Up @@ -55,29 +55,19 @@
},
"build": {
"appId": "indi.icexbb.sekaisubtitle",
"productName": "SekaiSubtitle",
"productName": "Sekai Subtitle",
"directories": {
"output": "release/${version}"
"output": "release/${version}-${platform}"
},
"files": [
"src/**",
"README.md",
"release/**"
"dist/**/*",
"dist-electron/**/*"
],
"win": {
"target": [
"nsis"
],
"target": "nsis",
"icon": "public/favicon.ico",
"artifactName": "${productName}_setup_${version}.${ext}",
"extraResources": [
{
"from": "./extra/font-list/**",
"to": "../resources/font-list",
"filter": [
"**/*"
]
},
{
"from": "./extra/core.exe",
"to": "../resources/core.exe"
Expand All @@ -89,8 +79,10 @@
"artifactName": "${productName}_setup_${version}.${ext}",
"target": "dmg",
"extraResources": [
"./extra/font-list/**",
"./extra/core.bin"
{
"from": "./extra/core.bin",
"to": "../resources/core.bin"
}
]
},
"nsis": {
Expand Down

0 comments on commit 26db7af

Please sign in to comment.