- Updated kalpa-firstboot and kalpa-firstboot-aarch64 for Plasma6

- Updated version to 202400401

OBS-URL: https://build.opensuse.org/package/show/devel:microos:kalpa/plasma-branding-Kalpa?expand=0&rev=11
This commit is contained in:
Shawn Dunn 2024-04-01 21:21:35 +00:00 committed by Git OBS Bridge
parent 93ac89bcee
commit 5a97ff227a
4 changed files with 14 additions and 8 deletions

View File

@ -7,10 +7,10 @@ run_task() {
local label="$2"
shift 2
qdbus-qt5 $dbusRef setLabelText "$label"
qdbus6 $dbusRef setLabelText "$label"
if eval "$@"; then
qdbus-qt5 $dbusRef Set "" value "$step"
qdbus6 $dbusRef Set "" value "$step"
else
kdialog --error "Operation Failed: $label"
exit 1
@ -22,8 +22,8 @@ run_task 2 "Adding Flathub Repository" /usr/bin/flatpak remote-add --user --if-n
run_task 3 "Installing Firefox" /usr/bin/flatpak install --user --noninteractive flathub org.mozilla.firefox
run_task 4 "Installing KCalc" /usr/bin/flatpak install --user --noninteractive flathub org.kde.kcalc
run_task 5 "Installing Ark" /usr/bin/flatpak install --user --noninteractive flathub org.kde.ark
run_task 6 "Setting Default Browser" kwriteconfig5 --file ~/.config/kdeglobals --group General --key BrowserApplication org.mozilla.firefox.desktop
run_task 6 "Setting Default Browser" kwriteconfig6 --file ~/.config/kdeglobals --group General --key BrowserApplication org.mozilla.firefox.desktop
run_task 7 "Cleaning up" rm -f ~/.config/autostart/kalpa-firstboot.desktop
qdbus-qt5 $dbusRef close
qdbus6 $dbusRef close

View File

@ -7,10 +7,10 @@ run_task() {
local label="$2"
shift 2
qdbus-qt5 $dbusRef setLabelText "$label"
qdbus6 $dbusRef setLabelText "$label"
if eval "$@"; then
qdbus-qt5 $dbusRef Set "" value "$step"
qdbus6 $dbusRef Set "" value "$step"
else
kdialog --error "Operation Failed: $label"
exit 1
@ -24,4 +24,4 @@ run_task 4 "Installing Ark" /usr/bin/flatpak install --user --noninteractive fla
run_task 5 "Cleaning up" rm -f ~/.config/autostart/kalpa-firstboot.desktop
qdbus-qt5 $dbusRef close
qdbus6 $dbusRef close

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Apr 1 21:20:32 UTC 2024 - Shawn Dunn <sfalken@opensuse.org>
- Updated kalpa-firstboot and kalpa-firstboot-aarch64 for Plasma6
- Updated version to 202400401
-------------------------------------------------------------------
Tue Jan 2 22:28:11 UTC 2024 - dopice <0xdopice@protonmail.com>

View File

@ -18,7 +18,7 @@
Name: plasma-branding-Kalpa
Version: 20231227
Version: 20240401
Release: 0
Summary: Kalpa Desktop default settings
License: BSD-3-Clause