Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
chore: Add debug plist injector
Browse files Browse the repository at this point in the history
  • Loading branch information
pan93412 committed Aug 18, 2024
1 parent f2d26ca commit 6a87d96
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/put-debug.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash

plist='<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "https://www.apple.com/DTDs/PropertyList-1.0.dtd"><plist version="1.0"><dict><key>com.apple.security.get-task-allow</key><true/></dict></plist>'

echo "$plist" > /tmp/debug.plist
codesign -f -s - --entitlements /tmp/debug.plist target/debug/backend

0 comments on commit 6a87d96

Please sign in to comment.