Add partition restoring via clipboard

This commit is contained in:
Such Meme, Many Skill
2020-04-04 22:15:13 +02:00
parent a6eaa1ec51
commit 97bbe2a333
7 changed files with 111 additions and 35 deletions

View File

@@ -21,7 +21,9 @@ enum utils_err_codes_te_call {
ERR_EMMC_WRITE_FAILED,
ERR_FILE_TOO_BIG_FOR_DEST,
ERR_SD_EJECTED,
ERR_PARSE_FAIL
ERR_PARSE_FAIL,
ERR_CANNOT_COPY_FILE_TO_FS_PART,
ERR_NO_DESTENATION
};
extern const char *utils_err_codes_te[];

View File

@@ -50,7 +50,9 @@ const char *utils_err_codes_te[] = { // these start at 50
"EMMC WRITE FAILED",
"FILE TOO BIG FOR DEST",
"SD EJECTED",
"PARSING FAILED"
"PARSING FAILED",
"CANNOT COPY FILE TO FS PART",
"NO DESTENATION"
};
const char *pkg2names[] = {

View File

@@ -81,7 +81,7 @@ gpt_entry_rule gpt_fs_rules[] = {
menu_entry mmcmenu_start[] = {
{"Back", COLOR_ORANGE, ISMENU},
{"RESERVED\n", COLOR_ORANGE, ISMENU},
{"Clipboard -> Partition\n", COLOR_ORANGE, ISMENU},
{"BOOT0/1", COLOR_BLUE, isBOOT | ISMENU}
};