diff options
author | Filipp Lepalaan <filipp@mac.com> | 2011-05-15 12:00:02 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2011-05-15 12:00:02 +0300 |
commit | d7e2078028a1f334d7cdcda252893f34d3baf198 (patch) | |
tree | 8af3db43607e27120af921f4de7f069871b0f1ed | |
parent | 34ec6a19c62892911c39d1d205de2ecb80c2adfc (diff) | |
download | mtk-d7e2078028a1f334d7cdcda252893f34d3baf198.tar.gz mtk-d7e2078028a1f334d7cdcda252893f34d3baf198.tar.bz2 mtk-d7e2078028a1f334d7cdcda252893f34d3baf198.zip |
testing
-rw-r--r-- | up2date.app/Contents/Info.plist | 44 | ||||
-rwxr-xr-x | up2date.app/Contents/MacOS/applet | bin | 0 -> 55856 bytes | |||
-rw-r--r-- | up2date.app/Contents/PkgInfo | 1 | ||||
-rw-r--r-- | up2date.app/Contents/Resources/Scripts/main.scpt (renamed from up2date.scptd/Contents/Resources/Scripts/main.scpt) | bin | 1748 -> 1748 bytes | |||
-rw-r--r-- | up2date.app/Contents/Resources/applet.icns | bin | 0 -> 40291 bytes | |||
-rw-r--r-- | up2date.app/Contents/Resources/applet.rsrc | bin | 0 -> 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-x | up2date.app/Contents/Resources/up2date.sh (renamed from up2date.scptd/Contents/Resources/up2date.sh) | 2 | ||||
-rw-r--r-- | up2date.scptd/Contents/Info.plist | 21 |
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 Binary files differnew file mode 100755 index 0000000..6a47312 --- /dev/null +++ b/up2date.app/Contents/MacOS/applet 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 Binary files differindex 5479faa..5479faa 100644 --- a/up2date.scptd/Contents/Resources/Scripts/main.scpt +++ b/up2date.app/Contents/Resources/Scripts/main.scpt diff --git a/up2date.app/Contents/Resources/applet.icns b/up2date.app/Contents/Resources/applet.icns Binary files differnew file mode 100644 index 0000000..fcc1f09 --- /dev/null +++ b/up2date.app/Contents/Resources/applet.icns diff --git a/up2date.app/Contents/Resources/applet.rsrc b/up2date.app/Contents/Resources/applet.rsrc Binary files differnew file mode 100644 index 0000000..b06b869 --- /dev/null +++ b/up2date.app/Contents/Resources/applet.rsrc 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> |