masscode: auto updated to 4.0.1-1

It has been built because:
* nvchecker detects the following updates: aur(0): 3.12.1-1 -> 4.0.1-1
This commit is contained in:
Lilac 2025-09-29 15:02:34 +00:00
parent ee379d7b51
commit a7d05da9ed
2 changed files with 42 additions and 17 deletions

21
repo/masscode/masscode.sh Executable file
View file

@ -0,0 +1,21 @@
#!/bin/bash
# Usage:
# ./start.sh
# Later you can replace __ROOT_DIR__ and __ELECTRON__ using sed
root_dir="__ROOT_DIR__"
electron_bin="__ELECTRON__"
# Make sure app.asar exists
if [ ! -f "$root_dir/app/app.asar" ]; then
echo "Error: app.asar not found under $root_dir/app"
exit 1
fi
# Tell electron-updater: this is running inside AppImage
export APPIMAGE=1
# Run
echo "Starting Electron app (root directory = $root_dir)"
ELECTRON_FORCE_IS_PACKAGED=true "$electron_bin" "$root_dir/app/app.asar" --no-sandbox "$@"