Merge pull request 'PeaZip: Qt6 default (GTK3 build is upstream alpha)' (#15) from fix/peazip-qt6-default into main
This commit was merged in pull request #15.
This commit is contained in:
@@ -647,11 +647,17 @@ info "Tailoring toolkits for DE=$DE / TWM=$TWM..."
|
|||||||
# right flavor -> nothing to do
|
# right flavor -> nothing to do
|
||||||
# OTHER flavor -> dnf SWAP to the wanted one (atomic: on failure the
|
# OTHER flavor -> dnf SWAP to the wanted one (atomic: on failure the
|
||||||
# existing flavor stays, which is the safe outcome)
|
# existing flavor stays, which is the safe outcome)
|
||||||
if [[ "$DE" == "plasma" || "$TWM" == "hyprland" ]]; then
|
#
|
||||||
peazip_wanted="peazip-qt6"
|
# Flavor choice: PeaZip's GTK3 build is ALPHA (Lazarus GTK3 widgetset) —
|
||||||
else
|
# upstream ships it "for test purpose only", and it renders broken on
|
||||||
# XFCE, GNOME, Niri, MangoWC, chadwm: lightweight/generic toolkits
|
# non-GTK Wayland compositors (YuKu-proven on niri: broken UI until a
|
||||||
|
# manual swap to qt6). GTK3 therefore only for genuine GTK stacks
|
||||||
|
# (GNOME, XFCE); Qt6 everywhere else — including niri/MangoWC/Hyprland
|
||||||
|
# and chadwm (Qt6 handles both Wayland and X11 cleanly).
|
||||||
|
if [[ "$DE" == "gnome" || "$DE" == "xfce" ]]; then
|
||||||
peazip_wanted="peazip-gtk3"
|
peazip_wanted="peazip-gtk3"
|
||||||
|
else
|
||||||
|
peazip_wanted="peazip-qt6"
|
||||||
fi
|
fi
|
||||||
peazip_existing=""
|
peazip_existing=""
|
||||||
local_v=""
|
local_v=""
|
||||||
|
|||||||
Reference in New Issue
Block a user