PortValhalla/scripts/Windows/Software/TrackMania Nations Forever/Main.ps1

12 lines
435 B
PowerShell

. "$PSScriptRoot/../TrackMania United Forever/Manage.ps1";
. "$PSScriptRoot/../../Scripts/SoftwareManagement.ps1";
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
$parameters = Get-TMForeverInstallerComponents `
-IconName "TmNationsForever" `
-UserDirectory "$HOME/Documents/TmForever" `
-Installer {
Install-WingetPackage Nadeo.TrackManiaNationsForever;
};
Start-SoftwareInstaller @args @parameters;