feat: .deb paketi + kurulum talimatı
This commit is contained in:
1 parent
fb85a245fd
commit
82e66a82be
25 files changed
+83
No files matched your search
@@ -29,6 +29,13 @@ Script şunları yapar:
|
|||||||
|
|
||||||
Kurulumdan sonra bir PNG/JPG dosyasına çift tıklayın veya `xdg-open <dosya>` ile test edin.
|
Kurulumdan sonra bir PNG/JPG dosyasına çift tıklayın veya `xdg-open <dosya>` ile test edin.
|
||||||
|
|
||||||
|
### .deb paketi ile kurulum
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo dpkg -i imajviewer_1.0.0_amd64.deb
|
||||||
|
sudo apt-get install -f # eksik bağımlılıklar varsa
|
||||||
|
```
|
||||||
|
|
||||||
### Kaldırma
|
### Kaldırma
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -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.
|
||||||
Executable
+15
@@ -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
|
||||||
Executable
+12
@@ -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
|
||||||
Symlink
+1
@@ -0,0 +1 @@
|
|||||||
|
/usr/lib/imajviewer/imajviewer
|
||||||
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
[{"family":"MaterialIcons","fonts":[{"asset":"fonts/MaterialIcons-Regular.otf"}]}]
|
||||||
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.
@@ -0,0 +1 @@
|
|||||||
|
{"app_name":"imajviewer","version":"1.0.0","build_number":"1","package_name":"imajviewer"}
|
||||||
Binary file not shown.
Executable
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
{"format-version":[1,0,0],"native-assets":{}}
|
||||||
@@ -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
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 441 B |
@@ -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>
|
||||||
Binary file not shown.
Reference in new issue
Block a user