The process of getting the full path of a UWP application for GloSC is a little cumbersome. This script aims to automate it.
It prints the contents of an ini file for GloSC, with the name of the UWP app.
The process of getting the full path of a UWP application for GloSC is a little cumbersome. This script aims to automate it.
It prints the contents of an ini file for GloSC, with the name of the UWP app.
param ( | |
# Either run this as a script and pass a `-name` parameter, or write the | |
# name below and copy/paste the contents of this file in PowerShell. | |
[string]$name = "Psychonauts 2" | |
) | |
Get-StartApps -Name "$name" | ForEach-Object { ` | |
Write-Host " ` | |
$($_.Name).ini ` | |
` | |
[BaseConf] ` | |
bEnableOverlay=1 ` | |
bEnableControllers=1 ` | |
bUseDesktopConfig=0 ` | |
bHookSteam=1 ` | |
version=518 ` | |
` | |
[LaunchGame] ` | |
bLaunchGame=1 ` | |
Path=$($_.appid) ` | |
Args= ` | |
Type=UWP ` | |
bCloseWhenDone=1 ` | |
" | |
} |