-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.config.ts
30 lines (28 loc) · 1 KB
/
build.config.ts
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
import { type Config } from "./scripts/build/ts/config-types"
import { resolve as path } from "path"
const BuildConfig: Config = {
devPort: 5174,
projectPath: path("./frontend/dist"),
outDir: path("./dist"),
appName: "Svelte Neutralino",
description: "An app made with Vite, Svelte and NeutralinoJS",
appBundleName: "SvelteNeutralino",
mac: {
architecture: ["universal","arm64","x64"],
appIcon: path("./build/assets/mac.icns"),
minimumOS: "10.13.0"
},
win: {
architecture: ["x64"],
appIcon: path("./build/assets/win.ico"),
// embedResources currently doesn't work and takes more space. See https://github.com/neutralinojs/neutralinojs/issues/1120
embedResources: false,
},
linux: {
architecture: ["x64","arm64","armhf"],
appIcon: path("./build/assets/linux.png"),
appPath: "/usr/share/SvelteNeutralino",
appIconPath: "/usr/share/SvelteNeutralino/icon.png"
}
}
export default BuildConfig