aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/patcher/install.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/patcher/install.js b/scripts/patcher/install.js
index c9babc8..4e75dbe 100644
--- a/scripts/patcher/install.js
+++ b/scripts/patcher/install.js
@@ -43,7 +43,7 @@ async function install(installations) {
// Attempt to give flatpak perms
if (selected.isFlatpak) {
try {
- const branch = selected.branch;
+ const { branch } = selected;
const cwd = process.cwd();
const globalCmd = `flatpak override ${branch} --filesystem=${cwd}`;
const userCmd = `flatpak override --user ${branch} --filesystem=${cwd}`;