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;} + -
- 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 :) -
-