refactor: replace PowerShell scripts with simple batch files (Overengineering)

This commit is contained in:
Andre
2026-05-06 17:28:01 +02:00
parent 3bb9b8c7e5
commit b280394590
4 changed files with 89 additions and 41 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
@echo off
REM Sunshine laeuft in Session 0 — DisplaySwitch muss in der User-Session laufen.
REM Task Scheduler startet es mit InteractiveToken in der richtigen Session.
powershell.exe -NonInteractive -Command "Start-ScheduledTask -TaskName 'MoonlightTeardown'"
DisplaySwitch /extend
timeout /t 4
DisplaySwitch /internal