Move python to scripts dir

This commit is contained in:
OleSTEEP 2024-07-05 00:13:22 +03:00
parent e85110f4eb
commit a8a23150d9
6 changed files with 5 additions and 6 deletions

View file

@ -8,7 +8,6 @@ Android port of OMORI RPG game
* Get original assets from [OneLoader](https://github.com/rphsoftware/OneLoader) (`www/audio`, `www/image`, `www/movies`) * Get original assets from [OneLoader](https://github.com/rphsoftware/OneLoader) (`www/audio`, `www/image`, `www/movies`)
* Put original assets to folders * Put original assets to folders
* Run `python3 replace_special_symbols.py`
* Install cordova * Install cordova
* `cordova platform add android` * `cordova platform add android`
* `debug-run.sh` or `build-apk.sh` * `debug-run.sh` or `build-apk.sh`

View file

@ -58,8 +58,8 @@ build_variant() {
if [[ "$1" != "eng" ]]; then if [[ "$1" != "eng" ]]; then
cp -rf www.$1/* www cp -rf www.$1/* www
fi fi
python3 replace_special_symbols.py python3 scripts/replace_special_symbols.py
python3 create_listing.py python3 scripts/create_listing.py
echo "* Building $1 version..." echo "* Building $1 version..."
cordova build android --prod --release cordova build android --prod --release
mv platforms/android/app/build/outputs/apk/release/app-release.apk output/app-release-$1.apk mv platforms/android/app/build/outputs/apk/release/app-release.apk output/app-release-$1.apk

View file

@ -59,13 +59,13 @@ build_variant() {
if [[ "$1" != "eng" ]]; then if [[ "$1" != "eng" ]]; then
cp -rf www.$1/* www cp -rf www.$1/* www
fi fi
python3 replace_special_symbols.py python3 scripts/replace_special_symbols.py
python3 create_listing.py python3 scripts/create_listing.py
echo "* Building $1 version..." echo "* Building $1 version..."
cordova build android cordova build android
} }
VARIANT="eng" # eng/rus/br VARIANT="br" # eng/rus/br
build_variant $VARIANT build_variant $VARIANT