mirror of
https://github.com/h3poteto/whalebird-desktop
synced 2024-12-08 07:02:39 +01:00
15 lines
493 B
JavaScript
15 lines
493 B
JavaScript
|
const { makeUniversalApp } = require('@electron/universal')
|
||
|
const path = require('path')
|
||
|
|
||
|
const x64AppPath = path.resolve(__dirname, './Whalebird-mas-x64/Whalebird.app')
|
||
|
const arm64AppPath = path.resolve(__dirname, './Whalebird-mas-arm64/Whalebird.app')
|
||
|
const universalAppPath = path.resolve(__dirname, './Whalebird-mas-universal/Whalebird.app')
|
||
|
|
||
|
;(async () => {
|
||
|
await makeUniversalApp({
|
||
|
x64AppPath: x64AppPath,
|
||
|
arm64AppPath: arm64AppPath,
|
||
|
outAppPath: universalAppPath
|
||
|
})
|
||
|
})()
|