Skip to content

Commit

Permalink
Fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
Milkshiift committed Oct 30, 2024
1 parent 2ee862d commit 52f9c93
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion build/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
});
Expand Down
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@
"package.json",
"LICENSE"
],
"extraMetadata": {
"main": "ts-out/main.js"
},
"extends": null,
"linux": {
"icon": "build/icon.icns",
"category": "Network",
Expand Down

0 comments on commit 52f9c93

Please sign in to comment.