From 1454cf71fb0f0e62c85c3a724b76e99496071d83 Mon Sep 17 00:00:00 2001 From: cheveguerra Date: Mon, 11 Sep 2023 22:07:49 -0600 Subject: [PATCH 1/5] 11/9/23 - Cambio de ligas de Github. --- B4A/Intmex-Promotoria.b4a | 2 +- B4XMainPage.bas | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/B4A/Intmex-Promotoria.b4a b/B4A/Intmex-Promotoria.b4a index 6ec9aed..b2f2b61 100644 --- a/B4A/Intmex-Promotoria.b4a +++ b/B4A/Intmex-Promotoria.b4a @@ -56,7 +56,7 @@ Module8=Tracker NumberOfFiles=12 NumberOfLibraries=20 NumberOfModules=8 -Version=11.5 +Version=12.2 @EndOfDesignText@ #Region Project Attributes #AdditionalJar: com.android.support:support-v4 diff --git a/B4XMainPage.bas b/B4XMainPage.bas index a4a66ea..c7ed66a 100644 --- a/B4XMainPage.bas +++ b/B4XMainPage.bas @@ -9,12 +9,13 @@ Version=9.85 'Ctrl + click to sync files: ide://run?file=%WINDIR%\System32\Robocopy.exe&args=..\..\Shared+Files&args=..\Files&FilesSync=True '########################################################################################################### '###################### PULL ############################################################# -'Ctrl + click ide://run?file=%WINDIR%\System32\cmd.exe&Args=/c&Args=..\..\gitpull.bat +'Ctrl + click ide://run?file=%WINDIR%\System32\cmd.exe&Args=/c&Args=git&Args=pull '########################################################################################################### '###################### PUSH ############################################################# -'Ctrl + click ide://run?file=%WINDIR%\System32\cmd.exe&Args=/c&Args=github&Args=..\..\ +'Ctrl + click ide://run?file=%WINDIR%\System32\WindowsPowerShell\v1.0\powershell.exe&Args=github&Args=..\..\ '########################################################################################################### #End Region +'Ctrl + click ide://run?file=%WINDIR%\System32\cmd.exe&Args=/c&Args=github&Args=..\..\ 'Ctrl + click to export as zip: ide://run?File=%B4X%\Zipper.jar&Args=Project.zip From 2f39635413b8726d7fc805d9e59ffe06ff57f894 Mon Sep 17 00:00:00 2001 From: cheveguerra Date: Tue, 12 Sep 2023 01:45:24 -0600 Subject: [PATCH 2/5] .. --- B4A/Subs.bas | 7 +++++++ B4XMainPage.bas | 1 - 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/B4A/Subs.bas b/B4A/Subs.bas index 0c53795..7578f49 100644 --- a/B4A/Subs.bas +++ b/B4A/Subs.bas @@ -23,4 +23,11 @@ Sub revisaBD 'ignore ' Starter.skmt.ExecNonQuery("DROP TABLE IF EXISTS CUENTAA") ' Starter.skmt.ExecNonQuery("DROP TABLE IF EXISTS HIST_PREGUNTAS") ' Starter.skmt.ExecNonQuery("DROP TABLE IF EXISTS CARGA") +End Sub + +'Guarda la empresa y version de la app en CAT_VARIABLES. +Sub guardaAppInfo(skmt As SQL) 'ignore + skmt.ExecNonQuery("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'EMPRESA' or CAT_VA_DESCRIPCION = 'APP_NAME' or CAT_VA_DESCRIPCION = 'APP_VERSION'") + skmt.ExecNonQuery($"insert into CAT_VARIABLES (CAT_VA_DESCRIPCION, CAT_VA_VALOR) values ('APP_NAME', '${Application.LabelName}')"$) + skmt.ExecNonQuery($"insert into CAT_VARIABLES (CAT_VA_DESCRIPCION, CAT_VA_VALOR) values ('APP_VERSION', '${Application.VersionName}')"$) End Sub \ No newline at end of file diff --git a/B4XMainPage.bas b/B4XMainPage.bas index c7ed66a..f8591a4 100644 --- a/B4XMainPage.bas +++ b/B4XMainPage.bas @@ -65,7 +65,6 @@ Private Sub B4XPage_Created (Root1 As B4XView) ToastMessageShow("Sin permisos para GPS", True) End If Log(Result) - ' Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_READ_EXTERNAL_STORAGE) ' Wait For B4XPage_PermissionResult (Permission As String, Result As Boolean) ' If Result Then From 87e355e39fd205905de76d72e61640f47cb7fd33 Mon Sep 17 00:00:00 2001 From: cheveguerra Date: Wed, 20 Sep 2023 02:00:06 -0600 Subject: [PATCH 3/5] Agregamos meta --- .gitignore | 3 +-- B4A/Intmex-Promotoria.b4a.meta | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 B4A/Intmex-Promotoria.b4a.meta diff --git a/.gitignore b/.gitignore index 618d244..af94e9d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ **/Objects -**/AutoBackups -*.meta \ No newline at end of file +**/AutoBackups \ No newline at end of file diff --git a/B4A/Intmex-Promotoria.b4a.meta b/B4A/Intmex-Promotoria.b4a.meta new file mode 100644 index 0000000..fbf95b1 --- /dev/null +++ b/B4A/Intmex-Promotoria.b4a.meta @@ -0,0 +1,30 @@ +ModuleBookmarks0= +ModuleBookmarks1= +ModuleBookmarks2= +ModuleBookmarks3= +ModuleBookmarks4= +ModuleBookmarks5= +ModuleBookmarks6= +ModuleBookmarks7= +ModuleBookmarks8= +ModuleBreakpoints0= +ModuleBreakpoints1= +ModuleBreakpoints2= +ModuleBreakpoints3= +ModuleBreakpoints4= +ModuleBreakpoints5= +ModuleBreakpoints6= +ModuleBreakpoints7= +ModuleBreakpoints8= +ModuleClosedNodes0= +ModuleClosedNodes1= +ModuleClosedNodes2= +ModuleClosedNodes3= +ModuleClosedNodes4= +ModuleClosedNodes5= +ModuleClosedNodes6= +ModuleClosedNodes7= +ModuleClosedNodes8= +NavigationStack=C_principal,Class_Globals,0,0,C_cliente,GPS_LocationChanged,141,0,C_principal,b_carga_Click,64,0,C_principal,p_datosclie_Click,162,0,C_cliente,Class_Globals,0,0,C_cliente,B4XPage_Created,110,0,B4XMainPage,Class_Globals,28,0,Subs,guardaAppInfo,26,1,Subs,revisaBD,21,0,B4XMainPage,B4XPage_Created,60,4 +SelectedBuild=0 +VisibleModules=6,1,3,2,7,5,4,8 From ab2b42c93718b9dc042f6f2826f52e14356b38da Mon Sep 17 00:00:00 2001 From: cheveguerra Date: Wed, 20 Sep 2023 03:20:58 -0600 Subject: [PATCH 4/5] v --- B4A/Intmex-Promotoria.b4a | 2 +- B4XMainPage.bas | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/B4A/Intmex-Promotoria.b4a b/B4A/Intmex-Promotoria.b4a index b2f2b61..80a76dd 100644 --- a/B4A/Intmex-Promotoria.b4a +++ b/B4A/Intmex-Promotoria.b4a @@ -56,7 +56,7 @@ Module8=Tracker NumberOfFiles=12 NumberOfLibraries=20 NumberOfModules=8 -Version=12.2 +Version=12.5 @EndOfDesignText@ #Region Project Attributes #AdditionalJar: com.android.support:support-v4 diff --git a/B4XMainPage.bas b/B4XMainPage.bas index f8591a4..4f98cf7 100644 --- a/B4XMainPage.bas +++ b/B4XMainPage.bas @@ -14,6 +14,9 @@ Version=9.85 '###################### PUSH ############################################################# 'Ctrl + click ide://run?file=%WINDIR%\System32\WindowsPowerShell\v1.0\powershell.exe&Args=github&Args=..\..\ '########################################################################################################### +'###################### PUSH TORTOISE GIT ######################################################### +'Ctrl + click ide://run?file=%WINDIR%\System32\WindowsPowerShell\v1.0\powershell.exe&Args=TortoiseGitProc&Args=/command:commit&Args=/path:"./../" +'########################################################################################################### #End Region 'Ctrl + click ide://run?file=%WINDIR%\System32\cmd.exe&Args=/c&Args=github&Args=..\..\ From 846b108510754c1e704763a861aa4b7cdbadd4b6 Mon Sep 17 00:00:00 2001 From: cheveguerra Date: Sun, 24 Sep 2023 03:03:43 -0600 Subject: [PATCH 5/5] Ligas de Github. --- B4XMainPage.bas | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/B4XMainPage.bas b/B4XMainPage.bas index 4f98cf7..ebd20f9 100644 --- a/B4XMainPage.bas +++ b/B4XMainPage.bas @@ -5,20 +5,19 @@ Type=Class Version=9.85 @EndOfDesignText@ #Region Shared Files -'#CustomBuildAction: folders ready, %WINDIR%\System32\Robocopy.exe,"..\..\Shared Files" "..\Files" -'Ctrl + click to sync files: ide://run?file=%WINDIR%\System32\Robocopy.exe&args=..\..\Shared+Files&args=..\Files&FilesSync=True -'########################################################################################################### -'###################### PULL ############################################################# -'Ctrl + click ide://run?file=%WINDIR%\System32\cmd.exe&Args=/c&Args=git&Args=pull -'########################################################################################################### -'###################### PUSH ############################################################# -'Ctrl + click ide://run?file=%WINDIR%\System32\WindowsPowerShell\v1.0\powershell.exe&Args=github&Args=..\..\ -'########################################################################################################### -'###################### PUSH TORTOISE GIT ######################################################### -'Ctrl + click ide://run?file=%WINDIR%\System32\WindowsPowerShell\v1.0\powershell.exe&Args=TortoiseGitProc&Args=/command:commit&Args=/path:"./../" -'########################################################################################################### +#CustomBuildAction: folders ready, %WINDIR%\System32\Robocopy.exe,"..\..\Shared Files" "..\Files" + 'Ctrl + click to sync files: ide://run?file=%WINDIR%\System32\Robocopy.exe&args=..\..\Shared+Files&args=..\Files&FilesSync=True + '########################################################################################################### + '###################### PULL ############################################################# + 'Ctrl + click ide://run?file=%WINDIR%\System32\cmd.exe&Args=/c&Args=git&Args=pull + '########################################################################################################### + '###################### PUSH ############################################################# + 'Ctrl + click ide://run?file=%WINDIR%\System32\WindowsPowerShell\v1.0\powershell.exe&Args=github&Args=..\..\ + '########################################################################################################### + '###################### PUSH TORTOISE GIT ######################################################### + 'Ctrl + click ide://run?file=%WINDIR%\System32\WindowsPowerShell\v1.0\powershell.exe&Args=TortoiseGitProc&Args=/command:commit&Args=/path:"./../../"&Args=/closeonend:2 + '########################################################################################################### #End Region -'Ctrl + click ide://run?file=%WINDIR%\System32\cmd.exe&Args=/c&Args=github&Args=..\..\ 'Ctrl + click to export as zip: ide://run?File=%B4X%\Zipper.jar&Args=Project.zip