[UPD] mobile rename repo for erplibre_home_mobile

This commit is contained in:
Mathieu Benoit 2025-12-28 00:37:45 -05:00
parent 595ebb2f51
commit a2155facc6
5 changed files with 8 additions and 10 deletions

2
.gitignore vendored
View file

@ -49,4 +49,4 @@ screenshots
screencasts
private/todo/todo_override_private.json
.erplibre.error.txt
/mobile/technolibre_home_mobile/
/mobile/erplibre_home_mobile/

View file

@ -4,7 +4,7 @@
<project
name="technolibre_home_mobile.git"
path="mobile/technolibre_home_mobile"
path="mobile/erplibre_home_mobile"
remote="TechnoLibre"
revision="main"
groups="mobile"

View file

@ -1,16 +1,11 @@
#!/usr/bin/env bash
if [[ ! -d "./mobile/technolibre_home_mobile" ]]; then
if [[ ! -d "./mobile/erplibre_home_mobile" ]]; then
echo "Please, run installation ./mobile/install_mobile_dev.sh before run this script ./mobile/compile_and_run.sh"
exit 1
fi
if [[ ! -d "./mobile/technolibre_home_mobile/technolibre_home" ]]; then
echo "Please, check repo is working."
exit 1
fi
cd mobile/technolibre_home_mobile/technolibre_home
cd mobile/erplibre_home_mobile
npm install
npm run build && npx cap sync

View file

@ -31,6 +31,9 @@ sshconf
cloudflare
psutil
# For mobile
pillow
# Force upgrade package to fix Ubuntu 25.04
virtualenv==20.30.0

View file

@ -33,7 +33,7 @@ ENABLE_CRASH = False
CRASH_E = None
# Support mobile ERPLibre
ANDROID_DIR = "android"
MOBILE_HOME_PATH = "./mobile/technolibre_home_mobile/technolibre_home"
MOBILE_HOME_PATH = "./mobile/erplibre_home_mobile"
STRINGS_FILE = os.path.join(
MOBILE_HOME_PATH, ANDROID_DIR, "app/src/main/res/values/strings.xml"
)