mirror of
https://github.com/aaif-goose/goose.git
synced 2026-07-03 14:10:03 +02:00
fix: update Debian desktop build process (#2070)
This commit is contained in:
+11
-11
@@ -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: [
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"start:test-error": "GOOSE_TEST_ERROR=true electron-forge start",
|
||||
"package": "electron-forge package",
|
||||
"make": "electron-forge make",
|
||||
"bundle:default": "npm run make && cd out/Goose-darwin-arm64 && ditto -c -k --sequesterRsrc --keepParent Goose.app Goose.zip",
|
||||
"bundle:default": "npm run make && (cd out/Goose-darwin-arm64 && ditto -c -k --sequesterRsrc --keepParent Goose.app Goose.zip) || echo 'out/Goose-darwin-arm64 not found; either the binary is not built or you are not on macOS'",
|
||||
"bundle:windows": "node scripts/build-main.js && node scripts/prepare-platform.js && npm run make -- --platform=win32 --arch=x64 && node scripts/copy-windows-dlls.js",
|
||||
"bundle:intel": "npm run make -- --arch=x64 && cd out/Goose-darwin-x64 && ditto -c -k --sequesterRsrc --keepParent Goose.app Goose_intel_mac.zip",
|
||||
"debug": "echo 'run --remote-debugging-port=8315' && lldb out/Goose-darwin-arm64/Goose.app",
|
||||
|
||||
Reference in New Issue
Block a user