Add backup script for TmUnitedForever
This commit is contained in:
parent
03b4c6f713
commit
a0bb4320d0
2 changed files with 21 additions and 0 deletions
|
@ -0,0 +1,15 @@
|
|||
Import-Module "$PSScriptRoot/../../Scripts/Context.ps1" -Force;
|
||||
$path = "$HOME/Documents/TrackMania";
|
||||
$softwareName = "TmUnitedForever";
|
||||
|
||||
function Invoke-BackupTmNations([Context] $context) {
|
||||
Write-Host "$PSScriptRoot";
|
||||
Start-Process -WorkingDirectory "$path" `
|
||||
-FilePath "7z" `
|
||||
-ArgumentList @(
|
||||
"a",
|
||||
"-i@`"$PSScriptRoot/include.txt`"",
|
||||
$context.SoftwareArchive($softwareName)) `
|
||||
-Wait `
|
||||
-NoNewWindow;
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
ChallengeMusics
|
||||
MediaTracker
|
||||
MenuMusics
|
||||
Scores
|
||||
Skins
|
||||
Tracks
|
Loading…
Reference in a new issue