From a3878861ac532d96b846ff171f34d76d134d01a4 Mon Sep 17 00:00:00 2001 From: Alexis <> Date: Mon, 1 May 2023 19:50:55 +0200 Subject: [PATCH] Add chmod to linux --- jackbox_utility_updater/lib/main.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jackbox_utility_updater/lib/main.dart b/jackbox_utility_updater/lib/main.dart index 9959be5..ac1555d 100644 --- a/jackbox_utility_updater/lib/main.dart +++ b/jackbox_utility_updater/lib/main.dart @@ -107,7 +107,8 @@ class _HomeWidgetState extends State { if (Platform.isWindows) { Process.run("./app/jackbox_patcher.exe", []); }else{ - Process.run("./app/jackbox_patcher", []); + await Process.run("chmod", ["u+x","./app/JackboxUtility"]); + Process.run("./app/JackboxUtility", []); } Future.delayed(Duration(seconds: 1), () { exit(0);