-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathelectrobun.config.ts
More file actions
45 lines (44 loc) · 1.13 KB
/
electrobun.config.ts
File metadata and controls
45 lines (44 loc) · 1.13 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";
export default {
app: {
identifier: "lovelesscodes.storyforge.dev",
name: "Story Forge",
version: packageJson.version,
description: "A VintageStory mod manager built with Bun and React",
urlSchemes: ["storyforge", "storyforge-dev"],
},
runtime: {
exitOnLastWindowClosed: true,
},
release: {
baseUrl: "https://github.com/StoryForgeApp/storyforge/releases/latest/download",
},
build: {
copy: {
"dist/assets": "views/mainview/assets",
"dist/index.html": "views/mainview/index.html",
},
linux: {
bundleCEF: true,
defaultRenderer: "cef",
icon: "icon.iconset/icon_512x512.png",
bundleWGPU: false,
},
mac: {
bundleCEF: false,
icons: "icon.iconset",
notarize: false,
codesign: false,
defaultRenderer: "native",
bundleWGPU: false,
},
watchIgnore: ["dist/**"],
win: {
bundleCEF: false,
icon: "assets/icon_512x512.ico",
defaultRenderer: "native",
bundleWGPU: false,
},
},
} satisfies ElectrobunConfig;