chore: reorganize dist/, remove release/, update install paths
Build Windows / build-windows (push) Has been cancelled

- Move all distribution binaries to dist/ (Linux .deb + Windows .exe)
- Remove release/ directory (redundant, merged into dist/)
- Remove root-level .deb and .tar.gz leftovers
- Update install.sh to reference dist/ instead of release/
- Update README.md with correct dist/ paths and .deb-first Linux install
- Update .gitignore: ignore root binaries, keep dist/*.deb and dist/*.exe
This commit is contained in:
Alhan committed 2026-07-27 17:11:34 +03:00
1 parent 7173254857
commit a4567af902
23 files changed
+24 -34

No files matched your search

+5 -12
View File
@@ -21,18 +21,11 @@ command -v xdg-mime >/dev/null 2>&1 || err "xdg-mime bulunamadı (xdg-utils pa
command -v xdg-desktop-menu >/dev/null 2>&1 || err "xdg-desktop-menu bulunamadı (xdg-utils paketi gerekli)"
if [ ! -f "$BUNDLE_DIR/${APP}" ]; then
# Önce release/ dizininde hazır binary var mı kontrol et
RELEASE_DIR="${SCRIPT_DIR}/release"
if [ -f "$RELEASE_DIR/${APP}" ]; then
info "Hazır binary bulundu: release/"
BUNDLE_DIR="$RELEASE_DIR"
else
info "Binary bulunamadı, Flutter build başlatılıyor…"
cd "$SCRIPT_DIR"
flutter build linux 2>&1 | tail -1 || err "Flutter build başarısız! Sistemde Flutter SDK yoksa önce git clone yapıp './install.sh' çalıştırın."
BUNDLE_DIR="${SCRIPT_DIR}/build/linux/x64/release/bundle"
[ -f "$BUNDLE_DIR/${APP}" ] || err "Build başarısız!"
fi
info "Binary bulunamadı, Flutter build başlatılıyor…"
cd "$SCRIPT_DIR"
flutter build linux 2>&1 | tail -1 || err "Flutter build başarısız! Sistemde Flutter SDK kurulu olmalı veya dist/imajviewer_*.deb paketini kullanın."
BUNDLE_DIR="${SCRIPT_DIR}/build/linux/x64/release/bundle"
[ -f "$BUNDLE_DIR/${APP}" ] || err "Build başarısız!"
fi
# ── Kurulum dizinleri ──