mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-27 16:37:33 +01:00
844d518684
- Add a script to generate achievement data from Steamworks API - Add achievements page with a link in sidebar - Calculate achievements (1/min) with an engine counter - Store achievements with a timestamp on unlocked in the PlayerObject - Add a script to generate monochrome icons from Steam icons - Add toast when unlocking an achievement
31 lines
694 B
Bash
Executable File
31 lines
694 B
Bash
Executable File
#!/bin/sh
|
|
|
|
mkdir -p .package/dist/src/ThirdParty || true
|
|
mkdir -p .package/src/ThirdParty || true
|
|
mkdir -p .package/node_modules || true
|
|
|
|
cp index.html .package
|
|
cp -r electron/* .package
|
|
cp -r dist/ext .package/dist
|
|
cp -r dist/icons .package/dist
|
|
|
|
# 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
|
|
|
|
# Source maps
|
|
cp dist/vendor.bundle.js.map .package/dist/vendor.bundle.js.map
|
|
cp main.bundle.js.map .package/main.bundle.js.map
|
|
|
|
# Install electron sub-dependencies
|
|
cd electron
|
|
npm install
|
|
cd ..
|
|
|
|
# And finally build the app.
|
|
npm run electron:packager
|