parent
06a8d52ca8
commit
c42faa7ec0
@ -1,22 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||||
<rss xmlns:ub="http://uniboard.mnemis.com/software" version="2.0"> |
|
||||||
<channel> |
|
||||||
<title>Uniboard</title> |
|
||||||
<link>http://www.mnemis.com</link> |
|
||||||
<description>Uniboard Appcast</description> |
|
||||||
<item> |
|
||||||
<title>Uniboard 4.5.4</title> |
|
||||||
<description>Download the new version of Uniboard 4</description> |
|
||||||
<link>http://assets.getuniboard.com/installer/Uniboard 4.5.4.dmg</link> |
|
||||||
<ub:version>4.5.4.3093</ub:version> |
|
||||||
<pubDate>Thu, 9 Apr 2010 14:44:00 CET</pubDate> |
|
||||||
</item> |
|
||||||
<item> |
|
||||||
<title>Uniboard <%= version %></title> |
|
||||||
<description>Download the new version of Uniboard 4</description> |
|
||||||
<link>http://assets.getuniboard.com/installer/<%= installer_filename %></link> |
|
||||||
<ub:version><%= long_version %></ub:version> |
|
||||||
<pubDate><%= rssdatetime %></pubDate> |
|
||||||
</item> |
|
||||||
</channel> |
|
||||||
</rss> |
|
@ -1,28 +0,0 @@ |
|||||||
tell application "System Events" |
|
||||||
set isRunning to  |
|
||||||
(count of (every process whose name is "GrowlHelperApp")) > 0 |
|
||||||
end tell |
|
||||||
|
|
||||||
if isRunning then |
|
||||||
|
|
||||||
tell application "GrowlHelperApp" |
|
||||||
-- Make a list of all the notification types |
|
||||||
-- that this script will ever send: |
|
||||||
set the allNotificationsList to  |
|
||||||
{"Uniboard Update Install"} |
|
||||||
|
|
||||||
set the enabledNotificationsList to  |
|
||||||
{"Uniboard Update Install"} |
|
||||||
|
|
||||||
register as application  |
|
||||||
"Uniboard" all notifications allNotificationsList  |
|
||||||
default notifications enabledNotificationsList  |
|
||||||
icon of application "Uniboard" |
|
||||||
|
|
||||||
notify with name  |
|
||||||
"Uniboard Update Install" title  |
|
||||||
"Uniboard" description  |
|
||||||
"Uniboard is installing a new version." application name "Uniboard" |
|
||||||
|
|
||||||
end tell |
|
||||||
end if |
|
@ -1,34 +0,0 @@ |
|||||||
# -------------------------------------------------------------------- |
|
||||||
# This program is free software: you can redistribute it and/or modify |
|
||||||
# it under the terms of the GNU General Public License as published by |
|
||||||
# the Free Software Foundation, either version 3 of the License, or |
|
||||||
# (at your option) any later version. |
|
||||||
# |
|
||||||
# This program is distributed in the hope that it will be useful, |
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
||||||
# GNU General Public License for more details. |
|
||||||
# |
|
||||||
# You should have received a copy of the GNU General Public License |
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
||||||
# --------------------------------------------------------------------- |
|
||||||
|
|
||||||
#!/bin/bash |
|
||||||
|
|
||||||
# |
|
||||||
# Usage: upgrade.sh "Uniboard 4.3.5" "/Users/Name/Downloads/Uniboard 4.3.5.dmg" "/Applications/Uniboard.app" |
|
||||||
# |
|
||||||
|
|
||||||
DMG_NAME=$1 |
|
||||||
DMG_PATH=$2 |
|
||||||
TARGET_PATH=$3 |
|
||||||
|
|
||||||
umount "$DMG_NAME" 2> /dev/null |
|
||||||
hdiutil attach "$DMG_PATH" -nobrowse |
|
||||||
|
|
||||||
rm -rf "$TARGET_PATH" |
|
||||||
cp -R "/Volumes/$DMG_NAME/Uniboard.app" "$TARGET_PATH" |
|
||||||
|
|
||||||
hdiutil detach "/Volumes/$DMG_NAME" |
|
||||||
|
|
||||||
open $TARGET_PATH |
|
Loading…
Reference in new issue