mirror of
https://github.com/h3poteto/whalebird-desktop
synced 2024-12-27 09:14:44 +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
|
||
|
})
|
||
|
})()
|