mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-06-07 19:01:54 -07:00
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:
@@ -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 |
@@ -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,
|
||||
|
||||
|
Reference in New Issue
Block a user