mirror of
https://github.com/etaHEN/etaHEN.git
synced 2026-01-15 04:23:20 +08:00
use of custom kstuff (#58)
* reverted libmprotect.h, couldn't make a viable build with recent ps5 sdk's * added feature to load kstuff from /data/kstuff.elf before using embedded * added menu feature to download latest kstuff from echostretch * made download_file() more generic
This commit is contained in:
@@ -550,6 +550,19 @@ void handleIPC(struct clientArgs *client, std::string &inputStr,
|
||||
reply(sender_app, false);
|
||||
break;
|
||||
}
|
||||
case BREW_UTIL_DOWNLOAD_KSTUFF: {
|
||||
notify(true, "Downloading kstuff");
|
||||
if (!download_file("https://github.com/EchoStretch/kstuff/releases/latest/download/kstuff.elf",
|
||||
"/data/kstuff.elf")) {
|
||||
etaHEN_log("Failed to download kstuff");
|
||||
reply(sender_app, true);
|
||||
break;
|
||||
}
|
||||
|
||||
notify(true, "Successfully downloaded latest kstuff");
|
||||
reply(sender_app, false);
|
||||
break;
|
||||
}
|
||||
case BREW_UTIL_RELOAD_CHEATS: {
|
||||
notify(true, "Reloading cheats cache");
|
||||
ReloadCheatsCache(NULL);
|
||||
|
||||
Reference in New Issue
Block a user