0

I am trying to add a button into my Extension that, when clicked runs sudo apt update and sudo apt upgrade but it keeps crashing/not doing anything.

I have tried:

Util.spawnCommandLine('gnome-terminal -- sudo apt update && sudo apt upgrade');

and

Util.spawnCommandLine('gnome-terminal -- sudo apt update | sudo apt upgrade');
Gecko
  • 1
  • 1

0 Answers0