Skip to content

Commit

Permalink
change update handler
Browse files Browse the repository at this point in the history
  • Loading branch information
henderea committed Sep 10, 2014
1 parent 6f433aa commit 391564c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ A RubyMotion application for keeping memory usage in check. Shows up in the men
* When upgrading from a pre-1.0 version, the "update while freeing" option will be turned off the first time you launch 1.0. This is because the suddenly decreasing free memory amount may cause confusion. You can turn this option back on if desired.
* Thanks to all of the beta testers that helped me get this version working well.
* **v1.0.1:** integrate a crash reporter
* **v1.0.2:** change update handler

###Versions (code-signed with developer ID):
* **v0.3:** <http://memorytamer.s3.amazonaws.com/MemoryTamer-0.3.zip> (Mavericks-only)
Expand Down Expand Up @@ -80,3 +81,4 @@ A RubyMotion application for keeping memory usage in check. Shows up in the men
* **v0.9.6.1:** <https://memorytamer.s3.amazonaws.com/MemoryTamer-0.9.6.1.zip>
* **v1.0:** <https://memorytamer.s3.amazonaws.com/MemoryTamer-1.0.zip>
* **v1.0.1:** <https://memorytamer.s3.amazonaws.com/MemoryTamer-1.0.1.zip>
* **v1.0.2:** <https://memorytamer.s3.amazonaws.com/MemoryTamer-1.0.2.zip>
6 changes: 3 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ namespace :paddle do
Motion::Project::App.setup do |app|
app.identifier = 'us.myepg.MemoryTamer'
app.entitlements['com.apple.security.app-sandbox'] = false
app.info_plist['SUFeedURL'] = 'https://rink.hockeyapp.net/api/2/apps/128ebd3240db358d4b1ea5f228269de6'
app.embedded_frameworks << 'vendor/Sparkle.framework'
app.embedded_frameworks << 'vendor/Paddle.framework'
end
Expand All @@ -51,11 +52,10 @@ Motion::Project::App.setup do |app|
app.icon = 'Icon.icns'
app.info_plist['CFBundleIconFile'] = 'Icon.icns'
app.name = 'MemoryTamer'
app.version = '1.0.1'
app.short_version = '1.0.1'
app.version = '1.0.2'
app.short_version = '1.0.2'
app.identifier = 'us.myepg.MemoryTamerMAS'
app.info_plist['NSUIElement'] = 1
app.info_plist['SUFeedURL'] = 'https://github.com/raw/henderea/MemoryTamer/master/appcast.xml'
app.deployment_target = '10.7'
app.codesign_certificate = 'Developer ID Application: Eric Henderson (SKWXXEM822)'
app.entitlements['com.apple.security.app-sandbox'] = true
Expand Down
6 changes: 1 addition & 5 deletions app/app_delegate.rb
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
class AppDelegate
attr_accessor :prefs

BITCrashManagerStatusDisabled = 0
BITCrashManagerStatusAlwaysAsk = 1
BITCrashManagerStatusAutoSend = 2

# noinspection RubyUnusedLocalVariable
def applicationDidFinishLaunching(notification)
BITHockeyManager.sharedHockeyManager.configureWithIdentifier('128ebd3240db358d4b1ea5f228269de6')
# BITHockeyManager.sharedHockeyManager.crashManager.crashManagerStatus = BITCrashManagerStatusAutoSend
BITHockeyManager.sharedHockeyManager.crashManager.setAutoSubmitCrashReport(true)
BITHockeyManager.sharedHockeyManager.startManager
Util.setup_paddle
SUUpdater.sharedUpdater if Info.paddle?
Expand Down
9 changes: 9 additions & 0 deletions appcast.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@
<link>https://github.com/raw/henderea/MemoryTamer/master/appcast.xml</link>
<description>Most recent changes with links to updates.</description>
<language>en</language>
<item>
<title>Version 1.0.2</title>
<sparkle:releaseNotesLink>
http://releases.io/henderea/MemoryTamer/1.0.2?heading=true
</sparkle:releaseNotesLink>
<pubDate>Wed, 10 Sep 2014 8:55:00 -0400</pubDate>
<enclosure url="http://memorytamer.s3.amazonaws.com/MemoryTamer-1.0.2.zip" sparkle:version="1.0.2" length="4947401" type="application/octet-stream" />
<sparkle:minimumSystemVersion>10.7</sparkle:minimumSystemVersion>
</item>
<item>
<title>Version 1.0.1</title>
<sparkle:releaseNotesLink>
Expand Down

0 comments on commit 391564c

Please sign in to comment.