diff --git a/windows11.bat b/windows11.bat index a585685..e02d970 100644 --- a/windows11.bat +++ b/windows11.bat @@ -136,7 +136,8 @@ for %%i in (!apps!) do ( :: Games related - Osu! separated because of exclamation mark escaping SET ^"games=^ RiotGames.LeagueOfLegends.EUW RiotGames.Valorant.EU Valve.Steam ^ - HeroicGamesLauncher.HeroicGamesLauncher PrismLauncher.PrismLauncher" + HeroicGamesLauncher.HeroicGamesLauncher PrismLauncher.PrismLauncher ^ + Ryujinx.Ryujinx" ECHO Games... !pmi! Peppy.Osu^^! @@ -144,6 +145,14 @@ for %%i in (!games!) do ( !pmi! %%i ) +:: Portable Winget packages shortcut +PowerShell -Command "" ^ + "$WshShell = New-Object -comObject WScript.Shell;" ^ + "$exe = (Get-ChildItem $env:LOCALAPPDATA\Microsoft\WinGet\Packages\Ryujinx.Ryujinx_Microsoft.Winget.*\publish\Ryujinx.exe).FullName;" ^ + "$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\Ryujinx.lnk');" ^ + "$Shortcut.TargetPath = $exe;" ^ + "$Shortcut.Save()" + :: === Install WSL == ECHO WSL... wsl --install --no-distribution