diff --git a/data/49-nopasswd-calamares.rules b/data/49-nopasswd-calamares.rules new file mode 100644 index 000000000..c152890aa --- /dev/null +++ b/data/49-nopasswd-calamares.rules @@ -0,0 +1,8 @@ +/* Allow Calamares to be started without password authentication + */ +polkit.addRule(function(action, subject) { + if ((action.id == "com.github.calamares.calamares.pkexec.run")) + { + return polkit.Result.YES; + } +}); diff --git a/data/calamares.desktop b/data/calamares.desktop new file mode 100755 index 000000000..9d67cce5d --- /dev/null +++ b/data/calamares.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Type=Application +Version=1.0 +Name=Install Manjaro Linux (Calamares) +GenericName=Live Installer (Calamares) +Comment=Install the operating system to disk +Exec=/usr/bin/calamares_polkit %f +Icon=calamares +Terminal=false +StartupNotify=true +Type=Application +Categories=Qt;System; diff --git a/data/calamares_polkit b/data/calamares_polkit new file mode 100644 index 000000000..9bce0f82f --- /dev/null +++ b/data/calamares_polkit @@ -0,0 +1,6 @@ +#!/bin/bash +if [ $(which pkexec) ]; then + pkexec --disable-internal-agent "/usr/bin/calamares" "$@" +else + /usr/bin/calamares "$@" +fi diff --git a/data/manjaro-icon.svg b/data/manjaro-icon.svg new file mode 100644 index 000000000..a8c6e2159 --- /dev/null +++ b/data/manjaro-icon.svg @@ -0,0 +1,224 @@ + + + + + + + + image/svg+xml + + + + + + + + +