diff --git a/extension.js b/extension.js index bd086da..4790ef3 100644 --- a/extension.js +++ b/extension.js @@ -44,7 +44,7 @@ let BOOT_WAIT = 15; // 15s let CHECK_INTERVAL = 60*60; // 1h let NOTIFY = false; let HOWMUCH = 0; -let UPDATE_CMD = "ptyxis -- /bin/sh -c \"sudo dnf upgrade; echo Done - Press enter to exit; read _\" "; +let UPDATE_CMD = "ptyxis -- /bin/sh -c \"run0 dnf upgrade; echo Done - Press enter to exit; read _\" "; let CHECK_CMD = "/bin/bash -c \"/usr/bin/dnf check-update -yq | grep -E 'x86_64|i686|noarch|aarch64' | awk '{print $1,$2}'\""; let MANAGER_CMD = ""; let PACKAGE_CACHE_DIR = ""; diff --git a/schemas/gschemas.compiled b/schemas/gschemas.compiled index 7947656..1b0cf60 100644 Binary files a/schemas/gschemas.compiled and b/schemas/gschemas.compiled differ diff --git a/schemas/org.gnome.shell.extensions.fedora-update.gschema.xml b/schemas/org.gnome.shell.extensions.fedora-update.gschema.xml index f24341a..9d6961b 100644 --- a/schemas/org.gnome.shell.extensions.fedora-update.gschema.xml +++ b/schemas/org.gnome.shell.extensions.fedora-update.gschema.xml @@ -65,7 +65,7 @@ - "ptyxis -- /bin/sh -c \"sudo dnf upgrade; echo Done - Press enter to exit; read _\" " + "ptyxis -- /bin/sh -c \"run0 dnf upgrade; echo Done - Press enter to exit; read _\" " Command to run to update packages. Command to run to update packages.