Add a script for backing up RetroArch
This commit is contained in:
parent
3309c5f158
commit
70149623e6
2 changed files with 15 additions and 0 deletions
7
scripts/Windows/Software/RetroArch/Manage.ps1
Normal file
7
scripts/Windows/Software/RetroArch/Manage.ps1
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
. "$PSScriptRoot/../../Scripts/Context.ps1";
|
||||||
|
$path = "C:/tools/RetroArch-Win64";
|
||||||
|
$softwareName = "RetroArch";
|
||||||
|
|
||||||
|
function Invoke-BackupRetroArch([Context] $context) {
|
||||||
|
$context.Backup($path, $context.SoftwareArchive($softwareName), @("-i@`"$PSScriptRoot/include.txt`""));
|
||||||
|
}
|
8
scripts/Windows/Software/RetroArch/include.txt
Normal file
8
scripts/Windows/Software/RetroArch/include.txt
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
config
|
||||||
|
cores
|
||||||
|
downloads
|
||||||
|
playlists
|
||||||
|
recordings
|
||||||
|
screenshots
|
||||||
|
content_history.lpl
|
||||||
|
content_*_history.lpl
|
Loading…
Reference in a new issue