mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-19 04:35:46 +01:00
41451280ab
`npm run build` now generates a .app folder with the minimal run files `npm run electron` now uses the .app contents as a base deploy-dev.yml should upload just the .app folder after building (not tested yet)
14 lines
258 B
Bash
14 lines
258 B
Bash
#!/bin/bash
|
|
|
|
# builds the game in the root folder
|
|
webpack --mode production
|
|
|
|
# Clear out any files remaining from old builds and recreate folder
|
|
rm -rf .app
|
|
mkdir .app
|
|
|
|
# Should be all the files needed.
|
|
cp index.html .app
|
|
cp favicon.ico .app
|
|
cp -r dist .app
|