added icon and publish script

This commit is contained in:
Jeena Paradies 2010-05-04 10:03:11 +02:00
parent 2b9fd50f39
commit 67224c7afd
6 changed files with 60 additions and 13 deletions

View file

@ -2,19 +2,19 @@
<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Twittia's Changelog</title>
<link>http://github.com/downloads/jeena/Twittia/Appcast.xml</link>
<link>http://wiki.github.com/jeena/twittia/</link>
<description>Most recent changes with links to updates.</description>
<language>en</language>
<item>
<title>Version 2.1.1 (Added Mentions)</title>
<sparkle:minimumSystemVersion>10.6.0</sparkle:minimumSystemVersion>
<title>Version 2.1.2</title>
<sparkle:minimumSystemVersion>10.5.0</sparkle:minimumSystemVersion>
<sparkle:releaseNotesLink>http://jeenaparadies.net/twittia/ReleaseNotes.html</sparkle:releaseNotesLink>
<pubDate>Sun, 25 Apr 2010 18:00:00 +0000</pubDate>
<pubDate>Tue, 04 May 2010 09:55:26 +0200</pubDate>
<enclosure url="http://jeenaparadies.net/twittia/Twittia.app.zip"
sparkle:version="2.1.1"
length="490811"
sparkle:version="2.1.2"
length="497867"
type="application/octet-stream"
sparkle:dsaSignature="MC0CFBhmqxktwcqIqFM2F/blXAIfBmHhAhUAq19o2TB8v7f7nU9i+KFC3VrsWc0=" />
sparkle:dsaSignature="MC0CFQCZ2OhXnrTxE5C8EHsDyXh1oWg6FQIUUyR4StYk8blK0kQaY6TBLXCeMCM=" />
</item>
</channel>
</rss>

BIN
Icon.icns Normal file

Binary file not shown.

View file

@ -12,6 +12,9 @@
</head>
<body>
<h1>Twittia 2.1.2</h1>
<p>Fixed problem where you press "a" and a new tweet window opens</p>
<h1>Twittia 2.1.1</h1>
<p>Added possibility to change hot key in defaults.</>
<p>Added a notice to the timeline window how many unread mentions there are.</p>

View file

@ -16,6 +16,7 @@
1F705EA6117889FA00C85707 /* sprite-icons.png in Resources */ = {isa = PBXBuildFile; fileRef = 1F705EA5117889FA00C85707 /* sprite-icons.png */; };
1F70619F1178FBB300C85707 /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1F70619E1178FBB300C85707 /* Carbon.framework */; };
1F77DB47118C5F1C007C7F1E /* Constants.m in Sources */ = {isa = PBXBuildFile; fileRef = 1F77DB46118C5F1C007C7F1E /* Constants.m */; };
1FD7D54D11900A980017A19C /* Icon.icns in Resources */ = {isa = PBXBuildFile; fileRef = 1FD7D54C11900A980017A19C /* Icon.icns */; };
1FE2FC93117A818D000504B0 /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1FE2FC92117A818D000504B0 /* Sparkle.framework */; };
1FE2FCA4117A83B1000504B0 /* Sparkle.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 1FE2FC92117A818D000504B0 /* Sparkle.framework */; };
1FFA36CD1177D861006C8562 /* even-bg.png in Resources */ = {isa = PBXBuildFile; fileRef = 1FFA36C81177D861006C8562 /* even-bg.png */; };
@ -62,6 +63,7 @@
1F70619E1178FBB300C85707 /* Carbon.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Carbon.framework; path = System/Library/Frameworks/Carbon.framework; sourceTree = SDKROOT; };
1F77DB45118C5F1C007C7F1E /* Constants.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Constants.h; sourceTree = "<group>"; };
1F77DB46118C5F1C007C7F1E /* Constants.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Constants.m; sourceTree = "<group>"; };
1FD7D54C11900A980017A19C /* Icon.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = Icon.icns; sourceTree = "<group>"; };
1FE2FC92117A818D000504B0 /* Sparkle.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Sparkle.framework; sourceTree = "<group>"; };
1FE2FCA6117A8952000504B0 /* dsa_pub.pem */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = dsa_pub.pem; sourceTree = "<group>"; };
1FFA36C81177D861006C8562 /* even-bg.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "even-bg.png"; sourceTree = "<group>"; };
@ -184,6 +186,7 @@
2A37F4B8FDCFA73011CA2CEA /* Resources */ = {
isa = PBXGroup;
children = (
1FD7D54C11900A980017A19C /* Icon.icns */,
1F1990DF117BD2250049BEA7 /* Appcast.xml */,
1F198FC7117BC4AB0049BEA7 /* README.markdown */,
1FE2FCA6117A8952000504B0 /* dsa_pub.pem */,
@ -263,6 +266,7 @@
1F4674081180F7EE006CC37C /* jQuery.js in Resources */,
1FFA36D01177D861006C8562 /* default.css in Resources */,
1F705EA6117889FA00C85707 /* sprite-icons.png in Resources */,
1FD7D54D11900A980017A19C /* Icon.icns in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};

View file

@ -28,7 +28,7 @@
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIconFile</key>
<string></string>
<string>Icon.icns</string>
<key>CFBundleIdentifier</key>
<string>net.jeena.apps.twittia</string>
<key>CFBundleInfoDictionaryVersion</key>
@ -40,9 +40,9 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>2.1.1</string>
<string>2.1.2</string>
<key>CFBundleShortVersionString</key>
<string>2.1.1</string>
<string>2.1.2</string>
<key>LSMinimumSystemVersion</key>
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
<key>NSMainNibFile</key>

40
publish.rb Normal file
View file

@ -0,0 +1,40 @@
#!/usr/bin/env ruby -wKU
require "time"
PATH = File.dirname(__FILE__)
`cd "#{PATH}"`
version = `defaults read "#{PATH}/build/Release/Twittia.app/Contents/Info" CFBundleVersion`.delete "\n"
length = `stat -f %z build/Release/Twittia.app.zip`.delete "\n"
signature = `"../Sparkle 1.5b6/Extras/Signing Tools/sign_update.rb" build/Release/Twittia.app.zip dsa_priv.pem`.delete "\n"
date = Time.now.rfc2822
xml =<<XML
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Twittia's Changelog</title>
<link>http://wiki.github.com/jeena/twittia/</link>
<description>Most recent changes with links to updates.</description>
<language>en</language>
<item>
<title>Version #{version}</title>
<sparkle:minimumSystemVersion>10.5.0</sparkle:minimumSystemVersion>
<sparkle:releaseNotesLink>http://jeenaparadies.net/twittia/ReleaseNotes.html</sparkle:releaseNotesLink>
<pubDate>#{date}</pubDate>
<enclosure url="http://jeenaparadies.net/twittia/Twittia.app.zip"
sparkle:version="#{version}"
length="#{length}"
type="application/octet-stream"
sparkle:dsaSignature="#{signature}" />
</item>
</channel>
</rss>
XML
File.open("#{PATH}/Appcast.xml", 'w') {|f| f.write(xml) }
exit
`scp build/Release/Twittia.app.zip jeena@jeenaparadies.net:~/jeenaparadies.net/htdocs/twittia/`
`scp Appcast.xml jeena@jeenaparadies.net:~/jeenaparadies.net/htdocs/twittia/`