mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-12 12:58:36 -07:00
Fix desktop keybinds path
This commit is contained in:
@@ -11,7 +11,8 @@
|
|||||||
#define DESKTOP_SETTINGS_MAGIC (0x17)
|
#define DESKTOP_SETTINGS_MAGIC (0x17)
|
||||||
#define DESKTOP_SETTINGS_VER (11)
|
#define DESKTOP_SETTINGS_VER (11)
|
||||||
|
|
||||||
#define DESKTOP_KEYBINDS_PATH CFG_PATH(".desktop.keybinds")
|
#define DESKTOP_KEYBINDS_OLD_PATH CFG_PATH(".desktop.keybinds")
|
||||||
|
#define DESKTOP_KEYBINDS_PATH CFG_PATH("desktop.keybinds")
|
||||||
#define DESKTOP_KEYBINDS_MAGIC (0x14)
|
#define DESKTOP_KEYBINDS_MAGIC (0x14)
|
||||||
#define DESKTOP_KEYBINDS_VER (1)
|
#define DESKTOP_KEYBINDS_VER (1)
|
||||||
|
|
||||||
|
|||||||
@@ -49,6 +49,8 @@ void flipper_migrate_files() {
|
|||||||
// Migrate files
|
// Migrate files
|
||||||
storage_common_copy(storage, ARCHIVE_FAV_OLD_PATH, ARCHIVE_FAV_PATH);
|
storage_common_copy(storage, ARCHIVE_FAV_OLD_PATH, ARCHIVE_FAV_PATH);
|
||||||
storage_common_remove(storage, ARCHIVE_FAV_OLD_PATH);
|
storage_common_remove(storage, ARCHIVE_FAV_OLD_PATH);
|
||||||
|
storage_common_copy(storage, DESKTOP_KEYBINDS_OLD_PATH, DESKTOP_KEYBINDS_PATH);
|
||||||
|
storage_common_remove(storage, DESKTOP_KEYBINDS_OLD_PATH);
|
||||||
// Int -> Ext
|
// Int -> Ext
|
||||||
storage_common_copy(storage, BT_SETTINGS_OLD_PATH, BT_SETTINGS_PATH);
|
storage_common_copy(storage, BT_SETTINGS_OLD_PATH, BT_SETTINGS_PATH);
|
||||||
storage_common_remove(storage, BT_SETTINGS_OLD_PATH);
|
storage_common_remove(storage, BT_SETTINGS_OLD_PATH);
|
||||||
|
|||||||
Reference in New Issue
Block a user