mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-26 19:19:48 +01:00
add credits printing
This commit is contained in:
1 parent
6e324f1b54
commit
1bf0ff5574
4 files changed
+24
-1
No files matched your search
@@ -219,6 +219,8 @@ void write_stdout(char *buf, uint32_t len);
|
|||||||
void io_start(stuff_t *stuff);
|
void io_start(stuff_t *stuff);
|
||||||
void io_stop(stuff_t *stuff);
|
void io_stop(stuff_t *stuff);
|
||||||
|
|
||||||
|
void print_credits();
|
||||||
|
|
||||||
#ifdef DEV_BUILD
|
#ifdef DEV_BUILD
|
||||||
#include <newt.h>
|
#include <newt.h>
|
||||||
newtComponent get_tui_log();
|
newtComponent get_tui_log();
|
||||||
|
|||||||
+2
-1
@@ -1,9 +1,10 @@
|
|||||||
all: palera1n
|
all: palera1n
|
||||||
|
|
||||||
OBJECTS = main.o dfuhelper.o devhelper.o lockdown_helper.o
|
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
|
OBJECTS += fake_embedded.o exec_checkra1n.o pongo_helper.o
|
||||||
|
|
||||||
|
|
||||||
ifneq ($(NO_RAMDISK),1)
|
ifneq ($(NO_RAMDISK),1)
|
||||||
OBJECTS += xxd-ramdisk.dmg.o
|
OBJECTS += xxd-ramdisk.dmg.o
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -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
|
||||||
@@ -98,6 +98,7 @@ int palera1n(int argc, char *argv[]) {
|
|||||||
pthread_mutex_init(&found_pongo_mutex, NULL);
|
pthread_mutex_init(&found_pongo_mutex, NULL);
|
||||||
pthread_mutex_init(&ecid_dfu_wait_mutex, NULL);
|
pthread_mutex_init(&ecid_dfu_wait_mutex, NULL);
|
||||||
if ((ret = build_checks())) return ret;
|
if ((ret = build_checks())) return ret;
|
||||||
|
print_credits();
|
||||||
if ((ret = optparse(argc, argv))) goto cleanup;
|
if ((ret = optparse(argc, argv))) goto cleanup;
|
||||||
if (checkrain_option_enabled(host_flags, host_option_palerain_version)) goto normal_exit;
|
if (checkrain_option_enabled(host_flags, host_option_palerain_version)) goto normal_exit;
|
||||||
#ifdef DEV_BUILD
|
#ifdef DEV_BUILD
|
||||||
|
|||||||
Reference in new issue
Block a user