mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-01-23 14:48:13 -05:00
efeadb8fb8
First version of PicList. In album, you can delete remote file now. Add picBed management function.
51 lines
913 B
JavaScript
51 lines
913 B
JavaScript
// different platform has different format
|
|
|
|
// macos
|
|
const darwin = [{
|
|
appNameWithPrefix: 'PicList-',
|
|
ext: '.dmg',
|
|
arch: '-arm64',
|
|
'version-file': 'latest-mac.yml'
|
|
}, {
|
|
appNameWithPrefix: 'PicList-',
|
|
ext: '.dmg',
|
|
arch: '-x64',
|
|
'version-file': 'latest-mac.yml'
|
|
}]
|
|
|
|
const linux = [{
|
|
appNameWithPrefix: 'PicList-',
|
|
ext: '.AppImage',
|
|
arch: '',
|
|
'version-file': 'latest-linux.yml'
|
|
}, {
|
|
appNameWithPrefix: 'piclist_',
|
|
ext: '.snap',
|
|
arch: '_amd64',
|
|
'version-file': 'latest-linux.yml'
|
|
}]
|
|
|
|
// windows
|
|
const win32 = [{
|
|
appNameWithPrefix: 'PicList-Setup-',
|
|
ext: '.exe',
|
|
arch: '-ia32',
|
|
'version-file': 'latest.yml'
|
|
}, {
|
|
appNameWithPrefix: 'PicList-Setup-',
|
|
ext: '.exe',
|
|
arch: '-x64',
|
|
'version-file': 'latest.yml'
|
|
}, {
|
|
appNameWithPrefix: 'PicList-Setup-',
|
|
ext: '.exe',
|
|
arch: '', // 32 & 64
|
|
'version-file': 'latest.yml'
|
|
}]
|
|
|
|
module.exports = {
|
|
darwin,
|
|
linux,
|
|
win32
|
|
}
|