new client electron

This commit is contained in:
Kenta420 2024-01-11 15:40:18 +07:00
parent 3698e6e3c0
commit 4e6e616015
26 changed files with 12537 additions and 0 deletions

View file

@ -0,0 +1,36 @@
/**
* @see https://www.electron.build/configuration/configuration
*/
{
$schema: 'https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json',
appId: 'com.forthvending.manager',
asar: true,
productName: 'taobin-recipe-manager',
directories: {
output: 'release/${version}'
},
files: ['dist', 'dist-electron'],
mac: {
target: ['dmg'],
artifactName: '${productName}-Mac-${version}-Installer.${ext}'
},
win: {
target: [
{
target: 'nsis',
arch: ['x64']
}
],
artifactName: '${productName}-Windows-${version}-Setup.${ext}'
},
nsis: {
oneClick: false,
perMachine: false,
allowToChangeInstallationDirectory: true,
deleteAppDataOnUninstall: false
},
linux: {
target: ['AppImage'],
artifactName: '${productName}-Linux-${version}.${ext}'
}
}