mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-09 17:23:53 +01:00
19 lines
504 B
Bash
Executable File
19 lines
504 B
Bash
Executable File
# npm install electron --save-dev
|
|
# npm install electron-packager --save-dev
|
|
|
|
mkdir -p .package/dist/src/ThirdParty || true
|
|
mkdir -p .package/src/ThirdParty || true
|
|
|
|
cp index.html .package
|
|
cp electron/* .package
|
|
# The css files
|
|
cp dist/vendor.css .package/dist
|
|
cp main.css .package/main.css
|
|
|
|
# The js files.
|
|
cp dist/vendor.bundle.js .package/dist/vendor.bundle.js
|
|
cp main.bundle.js .package/main.bundle.js
|
|
|
|
cp src/ThirdParty/raphael.min.js .package/src/ThirdParty/raphael.min.js
|
|
|
|
npm run package-electron |