You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
551 B
Plaintext
13 lines
551 B
Plaintext
(
|
|
-- Aponta para a pasta exata que definimos no mzp.run
|
|
local py_script = (getDir #temp) + "\\vr4life_inst\\Instalador_Online_VR4Life.py"
|
|
|
|
-- Checa se o arquivo realmente está lá
|
|
if doesFileExist py_script then (
|
|
-- Se estiver, executa e deixa o Python cuspir erros reais se houver
|
|
python.ExecuteFile py_script
|
|
) else (
|
|
-- Se não estiver, avisa onde procurou
|
|
messageBox ("O instalador não encontrou o Python!\n\nProcurou em:\n" + py_script) title:"Erro de Extração MZP"
|
|
)
|
|
) |