first commit

This commit is contained in:
2026-08-15 14:43:56 +08:00
commit 63b8c28e1d
340 changed files with 59515 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
import winreg
SUBKEY = r"Software\Microsoft\Windows\CurrentVersion\Run"
NAME = "BetterGI弹幕排队系统"
VALUE = 'cmd.exe /d /k ""C:\\Users\\Administrator\\Desktop\\Live-streaming\\run.bat""'
key = winreg.OpenKey(winreg.HKEY_CURRENT_USER, SUBKEY, 0, winreg.KEY_SET_VALUE)
winreg.SetValueEx(key, NAME, 0, winreg.REG_SZ, VALUE)
winreg.CloseKey(key)
key = winreg.OpenKey(winreg.HKEY_CURRENT_USER, SUBKEY, 0, winreg.KEY_READ)
value, _ = winreg.QueryValueEx(key, NAME)
winreg.CloseKey(key)
print("WINREG WRITE+READ OK:", value)