mirror of
https://github.com/jazir555/GamesDows.git
synced 2025-11-02 23:14:02 +01:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
40626036cd | ||
|
|
489f61b54c | ||
|
|
0006eefd9f |
@@ -73,55 +73,55 @@ echo WshShell.Run chr(34)^&"%SCRIPT_PATH%"^&chr(34), 0, True >> "%VBS_PATH%"
|
||||
echo Set WshShell = Nothing >> "%VBS_PATH%"
|
||||
|
||||
echo Create XML file for the scheduled task
|
||||
SET XML_PATH=%STEAM_FOLDER%\DelayedExplorerStartTask.xml
|
||||
SET "XML_PATH=%STEAM_FOLDER%\DelayedExplorerStartTask.xml"
|
||||
|
||||
echo Delete the existing XML file if it exists
|
||||
IF EXIST "%XML_PATH%" DEL "%XML_PATH%"
|
||||
|
||||
(
|
||||
echo ^<?xml version="1.0" encoding="UTF-16"?^>
|
||||
echo ^<Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task"^>
|
||||
echo ^<RegistrationInfo^>
|
||||
echo ^<Date^>2020-01-01T00:00:00^</Date^>
|
||||
echo ^<Author^>"%USERNAME%"^</Author^>
|
||||
echo ^<Description^>Run DelayedExplorerStart.bat at logon.^</Description^>
|
||||
echo ^</RegistrationInfo^>
|
||||
echo ^<Triggers^>
|
||||
echo ^<LogonTrigger^>
|
||||
echo ^<Enabled^>true^</Enabled^>
|
||||
echo ^</LogonTrigger^>
|
||||
echo ^</Triggers^>
|
||||
echo ^<Principals^>
|
||||
echo ^<Principal id="Author"^>
|
||||
echo ^<UserId^>%USERNAME%</UserId^>
|
||||
echo ^<LogonType>InteractiveToken</LogonType>
|
||||
echo ^<RunLevel^>HighestAvailable^</RunLevel^>
|
||||
echo ^</Principal^>
|
||||
echo ^</Principals^>
|
||||
echo ^<Settings^>
|
||||
echo ^<MultipleInstancesPolicy^>IgnoreNew^</MultipleInstancesPolicy^>
|
||||
echo ^<DisallowStartIfOnBatteries^>false^</DisallowStartIfOnBatteries^>
|
||||
echo ^<StopIfGoingOnBatteries^>false^</StopIfGoingOnBatteries^>
|
||||
echo ^<AllowHardTerminate^>true^</AllowHardTerminate^>
|
||||
echo ^<StartWhenAvailable^>true^</StartWhenAvailable^>
|
||||
echo ^<RunOnlyIfNetworkAvailable^>false^</RunOnlyIfNetworkAvailable^>
|
||||
echo ^<IdleSettings^>
|
||||
echo ^<StopOnIdleEnd^>true^</StopOnIdleEnd^>
|
||||
echo ^<RestartOnIdle^>false^</RestartOnIdle^>
|
||||
echo ^</IdleSettings^>
|
||||
echo ^<Enabled^>true^</Enabled^>
|
||||
echo ^<Hidden^>false^</Hidden^>
|
||||
echo ^<WakeToRun^>false^</WakeToRun^>
|
||||
echo ^<ExecutionTimeLimit^>PT72H^</ExecutionTimeLimit^>
|
||||
echo ^<Priority^>7^</Priority^>
|
||||
echo ^</Settings^>
|
||||
echo ^<Actions Context="Author"^>
|
||||
echo ^<Exec^>
|
||||
echo ^<Command^>wscript.exe^</Command^>
|
||||
echo ^<Arguments^>"%VBS_PATH%"^</Arguments^>
|
||||
echo ^</Exec^>
|
||||
echo ^</Actions^>
|
||||
echo ^</Task^>
|
||||
echo(<?xml version="1.0" encoding="UTF-16"?>
|
||||
echo(^<Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task"^>
|
||||
echo( ^<RegistrationInfo^>
|
||||
echo( ^<Date^>2020-01-01T00:00:00^</Date^>
|
||||
echo( ^<Author^>!USERNAME!^</Author^>
|
||||
echo( ^<Description^>Run DelayedExplorerStart.bat at logon.^</Description^>
|
||||
echo( ^</RegistrationInfo^>
|
||||
echo( ^<Triggers^>
|
||||
echo( ^<LogonTrigger^>
|
||||
echo( ^<Enabled^>true^</Enabled^>
|
||||
echo( ^</LogonTrigger^>
|
||||
echo( ^</Triggers^>
|
||||
echo( ^<Principals^>
|
||||
echo( ^<Principal id="Author"^>
|
||||
echo( ^<UserId^>!USERNAME!^</UserId^>
|
||||
echo( ^<LogonType^>InteractiveToken^</LogonType^>
|
||||
echo( ^<RunLevel^>HighestAvailable^</RunLevel^>
|
||||
echo( ^</Principal^>
|
||||
echo( ^</Principals^>
|
||||
echo( ^<Settings^>
|
||||
echo( ^<MultipleInstancesPolicy^>IgnoreNew^</MultipleInstancesPolicy^>
|
||||
echo( ^<DisallowStartIfOnBatteries^>false^</DisallowStartIfOnBatteries^>
|
||||
echo( ^<StopIfGoingOnBatteries^>false^</StopIfGoingOnBatteries^>
|
||||
echo( ^<AllowHardTerminate^>true^</AllowHardTerminate^>
|
||||
echo( ^<StartWhenAvailable^>true^</StartWhenAvailable^>
|
||||
echo( ^<RunOnlyIfNetworkAvailable^>false^</RunOnlyIfNetworkAvailable^>
|
||||
echo( ^<IdleSettings^>
|
||||
echo( ^<StopOnIdleEnd^>true^</StopOnIdleEnd^>
|
||||
echo( ^<RestartOnIdle^>false^</RestartOnIdle^>
|
||||
echo( ^</IdleSettings^>
|
||||
echo( ^<Enabled^>true^</Enabled^>
|
||||
echo( ^<Hidden^>false^</Hidden^>
|
||||
echo( ^<WakeToRun^>false^</WakeToRun^>
|
||||
echo( ^<ExecutionTimeLimit^>PT72H^</ExecutionTimeLimit^>
|
||||
echo( ^<Priority^>7^</Priority^>
|
||||
echo( ^</Settings^>
|
||||
echo( ^<Actions Context="Author"^>
|
||||
echo( ^<Exec^>
|
||||
echo( ^<Command^>wscript.exe^</Command^>
|
||||
echo( ^<Arguments^>"!VBS_PATH!"^</Arguments^>
|
||||
echo( ^</Exec^>
|
||||
echo( ^</Actions^>
|
||||
echo(^</Task^>
|
||||
) > "%XML_PATH%"
|
||||
|
||||
echo Delete the existing scheduled task if it exists
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
Transform your Windows Computer into a Video Game console first, PC second! GamesDows is intended to emulate Steam OS's "Game Mode" as closely as possible.
|
||||
|
||||
**New: Now with Decky Loader support for Windows!**
|
||||
|
||||
**This script is a WIP. Currently, the main functionality works as intended. Steam Big Picture (or Playnite) launches automatically when the OS boots with high priority set as as the shell, then explorer starts automatically after a delay, which allows you to exit to desktop via the menu without needing to launch a shortcut for Explorer.exe first.**
|
||||
|
||||
**Note: Steam or Playnite must be installed, you must be signed in to Steam if using the Steam variant, and finally the Steam Autostart entry in task manager must be disabled/deleted before running the script.**
|
||||
|
||||
Reference in New Issue
Block a user