-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelectrobun.config.ts
More file actions
40 lines (39 loc) · 1.07 KB
/
Copy pathelectrobun.config.ts
File metadata and controls
40 lines (39 loc) · 1.07 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
import type { ElectrobunConfig } from "electrobun";
import { appConfig } from "./src/shared/appConfig";
export default {
app: {
name: appConfig.name,
identifier: appConfig.identifier,
version: appConfig.version,
},
runtime: {
exitOnLastWindowClosed: false, // keep running when all windows are closed
},
build: {
// Vite builds to dist/, we copy from there
copy: {
"dist/index.html": "views/mainview/index.html",
"dist/tray-popover.html": "views/mainview/tray-popover.html",
"dist/assets": "views/mainview/assets",
"src/resources": "views/resources",
"src/bun/libs/libMacOS.dylib":
"bun/libs/libMacOS.dylib",
"drizzle/migrations": "drizzle/migrations",
},
mac: {
bundleCEF: false,
icons: "icons/icon.iconset",
},
linux: {
bundleCEF: false,
icon: "icons/icon.png",
},
win: {
bundleCEF: false,
icon: "icons/icon.ico",
},
},
release: {
baseUrl: "https://github.com/mariodian/pincer/releases/latest/download/",
},
} satisfies ElectrobunConfig;