1
0

Fix naming consistency in JS, script files
All checks were successful
Build and test project / build-and-test (push) Successful in 1m28s

- JavaScript exports have been simplified and renamed
- Certain scripts now reference DIST and SRC folders
- Software URLs are now loaded via the JSON file
This commit is contained in:
2026-03-19 18:11:49 +01:00
parent dfcc305b50
commit 7aef8d8ed3
15 changed files with 102 additions and 650 deletions

View File

@@ -2,16 +2,18 @@
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
WEB_DIR="$SCRIPT_DIR/web"
SRC_DIR="$WEB_DIR/src"
DIST_DIR="$WEB_DIR/dist"
WASM_DIR="$SCRIPT_DIR/kobopatch-wasm"
DIST_DIR="$SCRIPT_DIR/web/dist"
if [ ! -f "$DIST_DIR/nickelmenu/NickelMenu.zip" ]; then
if [ ! -f "$SRC_DIR/nickelmenu/NickelMenu.zip" ]; then
echo "NickelMenu assets not found, downloading..."
"$SCRIPT_DIR/nickelmenu/setup.sh"
fi
echo "Building JS bundle..."
cd "$SCRIPT_DIR/web"
cd "$WEB_DIR"
npm install --silent
npm run build