mirror of
https://github.com/stablyai/orca.git
synced 2026-10-02 00:02:05 +00:00
fix(linux): keep local package targets aligned
This commit is contained in:
@@ -32,6 +32,7 @@ export function buildLinuxElectronBuilderArgs(arch, extraArgs = []) {
|
||||
'--linux',
|
||||
'AppImage',
|
||||
'deb',
|
||||
'rpm',
|
||||
`--${arch}`,
|
||||
...extraArgs
|
||||
]
|
||||
|
||||
@@ -57,6 +57,10 @@ describe('local Linux build target', () => {
|
||||
})
|
||||
)
|
||||
|
||||
expect(buildLinuxElectronBuilderArgs('x64')).toEqual(
|
||||
expect.arrayContaining(['--linux', 'AppImage', 'deb', 'rpm', '--x64'])
|
||||
)
|
||||
|
||||
runLocalLinuxBuild({
|
||||
arch: 'x64',
|
||||
environment: { PATH: '/bin', ORCA_LINUX_ARM64_RELEASE: '1' },
|
||||
|
||||
Reference in New Issue
Block a user