12 lines
351 B
Python
12 lines
351 B
Python
import os
|
|
import platform
|
|
|
|
|
|
def run():
|
|
if (platform.system() == 'Linux'):
|
|
os.system("chmod +x ./software/ventoy/VentoyGUI.x86_64")
|
|
os.system(
|
|
"cd software/ventoy;./VentoyGUI.x86_64 2> ../../logger/vtoylog.log&")
|
|
if (platform.system() == 'Windows'):
|
|
os.system("cd software\\ventoy && start Ventoy2Disk.exe")
|