add credits printing

This commit is contained in:
Nick Chan committed 2023-02-11 19:23:57 +08:00
1 parent 6e324f1b54
commit 1bf0ff5574
4 files changed
+24 -1

No files matched your search

+2
View File
@@ -219,6 +219,8 @@ void write_stdout(char *buf, uint32_t len);
void io_start(stuff_t *stuff);
void io_stop(stuff_t *stuff);
void print_credits();
#ifdef DEV_BUILD
#include <newt.h>
newtComponent get_tui_log();
+2 -1
View File
@@ -1,9 +1,10 @@
all: palera1n
OBJECTS = main.o dfuhelper.o devhelper.o lockdown_helper.o
OBJECTS += optparse.o override_file.o log.o lock_vars.o
OBJECTS += optparse.o override_file.o log.o lock_vars.o credits.o
OBJECTS += fake_embedded.o exec_checkra1n.o pongo_helper.o
ifneq ($(NO_RAMDISK),1)
OBJECTS += xxd-ramdisk.dmg.o
else
+19
View File
@@ -0,0 +1,19 @@
#include <stdio.h>
#define EE fprintf
#define Q }
#define P print_credits() {
#define BAKERAIN_DEVELOPER "dora2ios"
#define O void
#define Y )
#define Z (
#define R stdout
#define S ,
#define T ;
#define A "# == palera1n-c == \n#\n"
#define B "# Made by: Nick Chan, Tom, Mineek, Nebula, llsc12\n#\n"
#define C "# Thanks to: " BAKERAIN_DEVELOPER ", pythonplayer, tihmstar, nikias\n"
#define D "# (libimobiledevice), checkra1n team (Siguza, axi0mx, littlelailo\n"
#define E "# et al.), Procursus Team (Hayden Seay, Cameron Katri, Keto et.al)\n\n"
O P EE Z R S A B C D E Y T Q
+1
View File
@@ -98,6 +98,7 @@ int palera1n(int argc, char *argv[]) {
pthread_mutex_init(&found_pongo_mutex, NULL);
pthread_mutex_init(&ecid_dfu_wait_mutex, NULL);
if ((ret = build_checks())) return ret;
print_credits();
if ((ret = optparse(argc, argv))) goto cleanup;
if (checkrain_option_enabled(host_flags, host_option_palerain_version)) goto normal_exit;
#ifdef DEV_BUILD