👍[Update] Model : restart処理を追加
This commit is contained in:
8
model.py
8
model.py
@@ -256,6 +256,14 @@ class Model:
|
||||
command = [os_path.join(program_directory, batch_name), program_name, temporary_name, str(restart)]
|
||||
Popen(command)
|
||||
|
||||
@staticmethod
|
||||
def reStartSoftware():
|
||||
program_name = 'VRCT.exe'
|
||||
batch_name = 'restart.bat'
|
||||
program_directory = os_path.dirname(__file__)
|
||||
command = [os_path.join(program_directory, batch_name), program_name]
|
||||
Popen(command)
|
||||
|
||||
@staticmethod
|
||||
def getListInputHost():
|
||||
return [host for host in getInputDevices().keys()]
|
||||
|
||||
Reference in New Issue
Block a user