Skip to content

Commit

Permalink
Add chmod to linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexis committed May 1, 2023
1 parent fc21ccd commit a387886
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jackbox_utility_updater/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ class _HomeWidgetState extends State<HomeWidget> {
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);
Expand Down

0 comments on commit a387886

Please sign in to comment.