From 52f9c93d93f88ab3e94c84518ca8e10b4b71f03e Mon Sep 17 00:00:00 2001 From: Milkshiift <99212308+Milkshiift@users.noreply.github.com> Date: Wed, 30 Oct 2024 18:27:51 +0200 Subject: [PATCH] Fix windows build --- build/build.ts | 2 +- package.json | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/build/build.ts b/build/build.ts index 83cea93..7700635 100644 --- a/build/build.ts +++ b/build/build.ts @@ -23,7 +23,7 @@ const bundleResult = await Bun.build({ external: ["electron"], target: "node", splitting: true, - entrypoints: await searchPreloadFiles("src", ["src/main.ts"]), + entrypoints: await searchPreloadFiles("src", [path.join("src", "main.ts")]), outdir: "ts-out", packages: "bundle", }); diff --git a/package.json b/package.json index 9f57944..c992453 100755 --- a/package.json +++ b/package.json @@ -60,10 +60,6 @@ "package.json", "LICENSE" ], - "extraMetadata": { - "main": "ts-out/main.js" - }, - "extends": null, "linux": { "icon": "build/icon.icns", "category": "Network",