bitburner-src/package.sh

19 lines
504 B
Bash
Raw Normal View History

2021-09-15 18:22:36 +02:00
# npm install electron --save-dev
# npm install electron-packager --save-dev
2021-09-21 04:30:11 +02:00
mkdir -p .package/dist/src/ThirdParty || true
mkdir -p .package/src/ThirdParty || true
2021-09-15 18:22:36 +02:00
cp index.html .package
cp electron/* .package
2021-09-21 04:30:11 +02:00
# The css files
2021-09-15 18:22:36 +02:00
cp dist/vendor.css .package/dist
2021-09-21 04:30:11 +02:00
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
2021-09-15 18:22:36 +02:00
npm run package-electron