This commit is contained in:
ammarahm-ed
2022-09-22 14:34:05 +05:00
3 changed files with 361 additions and 271 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -38,7 +38,7 @@
"appId": "com.streetwriters.notesnook",
"productName": "Notesnook",
"copyright": "Copyright © 2022 Streetwriters (Private) Ltd.",
"artifactName": "notesnook_${arch}.${ext}",
"artifactName": "notesnook_${os}_${arch}.${ext}",
"files": [
"!*.chunk.js.map",
"!*.chunk.js.LICENSE.txt",
@@ -116,6 +116,9 @@
],
"icon": "assets/icons/app.ico"
},
"portable": {
"artifactName": "notesnook_${os}_${arch}_portable.${ext}"
},
"nsis": {
"oneClick": true,
"createDesktopShortcut": "always"

View File

@@ -77,33 +77,37 @@ export function getDownloadLink(platform) {
return [
{
type: "Download .dmg (x64)",
link: `${baseurl}/notesnook_x64.dmg`
link: `${baseurl}/notesnook_mac_x64.dmg`
},
{
type: "Download .dmg (arm64)",
link: `${baseurl}/notesnook_arm64.dmg`
link: `${baseurl}/notesnook_mac_arm64.dmg`
}
];
case "Windows":
return [
{
type: "Download .exe (x64)",
link: `${baseurl}/notesnook_x64.exe`
link: `${baseurl}/notesnook_win_x64.exe`
},
{
type: "Download portable .exe (x64)",
link: `${baseurl}/notesnook_win_x64_portable.exe`
}
];
case "Linux":
return [
{
type: "Download .AppImage",
link: `${baseurl}/notesnook_x86_64.AppImage`
link: `${baseurl}/notesnook_linux_x86_64.AppImage`
},
{
type: "Download .deb",
link: `${baseurl}/notesnook_amd64.deb`
link: `${baseurl}/notesnook_linux_amd64.deb`
},
{
type: "Download .rpm",
link: `${baseurl}/notesnook_x86_64.rpm`
link: `${baseurl}/notesnook_linux_x86_64.rpm`
}
];
default: