From 3da21a08b100c65048725038aa432a90c9f6d540 Mon Sep 17 00:00:00 2001 From: Sander Date: Sun, 31 May 2026 17:47:54 +0200 Subject: ALL MY HOMIES HATE MACOS --- build.sh | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/build.sh b/build.sh index 678db80..ccbe0f3 100755 --- a/build.sh +++ b/build.sh @@ -6,6 +6,7 @@ chmod +x bin/release/better-report # Create macOS .app bundle APP_NAME="Better Report" +RELEASE_DIR="bin/release" APP_DIR="bin/release/${APP_NAME}.app" rm -rf "$APP_DIR" mkdir -p "$APP_DIR/Contents/MacOS" @@ -46,3 +47,34 @@ cat > "$APP_DIR/Contents/Info.plist" << EOF EOF + +cat > "$APP_DIR/../HELP_IT_DOESNT_OPEN.txt" << EOF + +Getting some popup about it not being trusted? Or is MacOS telling you it's broken? It's not broken. +I just refuse to pay Apple for a loiscence to provide good software for their platform. So they block it. +Fuck you Apple. + +So, here's how to fix it. + + +To fix it permanently so you don't have this problem ever again: + +1. Open Terminal +2. Paste this text in there and press Enter/Return +sudo spctl --master-disable +3. You may need to write your password, just be aware that you won't see what you're typing +4. Go to System Settings > Privacy & Security and scroll down to set Allow apps from: Everywhere + + +To fix it for just this program: + +1. Open Terminal, and paste this in there: +xattr -rd com.apple.quarantine +2. Make sure there's a space at the end of what you just pasted +3. Drag and drop the program into the Terminal and hit Enter + +EOF + +cd "$RELEASE_DIR/" +rm "Better Report.zip" +zip "Better Report.zip" "${APP_NAME}.app" "HELP_IT_DOESNT_OPEN.txt" -- cgit v1.2.3