Skip to content

Commit

Permalink
do not compile nibs, but copy them from production version
Browse files Browse the repository at this point in the history
  • Loading branch information
darwin committed Jun 30, 2010
1 parent 1dbd156 commit 3696478
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
5 changes: 3 additions & 2 deletions dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ if [ -L "$TOTALFINDER_RESOURCES" ]; then # is is a symlink?
fi

# ok, we should be safe to do the replacement
mv "$TOTALFINDER_RESOURCES" "$TOTALFINDER_RESOURCES_BACKUP"
ln -s "$ROOT/plugin/Resources" "$TOTALFINDER_RESOURCES"
sudo mv "$TOTALFINDER_RESOURCES" "$TOTALFINDER_RESOURCES_BACKUP"
sudo ln -s "$ROOT/plugin/Resources" "$TOTALFINDER_RESOURCES"
sudo cp "$TOTALFINDER_RESOURCES_BACKUP/"*.nib "$TOTALFINDER_RESOURCES" # steal compiled nibs from production
6 changes: 4 additions & 2 deletions restart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
# quit Finder
osascript -e "tell application \"Finder\" to quit"

# compile xibs
./compile.sh
# compile xibs - skip this for now
# it depends on custom plugin I had
# Failure Reason: Could not determine the location of the plug-in with the identifier net.wafflesoftware.ShortcutRecorder.IB.Leopard
# ./compile.sh

# start TotalFinder agan
open /Applications/TotalFinder.app
6 changes: 3 additions & 3 deletions undev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
TOTALFINDER_RESOURCES='/Applications/TotalFinder.app/Contents/Resources/TotalFinder.bundle/Contents/Resources'
TOTALFINDER_RESOURCES_BACKUP='/Applications/TotalFinder.app/Contents/Resources/TotalFinder.bundle/Contents/ResourcesOrig'

if [ ! -d "$TOTALFINDER_RESOURCES" ]; then # is it a folder?
if [ -d "$TOTALFINDER_RESOURCES" ]; then # is it a folder?
if [ -L "$TOTALFINDER_RESOURCES" ]; then # is is a symlink?
rm "$TOTALFINDER_RESOURCES"
mv "$TOTALFINDER_RESOURCES_BACKUP" "$TOTALFINDER_RESOURCES"
sudo rm "$TOTALFINDER_RESOURCES"
sudo mv "$TOTALFINDER_RESOURCES_BACKUP" "$TOTALFINDER_RESOURCES"
exit
fi
fi
Expand Down

0 comments on commit 3696478

Please sign in to comment.