-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelectrobun.config.ts
More file actions
45 lines (43 loc) · 1.05 KB
/
Copy pathelectrobun.config.ts
File metadata and controls
45 lines (43 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import type { ElectrobunConfig } from "electrobun";
import packageJson from "./package.json" with { type: "json" };
const isStableBuild = process.argv.some((arg) => arg === "--env=stable" || arg.startsWith("--env=stable"));
export default {
app: {
name: "MarketingMonitor",
identifier: "com.bilalbayram.marketingmonitor",
version: packageJson.version,
},
build: {
bun: {
entrypoint: "src/bun/index.ts",
},
views: {
mainview: {
entrypoint: "src/mainview/index.ts",
},
},
copy: {
"src/mainview/index.html": "views/mainview/index.html",
"src/mainview/index.css": "views/mainview/index.css",
"src/mainview/orb.png": "views/mainview/orb.png",
},
mac: {
icons: "icon.iconset",
codesign: isStableBuild,
notarize: isStableBuild,
bundleCEF: false,
},
linux: {
bundleCEF: false,
},
win: {
bundleCEF: false,
},
},
release: {
baseUrl: "https://github.com/bilalbayram/MarketingMonitor/releases/latest/download",
},
scripts: {
preBuild: "scripts/electrobun-prebuild.ts",
},
} satisfies ElectrobunConfig;