fix: update Debian desktop build process (#2070)

This commit is contained in:
Best Codes
2025-04-14 11:30:44 -05:00
committed by GitHub
parent ce3620eb0f
commit 46b761079b
2 changed files with 12 additions and 12 deletions
+11 -11
View File
@@ -34,12 +34,6 @@ let cfg = {
appleIdPassword: process.env['APPLE_ID_PASSWORD'],
teamId: process.env['APPLE_TEAM_ID']
},
protocols: [
{
name: "GooseProtocol", // The macOS CFBundleURLName
schemes: ["goose"] // The macOS CFBundleURLSchemes array
}
]
}
if (process.env['APPLE_ID'] === undefined) {
@@ -55,19 +49,25 @@ module.exports = {
name: '@electron-forge/maker-zip',
platforms: ['darwin', 'win32'],
config: {
arch: process.env.ELECTRON_ARCH === 'x64' ? ['x64'] : ['arm64'],
options: {
icon: 'src/images/icon.ico'
arch: process.env.ELECTRON_ARCH === 'x64' ? ['x64'] : ['arm64'],
options: {
icon: 'src/images/icon.ico'
}
}
},
{
name: '@electron-forge/maker-deb',
config: {},
config: {
name: 'Goose',
bin: 'Goose'
},
},
{
name: '@electron-forge/maker-rpm',
config: {},
config: {
name: 'Goose',
bin: 'Goose'
},
},
],
plugins: [