aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSander2026-05-31 17:47:54 +0200
committerSander2026-05-31 17:47:54 +0200
commit3da21a08b100c65048725038aa432a90c9f6d540 (patch)
tree19963d9083b4416d36a1921442e0b38dd434b568
parent127dc550be51afa835c7e96755aedd15d90eb7bd (diff)
downloadbetter-report-3da21a08b100c65048725038aa432a90c9f6d540.tar.gz
better-report-3da21a08b100c65048725038aa432a90c9f6d540.tar.bz2
better-report-3da21a08b100c65048725038aa432a90c9f6d540.zip
ALL MY HOMIES HATE MACOS
-rwxr-xr-xbuild.sh32
1 files changed, 32 insertions, 0 deletions
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
</dict>
</plist>
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"