Skip to content

Commit

Permalink
enabled bootscreend again
Browse files Browse the repository at this point in the history
  • Loading branch information
asdfugil committed Jul 20, 2024
1 parent 6a387c0 commit db63c55
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
Binary file added main
Binary file not shown.
1 change: 1 addition & 0 deletions src/payload/loader/prelaunchd.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ int prelaunchd(uint32_t payload_options, struct paleinfo* pinfo_p) {
void* ellekit_handle = dlopen(ELLEKIT_ACTUAL_PATH, RTLD_NOW);

if (ellekit_handle == NULL) {
printf("%s\n", dlerror());
CHECK_ERROR(mount("bindfs", "/cores/binpack/Library/Frameworks/CydiaSubstrate.framework", MNT_RDONLY, "/cores/binpack/Library/Frameworks/CydiaSubstrateBridgeOS.framework"), 1, "failed to bindfs /cores/binpack/Library/Frameworks/CydiaSubstrateBridgeOS.framework -> /cores/binpack/Library/Frameworks/CydiaSubstrate.framework");
} else {
dlclose(ellekit_handle);
Expand Down
2 changes: 1 addition & 1 deletion src/payload_dylib/bootscreend.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ static int bsd_printf(const char* fmt, ...) {
return retval;
}
#else
#define bsd_printf(__VA_ARGS__) printf(__VA_ARGS__);
#define bsd_printf(...) printf(__VA_ARGS__);
#endif

static int init_display(void) {
Expand Down
4 changes: 2 additions & 2 deletions src/payload_dylib/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,10 @@ __attribute__((constructor))void launchd_hook_main(void) {
}

uint32_t dyld_get_active_platform(void);
/*if (
if (
((pflags & palerain_option_verbose_boot) == 0)
&& (dyld_get_active_platform() != PLATFORM_TVOS || getenv("XPC_USERSPACE_REBOOTED"))
) bootscreend_main();*/
) bootscreend_main();

void* systemhook_handle = dlopen(HOOK_DYLIB_PATH, RTLD_NOW);
if (!systemhook_handle) {
Expand Down

0 comments on commit db63c55

Please sign in to comment.