aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--up2date.app/Contents/Info.plist44
-rwxr-xr-xup2date.app/Contents/MacOS/appletbin0 -> 55856 bytes
-rw-r--r--up2date.app/Contents/PkgInfo1
-rw-r--r--up2date.app/Contents/Resources/Scripts/main.scpt (renamed from up2date.scptd/Contents/Resources/Scripts/main.scpt)bin1748 -> 1748 bytes
-rw-r--r--up2date.app/Contents/Resources/applet.icnsbin0 -> 40291 bytes
-rw-r--r--up2date.app/Contents/Resources/applet.rsrcbin0 -> 362 bytes
-rw-r--r--up2date.app/Contents/Resources/description.rtfd/TXT.rtf (renamed from up2date.scptd/Contents/Resources/description.rtfd/TXT.rtf)0
-rwxr-xr-xup2date.app/Contents/Resources/up2date.sh (renamed from up2date.scptd/Contents/Resources/up2date.sh)2
-rw-r--r--up2date.scptd/Contents/Info.plist21
9 files changed, 46 insertions, 22 deletions
diff --git a/up2date.app/Contents/Info.plist b/up2date.app/Contents/Info.plist
new file mode 100644
index 0000000..5c8b161
--- /dev/null
+++ b/up2date.app/Contents/Info.plist
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleAllowMixedLocalizations</key>
+ <true/>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleExecutable</key>
+ <string>applet</string>
+ <key>CFBundleIconFile</key>
+ <string>applet</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>up2date</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleSignature</key>
+ <string>aplt</string>
+ <key>LSMinimumSystemVersionByArchitecture</key>
+ <dict>
+ <key>x86_64</key>
+ <string>10.6</string>
+ </dict>
+ <key>LSRequiresCarbon</key>
+ <true/>
+ <key>WindowState</key>
+ <dict>
+ <key>dividerCollapsed</key>
+ <false/>
+ <key>eventLogLevel</key>
+ <integer>-1</integer>
+ <key>name</key>
+ <string>ScriptWindowState</string>
+ <key>positionOfDivider</key>
+ <real>346</real>
+ <key>savedFrame</key>
+ <string>77 104 824 602 0 0 1440 878 </string>
+ <key>selectedTabView</key>
+ <string>result</string>
+ </dict>
+</dict>
+</plist>
diff --git a/up2date.app/Contents/MacOS/applet b/up2date.app/Contents/MacOS/applet
new file mode 100755
index 0000000..6a47312
--- /dev/null
+++ b/up2date.app/Contents/MacOS/applet
Binary files differ
diff --git a/up2date.app/Contents/PkgInfo b/up2date.app/Contents/PkgInfo
new file mode 100644
index 0000000..3253614
--- /dev/null
+++ b/up2date.app/Contents/PkgInfo
@@ -0,0 +1 @@
+APPLaplt \ No newline at end of file
diff --git a/up2date.scptd/Contents/Resources/Scripts/main.scpt b/up2date.app/Contents/Resources/Scripts/main.scpt
index 5479faa..5479faa 100644
--- a/up2date.scptd/Contents/Resources/Scripts/main.scpt
+++ b/up2date.app/Contents/Resources/Scripts/main.scpt
Binary files differ
diff --git a/up2date.app/Contents/Resources/applet.icns b/up2date.app/Contents/Resources/applet.icns
new file mode 100644
index 0000000..fcc1f09
--- /dev/null
+++ b/up2date.app/Contents/Resources/applet.icns
Binary files differ
diff --git a/up2date.app/Contents/Resources/applet.rsrc b/up2date.app/Contents/Resources/applet.rsrc
new file mode 100644
index 0000000..b06b869
--- /dev/null
+++ b/up2date.app/Contents/Resources/applet.rsrc
Binary files differ
diff --git a/up2date.scptd/Contents/Resources/description.rtfd/TXT.rtf b/up2date.app/Contents/Resources/description.rtfd/TXT.rtf
index 33192ea..33192ea 100644
--- a/up2date.scptd/Contents/Resources/description.rtfd/TXT.rtf
+++ b/up2date.app/Contents/Resources/description.rtfd/TXT.rtf
diff --git a/up2date.scptd/Contents/Resources/up2date.sh b/up2date.app/Contents/Resources/up2date.sh
index c917e81..40d7f75 100755
--- a/up2date.scptd/Contents/Resources/up2date.sh
+++ b/up2date.app/Contents/Resources/up2date.sh
@@ -4,7 +4,7 @@
# @author Filipp Lepalaan
# @package mtk
-if [[ $USER != "root" ]]; then
+if [[ id -u != 0 ]]; then
echo "$(basename $0) must be run as root" 2>&1
exit 1
fi
diff --git a/up2date.scptd/Contents/Info.plist b/up2date.scptd/Contents/Info.plist
deleted file mode 100644
index c23a467..0000000
--- a/up2date.scptd/Contents/Info.plist
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>WindowState</key>
- <dict>
- <key>dividerCollapsed</key>
- <false/>
- <key>eventLogLevel</key>
- <integer>-1</integer>
- <key>name</key>
- <string>ScriptWindowState</string>
- <key>positionOfDivider</key>
- <real>346</real>
- <key>savedFrame</key>
- <string>77 104 824 602 0 0 1440 878 </string>
- <key>selectedTabView</key>
- <string>result</string>
- </dict>
-</dict>
-</plist>