chore: avoid extracting software package files (fallback to xdg-open)

This commit is contained in:
Integral 2024-12-16 18:45:58 +08:00
parent 461ae941b6
commit 70997fb825
No known key found for this signature in database
GPG key ID: 06313911057DD5A8

View file

@ -69,11 +69,7 @@ rules = [
# Archive
{ mime = "application/{zip,rar,tar,gzip,xz,zstd,bzip*,lzma,compress,compressed,archive,cpio,arj,deflate,xar}", use = [ "extract", "reveal" ] },
{ mime = "application/{zip,rar,7z,gzip,arj}-compressed", use = [ "extract", "reveal" ] },
{ mime = "application/{debian-package,redhat-package-manager,rpm}", use = [ "extract", "reveal" ] },
{ mime = "application/vnd.debian.binary-package", use = [ "extract", "reveal" ] },
{ mime = "application/vnd.android.package-archive", use = [ "extract", "reveal" ] },
{ mime = "application/vnd.ms-cab-compressed", use = [ "extract", "reveal" ] },
{ name = "*.{AppImage,appimage}", use = [ "extract", "reveal" ] },
# JSON
{ mime = "application/{json,ndjson}", use = [ "edit", "reveal" ] },
{ mime = "*/javascript", use = [ "edit", "reveal" ] },