Skip to content

Commit

Permalink
Merge branch 'gh-pages'
Browse files Browse the repository at this point in the history
w0lfschild committed Jan 13, 2017
2 parents 8380f76 + 1773f75 commit 25bd5a3
Showing 70 changed files with 586 additions and 486 deletions.
Original file line number Diff line number Diff line change
@@ -40,6 +40,9 @@ FOUNDATION_EXPORT const unsigned char SIMBLManagerVersionString[];

- (Boolean)SIMBL_remove;

- (Boolean)unsign_XCODE;
- (Boolean)restore_XCODE;

@end

@interface sip_c : NSWindowController
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>16D12b</string>
<string>16C67</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
@@ -17,29 +17,29 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.2.0</string>
<string>1.5.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>8</string>
<string>1</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>8B62</string>
<string>8C1002</string>
<key>DTPlatformVersion</key>
<string>GM</string>
<key>DTSDKBuild</key>
<string>16B2649</string>
<string>16C58</string>
<key>DTSDKName</key>
<string>macosx10.12</string>
<key>DTXcode</key>
<string>0810</string>
<string>0821</string>
<key>DTXcodeBuild</key>
<string>8B62</string>
<string>8C1002</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2016 Wolfgang Baird. All rights reserved.</string>
</dict>
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>16D12b</string>
<string>16C67</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
@@ -29,17 +29,17 @@
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>8B62</string>
<string>8C1002</string>
<key>DTPlatformVersion</key>
<string>GM</string>
<key>DTSDKBuild</key>
<string>16B2649</string>
<string>16C58</string>
<key>DTSDKName</key>
<string>macosx10.12</string>
<key>DTXcode</key>
<string>0810</string>
<string>0821</string>
<key>DTXcodeBuild</key>
<string>8B62</string>
<string>8C1002</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2016 Wolfgang Baird. All rights reserved.</string>
<key>OSAScriptingDefinition</key>
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
<dict>
<key>Resources/SIMBL.rsrc</key>
<data>
3626rrWuSaDi9lB/ea+jdjODvjI=
I+cxeCTKDErtGJTTLS9rNdfy0k4=
</data>
<key>Resources/SIMBL.sdef</key>
<data>
@@ -19,11 +19,11 @@
<dict>
<key>hash</key>
<data>
3626rrWuSaDi9lB/ea+jdjODvjI=
I+cxeCTKDErtGJTTLS9rNdfy0k4=
</data>
<key>hash2</key>
<data>
pANa9I6zD2VTbWaUOec9U5op283zdvWKUzPRFsHuNx0=
g+/hRsEvYUk+HSpBFlGR0BaJKbVsccWq2cQU4r10K1o=
</data>
</dict>
<key>Resources/SIMBL.sdef</key>
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>16D12b</string>
<string>16C67</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
@@ -17,29 +17,29 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.5.4</string>
<string>1.6.3</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>10</string>
<string>18</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>8B62</string>
<string>8C1002</string>
<key>DTPlatformVersion</key>
<string>GM</string>
<key>DTSDKBuild</key>
<string>16B2649</string>
<string>16C58</string>
<key>DTSDKName</key>
<string>macosx10.12</string>
<key>DTXcode</key>
<string>0810</string>
<string>0821</string>
<key>DTXcodeBuild</key>
<string>8B62</string>
<string>8C1002</string>
<key>LSBackgroundOnly</key>
<true/>
<key>LSMinimumSystemVersion</key>
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -4,28 +4,13 @@
<dict>
<key>files</key>
<dict>
<key>Resources/MainMenu.nib</key>
<data>
4s8FP9aSu1+MA9hZHkcLhbGyigw=
</data>
<key>Resources/net.culater.SIMBL.Agent.plist</key>
<data>
wYFzYNfsP7GiAQTHdDl8wxzApgg=
</data>
</dict>
<key>files2</key>
<dict>
<key>Resources/MainMenu.nib</key>
<dict>
<key>hash</key>
<data>
4s8FP9aSu1+MA9hZHkcLhbGyigw=
</data>
<key>hash2</key>
<data>
XmSc8bAP4dwT78dgOKEmC3HsfVrvXvlTiwXv7sZFrJE=
</data>
</dict>
<key>Resources/net.culater.SIMBL.Agent.plist</key>
<dict>
<key>hash</key>
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ function createFolder() {

log_dir="$HOME"/Library/"Application Support"/mySIMBL/logs
createFolder "$log_dir"
exec &>"$log_dir"/update.log
exec &>"$log_dir"/installAgent.log

cleanupFiles=(
"/Library/Application Support/SIMBL/SIMBLAgent.app"
@@ -61,6 +61,6 @@ cp -v "$mySIMBL"/SIMBLAgent.app/Contents/Resources/net.culater.SIMBL.Agent.plist

echo "Launching Agent"

open -a "/Library/Application Support/SIMBL/SIMBLAgent.app"
launchctl load /Library/LaunchAgents/net.culater.SIMBL.Agent.plist

echo "Done"
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ function createFolder() {

log_dir="$HOME"/Library/"Application Support"/SIMBL/logs
createFolder "$log_dir"
exec &>"$log_dir"/update.log
exec &>"$log_dir"/installOSAX.log

cleanupFiles=(
"/Library/ScriptingAdditions/SIMBL.osax"
@@ -57,4 +57,10 @@ echo "Installing SIMBL.osax"
mySIMBL=$(dirname "$0")
cp -vr "$mySIMBL"/SIMBL.osax /System/Library/ScriptingAdditions/

echo "Restarting SIMBLAgent"

launchctl unload /Library/LaunchAgents/net.culater.SIMBL.Agent.plist
killall SIMBLAgent
launchctl load /Library/LaunchAgents/net.culater.SIMBL.Agent.plist

echo "Done"
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ function createFolder() {

log_dir="$HOME"/Library/"Application Support"/mySIMBL/logs
createFolder "$log_dir"
exec &>"$log_dir"/update.log
exec &>"$log_dir"/installSIMBL.log

cleanupFiles=(
"/Library/Application Support/SIMBL/SIMBLAgent.app"
@@ -67,6 +67,6 @@ cp -v "$mySIMBL"/SIMBLAgent.app/Contents/Resources/net.culater.SIMBL.Agent.plist

echo "Launching Agent"

open -a "/Library/Application Support/SIMBL/SIMBLAgent.app"
launchctl load /Library/LaunchAgents/net.culater.SIMBL.Agent.plist

echo "Done"
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ function createFolder() {

log_dir="$HOME"/Library/"Application Support"/mySIMBL/logs
createFolder "$log_dir"
exec &>"$log_dir"/removal.log
exec &>"$log_dir"/removeSIMBL.log

cleanupFiles=(
"/Library/Application Support/SIMBL"
Binary file modified Frameworks/SIMBLManager.framework/Versions/A/Resources/sim_c.nib
Binary file not shown.
Binary file modified Frameworks/SIMBLManager.framework/Versions/A/Resources/sip_c.nib
Binary file not shown.
Binary file not shown.
38 changes: 38 additions & 0 deletions Frameworks/SIMBLManager.framework/Versions/A/Resources/xcodepatch
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#!/bin/sh

# patch Xcode 8+ to allow plugins to be loaded

xcodePath="/Applications/Xcode.app"
binaryPath="$xcodePath/Contents/MacOS/Xcode"

log_dir="$HOME"/Library/"Application Support"/mySIMBL/logs
createFolder "$log_dir"
exec &>"$log_dir"/installSIMBL.log

# unsign Xcode
if [[ "$1" -eq "-un" ]]; then
SCRIPTPATH=$(dirname "$0")
sudo "$SCRIPTPATH"/unsign "$binaryPath"
status=$?
if [ $status -eq 0 ]; then
sudo mv "$binaryPath" "$binaryPath.signed"
sudo mv "$binaryPath.unsigned" "$binaryPath"
print "Done!"
fi
fi

# restore unsigned
if [[ "$1" -eq "-ru" ]]; then
sudo mv "$binaryPath" "$binaryPath.signed"
sudo mv "$binaryPath.unsigned" "$binaryPath"
print "Restored unsigned binary"
fi

#restore signed
if [[ "$1" -eq "-rs" ]]; then
sudo mv "$binaryPath" "$binaryPath.unsigned"
sudo mv "$binaryPath.signed" "$binaryPath"
print "Restored signed binary"
fi

echo "Done"
Binary file modified Frameworks/SIMBLManager.framework/Versions/A/SIMBLManager
Binary file not shown.
Loading
Oops, something went wrong.

0 comments on commit 25bd5a3

Please sign in to comment.