From 3309c5f1585f7270a96ffe9aab39ad3dfb6e0c4f Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 7 Jun 2023 22:21:01 +0200 Subject: [PATCH] Add script for backing up reWASD --- scripts/Windows/Software/reWASD/Manage.ps1 | 7 +++++++ scripts/Windows/Software/reWASD/exclude.txt | 10 ++++++++++ 2 files changed, 17 insertions(+) create mode 100644 scripts/Windows/Software/reWASD/Manage.ps1 create mode 100644 scripts/Windows/Software/reWASD/exclude.txt diff --git a/scripts/Windows/Software/reWASD/Manage.ps1 b/scripts/Windows/Software/reWASD/Manage.ps1 new file mode 100644 index 00000000..ae23cd06 --- /dev/null +++ b/scripts/Windows/Software/reWASD/Manage.ps1 @@ -0,0 +1,7 @@ +. "$PSScriptRoot/../../Scripts/Context.ps1"; +$path = "$env:PUBLIC/Documents/reWASD"; +$softwareName = "reWASD"; + +function Invoke-BackupReWASD([Context] $context) { + $context.Backup($path, $context.SoftwareArchive($softwareName), @("-x@`"$PSScriptRoot/exclude.txt`"")); +} diff --git a/scripts/Windows/Software/reWASD/exclude.txt b/scripts/Windows/Software/reWASD/exclude.txt new file mode 100644 index 00000000..6e792f4c --- /dev/null +++ b/scripts/Windows/Software/reWASD/exclude.txt @@ -0,0 +1,10 @@ +Logs +Presets +Profiles/Desktop +Profiles/Duality +Profiles/Fortnite +Profiles/PS4 Remote* +Profiles/Switch console +Profiles/Switch to Xbox 360 +Profiles/Valorant +Profiles/xCloud