This commit is contained in:
ThaUnknown 2024-01-08 22:35:49 +01:00
parent 9ee56128e3
commit a2903a26ba
2 changed files with 7 additions and 3 deletions

View file

@ -81,7 +81,7 @@
},
"win": {
"artifactName": "${os}-${name}-${version}.${ext}",
"target": "nsis"
"target": ["nsis", "portable"]
},
"linux": {
"artifactName": "${os}-${name}-${version}.${ext}",
@ -105,9 +105,13 @@
}
]
},
"portable": {
"artifactName": "${os}-${name}-${version}-portable.${ext}"
},
"nsis": {
"allowToChangeInstallationDirectory": true,
"oneClick": false
"oneClick": false,
"artifactName": "${os}-${name}-${version}-installer.${ext}"
}
}
}

View file

@ -41,7 +41,7 @@
downloads = {
iOS: '',
Android: 'https://play.google.com',
Windows: assets.find(({ name }) => name.endsWith('.exe')).browser_download_url,
Windows: assets.find(({ name }) => name.endsWith('installer.exe')).browser_download_url,
'Mac OS': assets.find(({ name }) => name.endsWith('.dmg')).browser_download_url,
Linux: assets.find(({ name }) => name.endsWith('.AppImage')).browser_download_url,
Debian: assets.find(({ name }) => name.endsWith('.deb')).browser_download_url