Skip to content

Commit 08e84a3

Browse files
committed
Revertido para instalacao anterior
1 parent 2b257fd commit 08e84a3

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

config.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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

instalacao.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)