feat: .deb paketi + kurulum talimatı
This commit is contained in:
10
deb/DEBIAN/control
Normal file
10
deb/DEBIAN/control
Normal file
@@ -0,0 +1,10 @@
|
||||
Package: imajviewer
|
||||
Version: 1.0.0
|
||||
Section: graphics
|
||||
Priority: optional
|
||||
Architecture: amd64
|
||||
Depends: libgtk-3-0, libx11-6, xdg-utils
|
||||
Maintainer: Alhan <alhan@softmediadesign.com>
|
||||
Description: Ultra hafif Linux görüntü izleyici
|
||||
Flutter ile yazılmış, PNG/JPG/WebP/BMP/GIF
|
||||
destekleyen hızlı ve hafif bir resim görüntüleyici.
|
||||
15
deb/DEBIAN/postinst
Executable file
15
deb/DEBIAN/postinst
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# Varsayılan görüntü izleyici olarak ayarla
|
||||
for mime in image/png image/jpeg image/jpg image/webp image/bmp image/gif; do
|
||||
xdg-mime default imajviewer.desktop "$mime" 2>/dev/null || true
|
||||
done
|
||||
|
||||
# Masaüstü veritabanını güncelle
|
||||
which update-desktop-database >/dev/null 2>&1 && \
|
||||
update-desktop-database /usr/share/applications/ 2>/dev/null || true
|
||||
which gtk-update-icon-cache >/dev/null 2>&1 && \
|
||||
gtk-update-icon-cache /usr/share/icons/hicolor/ 2>/dev/null || true
|
||||
|
||||
exit 0
|
||||
12
deb/DEBIAN/prerm
Executable file
12
deb/DEBIAN/prerm
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# Varsayılan görüntü izleyici atamasını kaldır
|
||||
for mime in image/png image/jpeg image/jpg image/webp image/bmp image/gif; do
|
||||
current=$(xdg-mime query default "$mime" 2>/dev/null || true)
|
||||
if [ "$current" = "imajviewer.desktop" ]; then
|
||||
xdg-mime default "" "$mime" 2>/dev/null || true
|
||||
fi
|
||||
done
|
||||
|
||||
exit 0
|
||||
1
deb/usr/bin/imajviewer
Symbolic link
1
deb/usr/bin/imajviewer
Symbolic link
@@ -0,0 +1 @@
|
||||
/usr/lib/imajviewer/imajviewer
|
||||
BIN
deb/usr/lib/imajviewer/data/flutter_assets/AssetManifest.bin
Normal file
BIN
deb/usr/lib/imajviewer/data/flutter_assets/AssetManifest.bin
Normal file
Binary file not shown.
@@ -0,0 +1 @@
|
||||
[{"family":"MaterialIcons","fonts":[{"asset":"fonts/MaterialIcons-Regular.otf"}]}]
|
||||
BIN
deb/usr/lib/imajviewer/data/flutter_assets/NOTICES.Z
Normal file
BIN
deb/usr/lib/imajviewer/data/flutter_assets/NOTICES.Z
Normal file
Binary file not shown.
@@ -0,0 +1 @@
|
||||
{"format-version":[1,0,0],"native-assets":{}}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
1
deb/usr/lib/imajviewer/data/flutter_assets/version.json
Normal file
1
deb/usr/lib/imajviewer/data/flutter_assets/version.json
Normal file
@@ -0,0 +1 @@
|
||||
{"app_name":"imajviewer","version":"1.0.0","build_number":"1","package_name":"imajviewer"}
|
||||
BIN
deb/usr/lib/imajviewer/data/icudtl.dat
Normal file
BIN
deb/usr/lib/imajviewer/data/icudtl.dat
Normal file
Binary file not shown.
BIN
deb/usr/lib/imajviewer/imajviewer
Executable file
BIN
deb/usr/lib/imajviewer/imajviewer
Executable file
Binary file not shown.
BIN
deb/usr/lib/imajviewer/lib/libapp.so
Normal file
BIN
deb/usr/lib/imajviewer/lib/libapp.so
Normal file
Binary file not shown.
BIN
deb/usr/lib/imajviewer/lib/libdesktop_drop_plugin.so
Normal file
BIN
deb/usr/lib/imajviewer/lib/libdesktop_drop_plugin.so
Normal file
Binary file not shown.
BIN
deb/usr/lib/imajviewer/lib/libflutter_linux_gtk.so
Normal file
BIN
deb/usr/lib/imajviewer/lib/libflutter_linux_gtk.so
Normal file
Binary file not shown.
BIN
deb/usr/lib/imajviewer/lib/libscreen_retriever_linux_plugin.so
Normal file
BIN
deb/usr/lib/imajviewer/lib/libscreen_retriever_linux_plugin.so
Normal file
Binary file not shown.
BIN
deb/usr/lib/imajviewer/lib/libwindow_manager_plugin.so
Normal file
BIN
deb/usr/lib/imajviewer/lib/libwindow_manager_plugin.so
Normal file
Binary file not shown.
1
deb/usr/lib/imajviewer/lib/native_assets.json
Normal file
1
deb/usr/lib/imajviewer/lib/native_assets.json
Normal file
@@ -0,0 +1 @@
|
||||
{"format-version":[1,0,0],"native-assets":{}}
|
||||
10
deb/usr/share/applications/imajviewer.desktop
Normal file
10
deb/usr/share/applications/imajviewer.desktop
Normal file
@@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=imajViewer
|
||||
Comment=Ultra hafif görüntü izleyici
|
||||
Exec=/usr/bin/imajviewer %F
|
||||
Icon=imajviewer
|
||||
Terminal=false
|
||||
Categories=Graphics;Viewer;RasterGraphics;
|
||||
MimeType=image/png;image/jpeg;image/webp;image/bmp;image/gif;image/jpg;
|
||||
StartupNotify=false
|
||||
BIN
deb/usr/share/icons/hicolor/64x64/apps/imajviewer.png
Normal file
BIN
deb/usr/share/icons/hicolor/64x64/apps/imajviewer.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 441 B |
24
deb/usr/share/mime/packages/imajviewer.xml
Normal file
24
deb/usr/share/mime/packages/imajviewer.xml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
|
||||
<mime-type type="image/png">
|
||||
<comment>PNG image</comment>
|
||||
<glob pattern="*.png"/>
|
||||
</mime-type>
|
||||
<mime-type type="image/jpeg">
|
||||
<comment>JPEG image</comment>
|
||||
<glob pattern="*.jpg"/>
|
||||
<glob pattern="*.jpeg"/>
|
||||
</mime-type>
|
||||
<mime-type type="image/webp">
|
||||
<comment>WebP image</comment>
|
||||
<glob pattern="*.webp"/>
|
||||
</mime-type>
|
||||
<mime-type type="image/bmp">
|
||||
<comment>BMP image</comment>
|
||||
<glob pattern="*.bmp"/>
|
||||
</mime-type>
|
||||
<mime-type type="image/gif">
|
||||
<comment>GIF image</comment>
|
||||
<glob pattern="*.gif"/>
|
||||
</mime-type>
|
||||
</mime-info>
|
||||
Reference in New Issue
Block a user