From de8d394261e4a3c028459502854afb056f15924a Mon Sep 17 00:00:00 2001 From: Eugene / Dae Date: Sun, 23 Nov 2014 23:28:49 +0300 Subject: [PATCH] Initial commit --- .gitignore | 1 + build.sh | 9 +++++++++ icon.icns | Bin 0 -> 39254 bytes main.scpt | 16 ++++++++++++++++ 4 files changed, 26 insertions(+) create mode 100644 .gitignore create mode 100755 build.sh create mode 100644 icon.icns create mode 100644 main.scpt diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7234299 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.app \ No newline at end of file diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..7e96324 --- /dev/null +++ b/build.sh @@ -0,0 +1,9 @@ +#!/bin/bash +APP_NAME="Force Paste.app" + +rm -rf "$APP_NAME" +osacompile -o "$APP_NAME" -x "main.scpt" +/usr/libexec/PlistBuddy -c "Add NSUIElement String 1" "$APP_NAME/Contents/Info.plist" +/usr/libexec/PlistBuddy -c "Set CFBundleIconFile icon" "$APP_NAME/Contents/Info.plist" +rm -f "$APP_NAME/Contents/Resources/applet.icns" +cp "icon.icns" "$APP_NAME/Contents/Resources/" diff --git a/icon.icns b/icon.icns new file mode 100644 index 0000000000000000000000000000000000000000..fad6f2e73a22382fc31a3524e4c9a16504de2b39 GIT binary patch literal 39254 zcmeHvdsq}#wr^Ee7oZbk;yH6OlT4gs?zv~?%-r+cn=wWsKI6N1DDnNkDyQ;doy86L0 z=bn4N?mvWGd;NZEt-V*Rs;(d9ruAE+C@O#X(nYi1peSncrl<*jq$t(3sLA1B6h-@O z+Cs*D_qGUQwcn;_GG6dev@o9OXSL@knhWGPI*`NEKdfA}as{VPOw@BLR<2w@EnoGg zoX~(R;o)HcYch|mT)uow)jD${e~M}BT~mpcGi$1rSo9{9WoZRku3l5Q#A4zPGCjhO zAw%Az?&%VSFRUiB2M?AXXqSz9x;onH?Bnjvj<(us_Hk!>>-7`Ig|RQew>`ao0$FI{ zP2hWaui~i1va}M$%<9U}Z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