-
-
Notifications
You must be signed in to change notification settings - Fork 62
/
electron-builder.config.cjs
48 lines (47 loc) · 1.43 KB
/
electron-builder.config.cjs
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
46
47
48
/**
* @type {import('electron-builder').Configuration}
* @see https://www.electron.build/configuration/configuration
*/
const config = {
appId: "io.github.jcv8000.codex",
productName: "Codex",
copyright: "CC-BY-NC-4.0",
files: [".vite/**/*", "!node_modules"],
mac: {
target: [
{ target: "dmg", arch: ["arm64", "x64"] },
{ target: "zip", arch: ["arm64", "x64"] }
],
icon: "./assets/icon.icns",
extendInfo: {
CFBundleDisplayName: "Codex"
},
category: "public.app-category.productivity",
notarize: {
teamId: process.env.APPLE_TEAM_ID || ""
}
},
win: {
target: ["nsis", "zip"],
icon: "./assets/icon.ico",
signingHashAlgorithms: ["sha256", "sha1"],
signAndEditExecutable: true,
publisherName: "Joshua Vickery"
},
nsis: {
oneClick: false,
allowToChangeInstallationDirectory: true,
shortcutName: "Codex"
},
linux: {
target: ["deb", "tar.xz"],
icon: "./assets/icon.icns",
vendor: "Joshua Vickery",
category: "Education",
executableName: "Codex",
description:
"A free, simple, and customizable note-taking software for programmers and Computer Science students. Made by Joshua Vickery",
synopsis: "Note-taking program for programmers or CS students"
}
};
module.exports = config;