File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,6 @@ def __init__(self):
77
88 self .criardiretorio (self .diretorioarcom )
99
10- self .javapathsearch = r'"C:\Program Files (x86)\Java\*\bin\java.exe"'
11-
1210 self .chocolateypath = r"c:\ProgramData\chocolatey\choco.exe"
1311
1412 self .filestringspark = """passwordSaved=true
Original file line number Diff line number Diff line change @@ -24,8 +24,7 @@ def thread_configurar(self):
2424 self .download_file_from_google_drive (file_id , destination )
2525 self .reportar ("Download finalizado" )
2626 self .reportar ("Executando instalação do Caixa" )
27- self .javapath = glob .glob (self .javapathsearch , recursive = True )[0 ]
28- self .executar (self .javapath + ' -jar ' + self .diretorioarcom + "\\ Setup.jar" )
27+ self .executar ('java -jar ' + self .diretorioarcom + "\\ Setup.jar" )
2928 self .executar ('move ' + self .userdesktop +
3029 '\\ Caixa.lnk ' + self .allusersdesktop )
3130
You can’t perform that action at this time.
0 commit comments