mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-24 03:11:03 +00:00
migrate postinstall from py to js
This commit is contained in:
9
postinstall.js
Normal file
9
postinstall.js
Normal file
@@ -0,0 +1,9 @@
|
||||
const fs = require("fs")
|
||||
|
||||
if (process.platform === "win32"){
|
||||
if (!fs.existsSync("resources/dist")) {
|
||||
fs.mkdirSync("resources/dist")
|
||||
}
|
||||
|
||||
fs.copyFileSync("node_modules/ps-list/vendor/fastlist-0.3.0-x64.exe", "resources/dist/fastlist.exe")
|
||||
}
|
||||
Reference in New Issue
Block a user