2022-08-14 08:45:16 -04:00
|
|
|
// different platform has different format
|
|
|
|
|
|
|
|
// macos
|
|
|
|
const darwin = [{
|
2023-02-15 10:36:47 -05:00
|
|
|
appNameWithPrefix: 'PicList-',
|
2022-08-14 08:45:16 -04:00
|
|
|
ext: '.dmg',
|
|
|
|
arch: '-arm64',
|
|
|
|
'version-file': 'latest-mac.yml'
|
|
|
|
}, {
|
2023-02-15 10:36:47 -05:00
|
|
|
appNameWithPrefix: 'PicList-',
|
2022-08-14 08:45:16 -04:00
|
|
|
ext: '.dmg',
|
|
|
|
arch: '-x64',
|
|
|
|
'version-file': 'latest-mac.yml'
|
2023-04-05 10:55:35 -04:00
|
|
|
}, {
|
|
|
|
appNameWithPrefix: 'PicList-',
|
|
|
|
ext: '.dmg',
|
|
|
|
arch: '-universal',
|
|
|
|
'version-file': 'latest-mac.yml'
|
|
|
|
}
|
|
|
|
]
|
2022-08-14 08:45:16 -04:00
|
|
|
|
|
|
|
const linux = [{
|
2023-02-15 10:36:47 -05:00
|
|
|
appNameWithPrefix: 'PicList-',
|
2022-08-14 08:45:16 -04:00
|
|
|
ext: '.AppImage',
|
|
|
|
arch: '',
|
|
|
|
'version-file': 'latest-linux.yml'
|
|
|
|
}, {
|
2023-02-15 10:36:47 -05:00
|
|
|
appNameWithPrefix: 'piclist_',
|
2022-08-14 08:45:16 -04:00
|
|
|
ext: '.snap',
|
|
|
|
arch: '_amd64',
|
|
|
|
'version-file': 'latest-linux.yml'
|
|
|
|
}]
|
|
|
|
|
|
|
|
// windows
|
|
|
|
const win32 = [{
|
2023-02-15 10:36:47 -05:00
|
|
|
appNameWithPrefix: 'PicList-Setup-',
|
2022-08-14 08:45:16 -04:00
|
|
|
ext: '.exe',
|
|
|
|
arch: '-ia32',
|
|
|
|
'version-file': 'latest.yml'
|
|
|
|
}, {
|
2023-02-15 10:36:47 -05:00
|
|
|
appNameWithPrefix: 'PicList-Setup-',
|
2022-08-14 08:45:16 -04:00
|
|
|
ext: '.exe',
|
|
|
|
arch: '-x64',
|
|
|
|
'version-file': 'latest.yml'
|
|
|
|
}, {
|
2023-02-15 10:36:47 -05:00
|
|
|
appNameWithPrefix: 'PicList-Setup-',
|
2022-08-14 08:45:16 -04:00
|
|
|
ext: '.exe',
|
|
|
|
arch: '', // 32 & 64
|
|
|
|
'version-file': 'latest.yml'
|
|
|
|
}]
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
darwin,
|
|
|
|
linux,
|
|
|
|
win32
|
|
|
|
}
|