Fix .desktop installation.

This commit is contained in:
Captain ALM 2024-06-21 14:54:14 +01:00
parent 8429972928
commit aa1861eedb
Signed by: alfred
GPG Key ID: 4E4ADD02609997B1
2 changed files with 3 additions and 2 deletions

View File

@ -13,7 +13,7 @@ if [ $? -eq 0 ]; then
sudo cp bin/7zFM_do_not_use /usr/local/bin/7zFM -f; sudo cp bin/7zFM_do_not_use /usr/local/bin/7zFM -f;
sudo mkdir -p /usr/local/bin/Codecs; sudo mkdir -p /usr/local/bin/Codecs;
sudo cp bin/Codecs/* /usr/local/bin/Codecs -f; sudo cp bin/Codecs/* /usr/local/bin/Codecs -f;
sudo cp 7zFM.desktop /usr/share/applications/ -f; sudo xdg-desktop-menu install --novendor --mode system p7zfm.desktop;
echo "[+] Install Completed!" echo "[+] Install Completed!"
else else
echo "[-] Build Failed!" echo "[-] Build Failed!"

View File

@ -1,4 +1,6 @@
[Desktop Entry] [Desktop Entry]
Type=Application
Version=1.0
Name=7z File Manager Name=7z File Manager
Comment=Create and modify an archive Comment=Create and modify an archive
Keywords=7z;7zip;7-zip;zip;tar;extract;unpack; Keywords=7z;7zip;7-zip;zip;tar;extract;unpack;
@ -7,7 +9,6 @@ TryExec=7zFM
Exec=7zFM %U Exec=7zFM %U
StartupNotify=true StartupNotify=true
Terminal=false Terminal=false
Type=Application
Icon=org.gnome.ArchiveManager Icon=org.gnome.ArchiveManager
Categories=GTK;Utility;Archiving;Compression; Categories=GTK;Utility;Archiving;Compression;
MimeType=application/bzip2;application/gzip;application/vnd.android.package-archive;application/vnd.ms-cab-compressed;application/vnd.debian.binary-package;application/x-7z-compressed;application/x-7z-compressed-tar;application/x-ace;application/x-alz;application/x-ar;application/x-archive;application/x-arj;application/x-brotli;application/x-bzip-brotli-tar;application/x-bzip;application/x-bzip-compressed-tar;application/x-bzip1;application/x-bzip1-compressed-tar;application/x-cabinet;application/x-cd-image;application/x-compress;application/x-compressed-tar;application/x-cpio;application/x-chrome-extension;application/x-deb;application/x-ear;application/x-ms-dos-executable;application/x-gtar;application/x-gzip;application/x-gzpostscript;application/x-java-archive;application/x-lha;application/x-lhz;application/x-lrzip;application/x-lrzip-compressed-tar;application/x-lz4;application/x-lzip;application/x-lzip-compressed-tar;application/x-lzma;application/x-lzma-compressed-tar;application/x-lzop;application/x-lz4-compressed-tar;application/x-ms-wim;application/x-rar;application/x-rar-compressed;application/x-rpm;application/x-source-rpm;application/x-rzip;application/x-rzip-compressed-tar;application/x-tar;application/x-tarz;application/x-tzo;application/x-stuffit;application/x-war;application/x-xar;application/x-xz;application/x-xz-compressed-tar;application/x-zip;application/x-zip-compressed;application/x-zstd-compressed-tar;application/x-zoo;application/zip;application/zstd; MimeType=application/bzip2;application/gzip;application/vnd.android.package-archive;application/vnd.ms-cab-compressed;application/vnd.debian.binary-package;application/x-7z-compressed;application/x-7z-compressed-tar;application/x-ace;application/x-alz;application/x-ar;application/x-archive;application/x-arj;application/x-brotli;application/x-bzip-brotli-tar;application/x-bzip;application/x-bzip-compressed-tar;application/x-bzip1;application/x-bzip1-compressed-tar;application/x-cabinet;application/x-cd-image;application/x-compress;application/x-compressed-tar;application/x-cpio;application/x-chrome-extension;application/x-deb;application/x-ear;application/x-ms-dos-executable;application/x-gtar;application/x-gzip;application/x-gzpostscript;application/x-java-archive;application/x-lha;application/x-lhz;application/x-lrzip;application/x-lrzip-compressed-tar;application/x-lz4;application/x-lzip;application/x-lzip-compressed-tar;application/x-lzma;application/x-lzma-compressed-tar;application/x-lzop;application/x-lz4-compressed-tar;application/x-ms-wim;application/x-rar;application/x-rar-compressed;application/x-rpm;application/x-source-rpm;application/x-rzip;application/x-rzip-compressed-tar;application/x-tar;application/x-tarz;application/x-tzo;application/x-stuffit;application/x-war;application/x-xar;application/x-xz;application/x-xz-compressed-tar;application/x-zip;application/x-zip-compressed;application/x-zstd-compressed-tar;application/x-zoo;application/zip;application/zstd;