forked from pisilinux-rs/yali-rs
refactor: split huge jobs/mod.rs into modular files & modernize slideshow
- Split src/jobs/mod.rs into specialized domain files under src/jobs/ (autologin, bootloader, execution, finish, keyboard, location, netinstall, network, partition, users) for better modularity and cleaner architecture. - Integrated chrono-tz and enabled serde features on chrono in Cargo.toml. - Added missing assets (remixicon font, icons, slides images/configs). - Integrated localized slideshow presentation directly into UI, reading configurations from TOML. - Updated Makefile to correctly target and install slideshow files into system directories. - Cleaned up obsolete bin utility slides_test.rs.
This commit is contained in:
@@ -12,6 +12,7 @@ BINDIR ?= $(PREFIX)/bin
|
||||
DATADIR ?= $(PREFIX)/share/yali
|
||||
LOCALEDIR ?= $(DATADIR)/locales
|
||||
ASSETSDIR ?= $(DATADIR)/assets
|
||||
SLIDESDIR ?= $(DATADIR)/slides
|
||||
DESKTOPDIR ?= $(PREFIX)/share/applications
|
||||
PIXMAPDIR ?= $(PREFIX)/share/pixmaps
|
||||
|
||||
@@ -128,6 +129,10 @@ install: release
|
||||
install -dm755 $(DESTDIR)$(LOCALEDIR)
|
||||
install -m644 locales/*.toml $(DESTDIR)$(LOCALEDIR)/
|
||||
|
||||
# Slayt dosyaları
|
||||
install -dm755 $(DESTDIR)$(SLIDESDIR)
|
||||
cp -r slides/* $(DESTDIR)$(SLIDESDIR)/
|
||||
|
||||
# .desktop girdisi
|
||||
install -Dm644 assets/yali.desktop $(DESTDIR)$(DESKTOPDIR)/yali.desktop
|
||||
|
||||
@@ -141,6 +146,7 @@ uninstall:
|
||||
rm -rf $(DESTDIR)$(DATADIR)
|
||||
rm -f $(DESTDIR)$(DESKTOPDIR)/yali.desktop
|
||||
rm -f $(DESTDIR)$(PIXMAPDIR)/yali.png
|
||||
rm -rf $(DESTDIR)$(SLIDESDIR)
|
||||
@echo "$(BOLD)$(GREEN)✓ Kaldırıldı$(RESET)"
|
||||
|
||||
# ── Temizlik ─────────────────────────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user