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",