forked from hearhellacopters/tablo2plex
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.win.js
More file actions
24 lines (21 loc) · 687 Bytes
/
Copy pathbuild.win.js
File metadata and controls
24 lines (21 loc) · 687 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
/**
* @file for creating an executable .exe file for windows.
*/
const exe = require("@hearhellacopters/exe");
const pak = require('./package.json');
const build = exe({
entry: "./app.js",
out: "./tablo2plex-win-x64.exe",
pkg: ["-C", "GZip"], // Specify extra pkg arguments
version: pak.version,
target: "node24-win-x64",
icon: "./app.ico", // Application icons must be same size as prebuild target
//executionLevel: "highestAvailable",
properties:{
FileDescription: pak.description,
ProductName: pak.name,
OriginalFilename: pak.name + ".exe",
LegalCopyright: "MIT"
}
});
build.then(() => console.log("Windows build completed!"));