Ikon otomatis dari internet + cursor mengikuti tema host
- Cari ikon online (Iconify) dari dialog install, plus tombol sync ikon per shortcut - Auto ikon: file terdekat -> favicon situs (termasuk ikon manifest PWA) -> ikon brand yang namanya cocok -> ikon default; sumber ikon disimpan di metadata - Query dibersihkan (web.whatsapp.com -> whatsapp) dan kata <4 huruf tidak dipakai supaya aplikasi tanpa ikon resmi tidak dapat ikon acak - Unduhan thumbnail dibatasi 4 bersamaan + retry sekali (rate limit Iconify) - Cursor: XCURSOR_THEME/XCURSOR_SIZE diambil dari config KDE/GTK/~/.icons default, dan AppImage tidak lagi membundel libX*/libwayland*/libxkbcommon (dipakai dari host) - README: bagian ikon + integrasi desktop
This commit is contained in:
1 parent
70534bf6e2
commit
7f7cb97a65
19 files changed
+1117
-40
No files matched your search
@@ -46,6 +46,8 @@ else
|
||||
export LDAI_NO_APPSTREAM=1
|
||||
fi
|
||||
|
||||
# Library X11/Wayland/xkb/cursor tidak boleh ikut dibundel: kalau versinya beda
|
||||
# dengan host, cursor & rendering jadi tidak native (mis. cursor theme desktop tidak terpakai).
|
||||
echo "==> bundle + package AppImage"
|
||||
# hapus output lama dulu: file yang sedang dijalankan tidak bisa ditimpa langsung
|
||||
rm -f "$OUT"/lazyrun-*.AppImage "$OUT"/lazyrun-*.AppImage.zsync
|
||||
@@ -53,6 +55,10 @@ rm -f "$OUT"/lazyrun-*.AppImage "$OUT"/lazyrun-*.AppImage.zsync
|
||||
--appdir "$APPDIR" \
|
||||
--desktop-file "$APPDIR/lazyrun.desktop" \
|
||||
--icon-file "$APPDIR/lazyrun.png" \
|
||||
--exclude-library "libwayland-*.so*" \
|
||||
--exclude-library "libX*.so*" \
|
||||
--exclude-library "libxkbcommon.so*" \
|
||||
--exclude-library "libffi.so*" \
|
||||
--output appimage
|
||||
|
||||
ls -lh "$OUT"/lazyrun-*.AppImage* 2>/dev/null || true
|
||||
|
||||
Reference in new issue
Block a user