mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
migrate postinstall from py to js
This commit is contained in:
parent
3b26d9ffdc
commit
bf218e9ce6
4 changed files with 11 additions and 10 deletions
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")
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue