Archive: Support opening and pinning ProtoPirate files from Archive (#510)

* ProtoPirate added to known apps, can use browser and favorites to Open PSFs now.

* Archive: Use protopirate icon for .psf files

* Update changelog

* Format

---------

Co-authored-by: WillyJL <me@willyjl.dev>
This commit is contained in:
Leeroy
2026-01-26 09:46:52 +11:00
committed by GitHub
parent 33321e532a
commit c94b5505b7
7 changed files with 7 additions and 0 deletions
+1
View File
@@ -32,6 +32,7 @@
- UL: Alutech AT-4N & Nice Flor S turbo speedup (by @Dmitry422)
- UL: Sommer fm2 in Add manually now uses FM12K modulation (Sommer without fm2 tag uses FM476) (try this if regular option doesn't work for you) (by @xMasterX)
- UL: Replaced Cars ignore option with Revers RB2 protocol ignore option (by @xMasterX)
- Archive: Support opening and pinning ProtoPirate files from Archive (#510 by @LeeroysHub)
### Fixed:
- Sub-GHz:
@@ -45,6 +45,7 @@ static const char* const known_ext[] = {
[ArchiveFileTypeUpdateManifest] = ".fuf",
[ArchiveFileTypeDiskImage] = ".img",
[ArchiveFileTypeFolder] = "?",
[ArchiveFileTypeProtoPirate] = ".psf",
[ArchiveFileTypeUnknown] = "*",
[ArchiveFileTypeAppOrJs] = ".fap|.js",
[ArchiveFileTypeSetting] = "?",
@@ -31,6 +31,7 @@ typedef enum {
ArchiveFileTypeDiskImage,
ArchiveFileTypeFolder,
ArchiveFileTypeSetting,
ArchiveFileTypeProtoPirate,
ArchiveFileTypeUnknown,
ArchiveFileTypeAppOrJs,
ArchiveFileTypeLoading,
@@ -29,6 +29,8 @@ const char* archive_get_flipper_app_name(ArchiveFileTypeEnum file_type) {
return EXT_PATH("apps/Sub-Ghz/subghz_playlist.fap");
case ArchiveFileTypeSubghzRemote:
return EXT_PATH("apps/Sub-Ghz/subghz_remote.fap");
case ArchiveFileTypeProtoPirate:
return EXT_PATH("apps/Sub-Ghz/proto_pirate.fap");
case ArchiveFileTypeInfraredRemote:
return EXT_PATH("apps/Infrared/ir_remote.fap");
case ArchiveFileTypeBadUsb:
@@ -45,6 +45,7 @@ static const Icon* ArchiveItemIcons[] = {
[ArchiveFileTypeSearch] = &I_search_10px,
[ArchiveFileTypeUpdateManifest] = &I_update_10px,
[ArchiveFileTypeDiskImage] = &I_floppydisk_10px,
[ArchiveFileTypeProtoPirate] = &I_protopirate_10px,
[ArchiveFileTypeFolder] = &I_dir_10px,
[ArchiveFileTypeUnknown] = &I_unknown_10px,
[ArchiveFileTypeLoading] = &I_loading_10px,
Binary file not shown.

After

Width:  |  Height:  |  Size: 96 B

+1
View File
@@ -4319,6 +4319,7 @@ Variable,+,I_power_text_24x5,const Icon,
Variable,+,I_prev_19x20,const Icon,
Variable,+,I_prev_hover_19x20,const Icon,
Variable,+,I_prev_text_19x5,const Icon,
Variable,+,I_protopirate_10px,const Icon,
Variable,-,I_qr_benchmark_25x25,const Icon,
Variable,+,I_red_19x20,const Icon,
Variable,+,I_red_hover_19x20,const Icon,
1 entry status name type params
4319 Variable + I_prev_19x20 const Icon
4320 Variable + I_prev_hover_19x20 const Icon
4321 Variable + I_prev_text_19x5 const Icon
4322 Variable + I_protopirate_10px const Icon
4323 Variable - I_qr_benchmark_25x25 const Icon
4324 Variable + I_red_19x20 const Icon
4325 Variable + I_red_hover_19x20 const Icon