PortValhalla/scripts/Windows/Software/tm-nations-forever/Main.ps1

12 lines
427 B
PowerShell

. "$PSScriptRoot/../tm-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;