-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathelectron-builder.config.cjs
More file actions
35 lines (33 loc) · 852 Bytes
/
electron-builder.config.cjs
File metadata and controls
35 lines (33 loc) · 852 Bytes
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
/* eslint-disable @typescript-eslint/no-require-imports */
const { ossign } = require("@ossign/electronbuilder");
/**
* @type {import('electron-builder').Configuration}
*/
module.exports = {
appId: "com.sevenc-nanashi.kiitecafe-desktop",
productName: "Kiite Cafe Desktop",
copyright: "2022 © Nanashi. <@sevenc-nanashi>",
icon: "build/icon.png",
directories: {
output: "dist-electron",
},
files: ["dist/**/*"],
mac: {
category: "public.app-category.social-networking",
target: ["dmg", "zip"],
icon: "public/mac-icon.png",
},
win: {
target: ["nsis", "portable"],
icon: "public/icon.ico",
sign: process.env.OSSIGN_CONFIG ? ossign : undefined,
},
nsis: {
oneClick: false,
allowToChangeInstallationDirectory: true,
},
linux: {
target: "AppImage",
icon: "public/icon.png",
},
};