From a64ef966534f8dba6af889ba4bfce15691bfc85b Mon Sep 17 00:00:00 2001 From: Nippy Date: Sun, 1 Nov 2026 18:13:54 +0100 Subject: új telepítő MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- raveos-welcome/raveos_welcome.py | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'raveos-welcome/raveos_welcome.py') diff --git a/raveos-welcome/raveos_welcome.py b/raveos-welcome/raveos_welcome.py index 08b9bed..0bf64b0 100644 --- a/raveos-welcome/raveos_welcome.py +++ b/raveos-welcome/raveos_welcome.py @@ -31,7 +31,7 @@ from PyQt6.QtSvgWidgets import QSvgWidget FLAG_FILE = Path.home() / ".config" / "raveos" / ".welcome_done" -APP_INSTALLER = "/usr/bin/raveos-app-installer" +CENTER = "/usr/bin/raveos-center" SVG_LOGO = "/usr/share/raveos-welcome/raveos-welcome.svg" _SCRIPT_DIR = Path(__file__).resolve().parent @@ -86,9 +86,9 @@ T = { "feat_gaming": {"hu": "Gaming-ready\nProton, MangoHud, GameMode", "de": "Gaming-ready\nProton, MangoHud, GameMode", "en": "Gaming-ready\nProton, MangoHud, GameMode"}, - "feat_apps": {"hu": "App Installer\negy kattintás, minden szoftver", - "de": "App Installer\nein Klick, alle Software", - "en": "App Installer\none click, all software"}, + "feat_apps": {"hu": "RaveOS Center\nalkalmazások, frissítések, rendszer", + "de": "RaveOS Center\nApps, Updates, System", + "en": "RaveOS Center\napps, updates, system"}, "wifi_title": {"hu": "HÁLÓZAT", "de": "NETZWERK", "en": "NETWORK"}, "wifi_subtitle": {"hu": "WiFi kapcsolat", "de": "WLAN-Verbindung", "en": "WiFi connection"}, "wifi_scan": {"hu": "Frissítés", "de": "Aktualisieren", "en": "Refresh"}, @@ -268,15 +268,15 @@ T = { "finish_title": {"hu": "KÉSZ!", "de": "FERTIG!", "en": "DONE!"}, "finish_sub": {"hu": "A RaveOS be van állítva.", "de": "RaveOS ist eingerichtet.", "en": "RaveOS is set up."}, "finish_next_step": {"hu": "KÖVETKEZŐ LÉPÉS", "de": "NÄCHSTER SCHRITT", "en": "NEXT STEP"}, - "finish_inst_desc": {"hu": "Az App Installer segítségével telepíthetsz minden fontos " - "szoftvert egy helyen - böngészőtől kezdve a fejlesztőeszközökig.", - "de": "Mit dem App Installer kannst du die gesamte wichtige Software an einem Ort installieren - von Browsern bis zu Entwicklerwerkzeugen.", - "en": "With the App Installer you can install all important " - "software in one place - from browsers to developer tools."}, - "finish_install": {"hu": "APP INSTALLER INDÍTÁSA", "de": "APP INSTALLER STARTEN", "en": "LAUNCH APP INSTALLER"}, + "finish_inst_desc": {"hu": "A RaveOS Centerben egy helyen telepíthetsz alkalmazásokat, frissítheted " + "a rendszert, és beállíthatod a drivereket és a gaming funkciókat.", + "de": "Im RaveOS Center installierst du Apps, aktualisierst das System und richtest Treiber und Gaming-Funktionen an einem Ort ein.", + "en": "In RaveOS Center you can install apps, update the system, and set up " + "drivers and gaming features in one place."}, + "finish_install": {"hu": "RAVEOS CENTER MEGNYITÁSA", "de": "RAVEOS CENTER ÖFFNEN", "en": "OPEN RAVEOS CENTER"}, "finish_reboot": {"hu": "ÚJRAINDÍTÁS", "de": "SYSTEM NEU STARTEN", "en": "REBOOT SYSTEM"}, "finish_close": {"hu": "Bezárás", "de": "Schließen", "en": "Close"}, - "finish_install_missing": {"hu": "Nem található az App Installer.", "de": "App Installer nicht gefunden.", "en": "App Installer not found."}, + "finish_install_missing": {"hu": "Nem található a RaveOS Center.", "de": "RaveOS Center nicht gefunden.", "en": "RaveOS Center not found."}, "finish_install_err": {"hu": "Nem sikerült elindítani. Napló: {log}", "de": "Start fehlgeschlagen. Protokoll: {log}", "en": "Failed to launch. Log: {log}"}, "action_killactive": {"hu": "Aktív ablak bezárása", "de": "Aktives Fenster schließen", "en": "Close active window"}, "action_togglefloat": {"hu": "Lebegő mód ki/be", "de": "Schwebenden Modus umschalten", "en": "Toggle floating mode"}, @@ -2114,8 +2114,8 @@ class RaveOSWelcome(QMainWindow): def _launch_installer(self): candidates = [ - APP_INSTALLER, - shutil.which("raveos-app-installer") or "", + CENTER, + shutil.which("raveos-center") or "", ] cmd = None for c in candidates: @@ -2129,7 +2129,7 @@ class RaveOSWelcome(QMainWindow): self.p_finish.install_btn.setEnabled(False) - log_path = Path.home() / ".config" / "raveos" / "app-installer.log" + log_path = Path.home() / ".config" / "raveos" / "center.log" log_path.parent.mkdir(parents=True, exist_ok=True) is_hyprland = bool(os.environ.get("HYPRLAND_INSTANCE_SIGNATURE")) or \ -- cgit v1.3