added scripts folder to gitea
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import os
|
||||
|
||||
def scriptRun(batchcode):
|
||||
sshCommand(f"vrtest@gaming-pc 'echo {batchcode} > script.bat && schtasks /Run /TN script'")
|
||||
def monProfile(profile):
|
||||
scriptRun(f"D:/scripts/MonitorProfileSwitcher_v0700/MonitorSwitcher.exe -load:C:/Users/vrtest/AppData/Roaming/MonitorSwitcher/Profiles/{profile}.xml")
|
||||
def sshCommand(command):
|
||||
os.system(f"ssh {command}")
|
||||
Reference in New Issue
Block a user