You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,5 @@
1
1
The pre-command version of this script is more "reactive", meaning it only runs when necessary. It also has a longer grace peroid during the suspension of a stream, 120 seconds, before reverting back. When ending a stream in Moonlight, it will revert back instantly.
2
2
3
-
# PREREQUISITES
4
-
5
-
If using Windows 11, make sure to set your default terminal to Windows Console Host, otherwise you will notice a PowerShell window minimized on your PC at all times.
6
3
7
4
## Requirements:
8
5
- Host must be Windows
@@ -11,9 +8,15 @@ If using Windows 11, make sure to set your default terminal to Windows Console H
11
8
- Users must have read permissions to %WINDIR%/Temp/Sunshine.log (do not change other permissions, just make sure Users have at least read permissions)
12
9
- HDR Capable Display
13
10
14
-
## CAVEAT:
15
-
Once installed, you cannot move the folder without reinstalling the script again.
16
-
So basically, if you move the folder, run the install script again to resolve.
11
+
## Caveats:
12
+
- If using Windows 11, you'll need to set the default terminal to Windows Console Host as there is currently a bug in Windows Terminal that prevents hidden consoles from working properly.
13
+
* That can be changed at Settings > Privacy & security > Security > For developers > Terminal [Let Windows decide] >> (change to) >> Terminal [Windows Console Host]
14
+
- Prepcommands do not work from cold reboots, and will prevent Sunshine from working until you logon locally.
15
+
* You should add a new application (with any name you'd like) in the WebUI and leave **both** the command and detached command empty.
16
+
* When adding this new application, make sure global prep command option is disabled.
17
+
* That will serve as a fallback option when you have to remote into your computer from a cold start.
18
+
* Normal reboots issued from start menu, will still work without the workaround above as long as Settings > Accounts > Sign-in options and "Use my sign-in info to automatically finish setting up after an update" is enabled which is default in Windows 10 & 11.
19
+
- The script will stop working if you move the folder, simply reinstall it to resolve that issue.
17
20
18
21
## What it Does:
19
22
Checks to see if the last connected Moonlight client asked for HDR, if so, it will enable HDR. Otherwise, it will disable it.
0 commit comments