-
Notifications
You must be signed in to change notification settings - Fork 4
/
builder.config.js
41 lines (39 loc) · 997 Bytes
/
builder.config.js
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
/**
* Electron Builder Config.
*/
/**
* @type {import('electron-builder').Configuration}
* @see https://www.electron.build/configuration/configuration
*/
const config = {
appId: "sbondCo.Casterr",
productName: "Casterr",
copyright: "Copyright © 2022 sbondCo",
linux: {
// Not using compression since it makes the AppImage open so much slower. Worth the extra size for some of your life back.
target: ["AppImage"],
icon: "assets/icons",
category: "Utility",
synopsis: "Screen recorder",
description: "Easy screen recording and sharing"
},
win: {
target: "NSIS",
artifactName: "${productName} ${version} Setup.${ext}",
icon: "assets/icons/256x256.ico",
compression: "maximum"
},
files: ["./dist/vi/**", "./entry/out/**"],
extraFiles: [
{
from: "./assets",
to: "./assets",
filter: ["**/*"]
}
],
directories: {
output: "./dist/eb",
buildResources: "buildResources"
}
};
module.exports = config;