diff --git a/README.md b/README.md
index c7bfb4b..b28c04c 100644
--- a/README.md
+++ b/README.md
@@ -145,7 +145,7 @@ make palera1n_mingw WITH_STATIC=1 WITH_GUI=1
- [itsnebulalol](https://github.com/itsnebulalol) - Palera1n v1.
- [staturnz](https://github.com/staturnz) - Contributions, Loader.
- [plooshi](https://github.com/plooshi) - Plooshfinder, various legacy patches.
-- [hahalosah](https://github.com/hahalosah) - TUI.
+- [nekohaxx](https://github.com/nekohaxx) - TUI.
- [checkra1n](https://checkra.in) - Checkra1n (1337), PongoOS, payloads, DFU helper & device assets.
- [libimobiledevice](https://github.com/libimobiledevice/libimobiledevice) - Libimobiledevice, libirecovery, libplist & usbmuxd.
- [libusb](https://github.com/libimobiledevice/libimobiledevice) - Library for access to usb-devices, used by libimobiledevice & openra1n.
diff --git a/resources/entitlements.xml b/resources/entitlements.xml
new file mode 100644
index 0000000..53b3063
--- /dev/null
+++ b/resources/entitlements.xml
@@ -0,0 +1,15 @@
+
+
+
+ platform-application
+
+ get-task-allow
+
+ com.apple.private.security.no-container
+
+ com.apple.security.iokit-user-client-class
+
+ IOUserClient
+
+
+
diff --git a/src/main.cpp b/src/main.cpp
index baa7ea1..1eb7e0c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -16,19 +16,21 @@
void print_credits() {
printf(
- "#\n"
- "# Palera1n beta " PALERAIN_VERSION "\n"
- "#\n"
- "# (c) 2026 Palera1n\n"
- "#\n"
- "# ======== Made by =======\n"
- "# Made by: asdfugil, kok3shidoll, claration, mineek, staturnz\n"
- "# ======== Thanks to =======\n"
- "# Thanks to: llsc12, Nebula, Lrdsnow, nikias (libimobiledevice),\n"
- "# Checkra1n (Siguza, axi0mx, littlelailo et al.),\n"
- "# Procursus (Hayden Seay, Cameron Katri, Keto et.al),\n"
- "# kirb, ehilwyma, opa334\n"
- "# ==========================\n\n"
+ "::\n"
+ ":: Palera1n beta " PALERAIN_VERSION "\n"
+ "::\n"
+ ":: (c) 2026\n"
+ "::\n"
+ ":: ======== Made by ======== ::\n"
+ ":: Made by: asdfugil, kok3shidoll, claration, mineek\n"
+ ":: nekohaxx, plooshi, staturnz\n"
+ ":: ======== Thanks to ======== ::\n"
+ ":: Thanks to: llsc12, itsnebulalol, lrdsnow, kirb, ehilwyma\n"
+ ":: opa334, 0x7ff, sbingner, nikias (libimobiledevice)\n"
+ ":: dedbeddedbed, tihmstar\n"
+ ":: Checkra1n (Siguza, axi0mx, littlelailo et al.)\n"
+ ":: Procursus (Hayden Seay, Cameron Katri, Keto et al.)\n"
+ ":: =========================== ::\n\n"
);
}
@@ -78,8 +80,7 @@ void parse_arguments(int argc, char* argv[]) {
#ifdef WITH_GUI
palerain_flags |= palerain_option_gui;
- # ifdef _WIN32
- # else
+ # ifndef _WIN32
if (isatty(STDIN_FILENO) && getenv("LLVM_PROFILE_FILE") == nullptr) {
palerain_flags &= ~palerain_option_gui;
palerain_flags |= palerain_option_cli;
@@ -171,9 +172,7 @@ int main(int argc, char* argv[], char* envp[]) {
return exploit();
}
#else
-
return exploit();
-
#endif
return 0;
diff --git a/src/usb/driver/.gitkeep b/src/usb/driver/.gitkeep
new file mode 100644
index 0000000..e69de29
diff --git a/src/usb/iokit/usb_iokit.h b/src/usb/iokit/usb_iokit.h
index 759ca89..03f3617 100644
--- a/src/usb/iokit/usb_iokit.h
+++ b/src/usb/iokit/usb_iokit.h
@@ -29,7 +29,7 @@
enum usb_transfer {
USB_TRANSFER_OK,
USB_TRANSFER_ERROR,
- USB_TRANSFER_STALL
+ USB_TRANSFER_STALL,
};
typedef struct {
diff --git a/src/usb/libusb/usb_libusb.h b/src/usb/libusb/usb_libusb.h
index c84ab9d..b32e8c8 100644
--- a/src/usb/libusb/usb_libusb.h
+++ b/src/usb/libusb/usb_libusb.h
@@ -11,7 +11,7 @@
enum usb_transfer {
USB_TRANSFER_OK,
USB_TRANSFER_ERROR,
- USB_TRANSFER_STALL
+ USB_TRANSFER_STALL,
};
typedef struct {
diff --git a/src/utils.c b/src/utils.c
index 9b311d2..c9efab0 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -1,6 +1,6 @@
#include "utils.h"
-#ifdef __WIN32
+#ifdef _WIN32
# include
#else
# include
@@ -9,7 +9,7 @@
uint64_t palerain_flags = 0;
void sleep_ms(unsigned ms) {
- #ifdef __WIN32
+ #ifdef _WIN32
Sleep(ms);
#else
struct timespec ts;