Skip to content

Commit 0073974

Browse files
authored
Try pkexec
1 parent 18574ab commit 0073974

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

progress.vala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,9 @@ public class ProgressWindow : Window {
103103
int extra_args = 0;
104104

105105
string[] spawn_args = new string[8 + files_to_be_updated.length + extra_args];
106-
spawn_args[0] = "appimageupdate";
107-
spawn_args[1] = this.file_name;
106+
spawn_args[0] = "pkexec";
107+
spawn_args[1] = "appimageupdate";
108+
spawn_args[2] = this.file_name;
108109

109110
string[] spawn_env = Environ.get ();
110111
int standard_error;

0 commit comments

Comments
 (0)