summaryrefslogtreecommitdiff
path: root/raveos-calamares-theme/etc/calamares/modules
diff options
context:
space:
mode:
Diffstat (limited to 'raveos-calamares-theme/etc/calamares/modules')
-rw-r--r--raveos-calamares-theme/etc/calamares/modules/finishedq.conf9
-rw-r--r--raveos-calamares-theme/etc/calamares/modules/shellprocess-supporters.conf9
2 files changed, 18 insertions, 0 deletions
diff --git a/raveos-calamares-theme/etc/calamares/modules/finishedq.conf b/raveos-calamares-theme/etc/calamares/modules/finishedq.conf
new file mode 100644
index 0000000..e8729d6
--- /dev/null
+++ b/raveos-calamares-theme/etc/calamares/modules/finishedq.conf
@@ -0,0 +1,9 @@
+# RaveOS - Calamares finishedq (QML Done oldal) konfiguracio
+#
+# A finishedq modul QML valtozata. A kulon "Restart now" gomb a QML-bol
+# hivja a config.doRestart(true) fuggvenyt, ezert itt a user-unchecked
+# a helyes ertek: a "Close installer" gomb NEM indit ujra.
+---
+restartNowMode: user-unchecked
+restartNowCommand: "systemctl -i reboot"
+notifyOnFinished: false
diff --git a/raveos-calamares-theme/etc/calamares/modules/shellprocess-supporters.conf b/raveos-calamares-theme/etc/calamares/modules/shellprocess-supporters.conf
new file mode 100644
index 0000000..2f6c6d8
--- /dev/null
+++ b/raveos-calamares-theme/etc/calamares/modules/shellprocess-supporters.conf
@@ -0,0 +1,9 @@
+dontChroot: true
+timeout: 20
+
+script:
+ # RaveOS: fetch the fresh supporters list (if online). Validated steps:
+ # download -> check "var names" and "]" -> replace. On any error the
+ # packaged list stays (|| true).
+ - command: "curl -fsSL --max-time 10 https://page.rp1.hu/supporters.js?t=$(date +%s) -o /tmp/raveos_supporters.js && grep -q 'var names' /tmp/raveos_supporters.js && grep -q ']' /tmp/raveos_supporters.js && cp /tmp/raveos_supporters.js /etc/calamares/branding/raveos/supporters.js || true"
+ name: "Downloading supporters list..."