[UPD] todo mobile support change context name and fix first page image
This commit is contained in:
parent
a2155facc6
commit
8f297f148d
1 changed files with 21 additions and 1 deletions
|
|
@ -1208,10 +1208,14 @@ class TODO:
|
|||
default_project_url_name = dotenv.get_key(
|
||||
dotenv_file, "VITE_WEBSITE_URL"
|
||||
)
|
||||
default_project_note_subject = dotenv.get_key(
|
||||
dotenv_file, "VITE_LABEL_NOTE"
|
||||
)
|
||||
|
||||
default_debug = False
|
||||
project_name = default_project_name
|
||||
project_url_name = default_project_url_name
|
||||
project_principal_subject = default_project_note_subject
|
||||
package_name = default_package_name
|
||||
do_debug = default_debug
|
||||
do_change_picture_menu = False
|
||||
|
|
@ -1234,10 +1238,16 @@ class TODO:
|
|||
)
|
||||
project_url_name = (
|
||||
input(
|
||||
f"Your project url website, default {default_project_url_name} : "
|
||||
f'Your project url website, default "{default_project_url_name}" : '
|
||||
).strip()
|
||||
or default_project_url_name
|
||||
)
|
||||
project_principal_subject = (
|
||||
input(
|
||||
f'Your project subject, default "{default_project_note_subject}" : '
|
||||
).strip()
|
||||
or default_project_note_subject
|
||||
)
|
||||
do_debug = (
|
||||
input("Compilation with debug information, default No (Y) : ")
|
||||
.strip()
|
||||
|
|
@ -1269,6 +1279,12 @@ class TODO:
|
|||
project_url_name,
|
||||
quote_mode="always",
|
||||
)
|
||||
dotenv.set_key(
|
||||
dotenv_file,
|
||||
"VITE_LABEL_NOTE",
|
||||
project_principal_subject,
|
||||
quote_mode="always",
|
||||
)
|
||||
dotenv.set_key(
|
||||
dotenv_file,
|
||||
"VITE_DEBUG_DEV",
|
||||
|
|
@ -1288,6 +1304,10 @@ class TODO:
|
|||
input(
|
||||
"Did you finish to update image with Android-Studio ? Press to continue ..."
|
||||
)
|
||||
cmd_client = "cp ./mobile/erplibre_home_mobile/android/app/src/main/ic_launcher-playstore.png ./mobile/erplibre_home_mobile/src/assets/company_logo.png"
|
||||
self.executer_commande_live(cmd_client, source_erplibre=False)
|
||||
cmd_client = "cp ./mobile/erplibre_home_mobile/android/app/src/main/ic_launcher-playstore.png ./mobile/erplibre_home_mobile/src/assets/imgs/logo.png"
|
||||
self.executer_commande_live(cmd_client, source_erplibre=False)
|
||||
|
||||
status = self.executer_commande_live(
|
||||
"./mobile/compile_and_run.sh", source_erplibre=False
|
||||
|
|
|
|||
Loading…
Reference in a new issue