diff --git a/README.md b/README.md index 4635060..adf7306 100644 --- a/README.md +++ b/README.md @@ -17,4 +17,13 @@ or build a real app using: `rake build` -which will create a real app in the `build` dir, you can put in your Applications folder. \ No newline at end of file +which will create a real app in the `build` dir, you can put in your Applications folder. + +# Build new version + +
+rake sparkle:clean
+rake sparkle:package
+
+ +You will need to copy the contents of sparkle/releases into the root files \ No newline at end of file diff --git a/Rakefile b/Rakefile index 21c8fc5..349da68 100644 --- a/Rakefile +++ b/Rakefile @@ -12,8 +12,6 @@ Motion::Project::App.setup do |app| # Use `rake config' to see complete project settings. app.name = 'KyanBar' app.icon = "icon.icns" - # app.version = "1.0.2" - # app.short_version = '1' app.identifier = 'com.kyan.' app.deployment_target = '10.8' @@ -26,12 +24,12 @@ Motion::Project::App.setup do |app| app.sparkle do release :base_url, 'https://raw.github.com/kyan/kyan_bar/master' - release :version, '1.0.2' + release :version, '1.0.3' # Optional settings release :feed_filename, 'releases.xml' release :package_filename, "#{app.name}.zip" - #release :notes_filename, 'release_notes.html' - #release :public_key, 'dsa_pub.pem' + release :public_key, 'dsa_pub.pem' + release :notes_filename, 'release_notes.html' end end \ No newline at end of file diff --git a/app/menu.rb b/app/menu.rb index d51d449..31cff51 100644 --- a/app/menu.rb +++ b/app/menu.rb @@ -8,6 +8,12 @@ def setupMenu mi.action = 'orderFrontStandardAboutPanel:' menu.addItem mi + mi = NSMenuItem.new + mi.title = 'Check for updates...' + mi.action = 'checkForUpdates:' + mi.target = SUUpdater.new + menu.addItem mi + add_seperator(menu) links.each_with_index do |data, i| diff --git a/release_notes.html b/release_notes.html index 2219d9e..9f5be73 100644 --- a/release_notes.html +++ b/release_notes.html @@ -10,30 +10,15 @@ dd p {margin: 2px 0; padding: 0;} + -

Your app - version x.yz

-

The greatest update ever

+

KyanBar - version 1.0.3

+

About Page Change and Retry Connection

-
An interface to drool for
-
I won't say too much (wouldn't want to spoil the surprise)
-
Record-breaking performance
-
-

- We keep doing it every time and you start to be less impressed, but we're still very proud of ourselves! We could write about our performance for hours, and make you read it for days! -

-

- What for? -
- This does serve a purpose, however, and it is to show you how a longer text would look like. It'll help you figure out your style. -

-

- Just do the same for your app now :) -

-
+
Will retry connection to websocket server if lost
- - + \ No newline at end of file diff --git a/releases.xml b/releases.xml index eb752ab..9101d5a 100644 --- a/releases.xml +++ b/releases.xml @@ -14,23 +14,23 @@ en - Thu, 21 Nov 2013 12:28:02 +0000 + Thu, 21 Nov 2013 12:51:34 +0000 - KyanBar 1.0.2 + KyanBar 1.0.3 - Thu, 21 Nov 2013 12:28:02 +0000 + Thu, 21 Nov 2013 12:51:34 +0000 - KyanBar-1.0.2 + KyanBar-1.0.3 https://raw.github.com/kyan/kyan_bar/master/release_notes.html - + diff --git a/resources/Credits.html b/resources/Credits.html index e69de29..a81ce2f 100644 --- a/resources/Credits.html +++ b/resources/Credits.html @@ -0,0 +1,3 @@ +

Thanks to the Authors of these wonderful libraries

+

Sparkle
A free software update framework for the Mac

+

SocketRocket
A conforming Objective-C WebSocket client library

\ No newline at end of file