Commit graph mbbpatch/MBCPApp/parse.sh
Message SHA1
chore: {parse.sh, common.sh}: get_mb_ver -> mb_ver
shorter, why not?

Signed-off-by: fukiame <fukiame@proton.me>

fukiame   authored and   Cuynu   commited 2026-03-19 16:20:44 +07:00
25fc723f4d
[1/2] feat: {parse.sh, common.sh}: "y2k" support
parse whole version, avoid potential patches leak when, for example, 6.5.0 lands

get_mb_ver now must have an argument,
for any usage outside of what ive grep'd, to retain the previous behavior, pass '2'

Signed-off-by: fukiame <fukiame@proton.me>

fukiame   commited 2026-03-16 04:07:36 +07:00
aa5fa10055
feat: parse.sh: blocker
Signed-off-by: fukiame <fukiame@proton.me>

fukiame   commited 2026-03-16 02:42:25 +07:00
b1a7a24cd7
feat: parse.sh: confirm() for repeated applying attempt
Signed-off-by: fukiame <fukiame@proton.me>

fukiame   commited 2026-03-16 02:41:22 +07:00
3ba641df8d
parse.sh: handle cancellation more peacefully
the patch didnt "fail"

Signed-off-by: fukiame <fukiame@proton.me>

fukiame   commited 2026-03-16 02:34:23 +07:00
3c2976de87
parse.sh: bring back get_mb_ver
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 02:18:08 +07:00
c7ad7610e8
feat: partially move to apkeditor (1/2)
MB server-side now enforcing checksum checks, omehow it also make app doesn't work with GW934 error when logging in after compiled with apktool

Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-03-16 02:11:24 +07:00
e4c15802b0
[SQUASH] refactor: treewide: separate patches, provide common common, refactor change_app_logo, commonize and enhance logging
adding new patches is now trivial:

  cd patches
  cp TEMPLATE patch_name_whatever.sh
  # then just fill in patch name and ver clamp if desired

this gets rid of the need for excessive if-elses and not-so-pleasing indents

for logging, instead of using pure echo, 4 new "levels" can be utilized
- `info` : normal
- `good` : info but have green color?
- `warn` : warning
- `err` : error

Signed-off-by: fukiame <fukiame@proton.me>

fukiame   commited 2026-03-16 01:14:26 +07:00
0a89bce342