mirror of
https://github.com/tutao/tutanota.git
synced 2025-12-08 06:09:50 +00:00
[build] fix mac desktop build
This commit is contained in:
parent
c6d5f96f15
commit
1c3b1ae936
1 changed files with 2 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ import util from 'util'
|
|||
import typescript from "@rollup/plugin-typescript"
|
||||
import {keytarNativePlugin, sqliteNativeBannerPlugin} from "./nativeLibraryRollupPlugin.js"
|
||||
import {fileURLToPath} from "url"
|
||||
import {getCanonicalPlatformName} from "./buildUtils"
|
||||
|
||||
const exec = util.promisify(cp.exec)
|
||||
const buildSrc = dirname(fileURLToPath(import.meta.url))
|
||||
|
|
@ -125,6 +126,7 @@ export async function buildDesktop(
|
|||
}
|
||||
|
||||
async function rollupDesktop(dirname, outDir, version, platform, disableMinify) {
|
||||
platform = getCanonicalPlatformName(platform)
|
||||
const mainBundle = await rollup({
|
||||
input: path.join(dirname, "src/desktop/DesktopMain.ts"),
|
||||
preserveEntrySignatures: false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue