Add scripts for backing up TmNationsForever
This commit is contained in:
parent
d0eff6a264
commit
03b4c6f713
2 changed files with 22 additions and 0 deletions
|
@ -0,0 +1,15 @@
|
|||
Import-Module "$PSScriptRoot/../../Scripts/Context.ps1" -Force;
|
||||
$path = "$HOME/Documents/TmForever";
|
||||
$softwareName = "TmNationsForever";
|
||||
|
||||
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,7 @@
|
|||
ChallengeMusics
|
||||
MediaTracker
|
||||
MenuMusics
|
||||
Painter
|
||||
Scores
|
||||
Skins
|
||||
Tracks
|
Loading…
Reference in a new issue