-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed program to run at system tray & bundle with nexe
- Loading branch information
Showing
4 changed files
with
1,502 additions
and
911 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,16 @@ | ||
// build.js | ||
const exe = require("@angablue/exe"); | ||
const { compile } = require("nexe"); | ||
|
||
const build = exe({ | ||
entry: "./index.js", | ||
out: "./out/StyLua-Plugin.exe", | ||
version: "1.0.0", | ||
target: "latest-win-x64", | ||
icon: "./assets/icon.ico", | ||
executionLevel: "asInvoker", | ||
properties: { | ||
compile({ | ||
input: "./index.js", | ||
output: "StyLua-Roblox.exe", | ||
build: true, | ||
verbose: true, | ||
resources: "assets/icon.ico", | ||
rc: { | ||
FileDescription: "StyLua Roblox Plugin", | ||
ProductName: "StyLua Roblox Plugin", | ||
LegalCopyright: "https://github.com/Barocena/StyLua-Roblox-Plugin", | ||
OriginalFilename: "StyLua-Plugin.exe", | ||
}, | ||
}); | ||
|
||
build.then(() => console.log("Build completed!")); | ||
}) | ||
.then(() => console.log("Build completed!")) | ||
.catch(console.error); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.