Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[FIX] Was trying to update via Sparkle on every Flash load. Bump to 1…

….5.1
  • Loading branch information...
commit 330c89e5706f64f5b0073be17112d5bb864ff8bf 1 parent f2e0796
Jonathan 'Wolf' Rentzsch authored
4 ClickToFlash.xcodeproj/project.pbxproj
@@ -492,7 +492,7 @@
492 492 GCC_TREAT_WARNINGS_AS_ERRORS = YES;
493 493 GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
494 494 GCC_WARN_SIGN_COMPARE = YES;
495   - PRODUCT_VERSION = 1.5;
  495 + PRODUCT_VERSION = 1.5.1;
496 496 WARNING_CFLAGS = "-Wall";
497 497 };
498 498 name = Debug;
@@ -505,7 +505,7 @@
505 505 GCC_TREAT_WARNINGS_AS_ERRORS = YES;
506 506 GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
507 507 GCC_WARN_SIGN_COMPARE = YES;
508   - PRODUCT_VERSION = 1.5;
  508 + PRODUCT_VERSION = 1.5.1;
509 509 WARNING_CFLAGS = "-Wall";
510 510 };
511 511 name = Release;
1  Plugin/Info-Plugin.plist
@@ -26,6 +26,7 @@
26 26 <string>CTFClickToFlashPlugin</string>
27 27 <key>SUFeedURL</key>
28 28 <string>http://rentzsch.github.com/clicktoflash/release_notes/appcast.xml</string>
  29 + <!--<string>http://rentzsch.github.com/clicktoflash/release_notes/appcast_distantfuture.xml</string>-->
29 30 <key>WebPluginDescription</key>
30 31 <string>Shockwave Flash 10.0 r22</string>
31 32 <key>WebPluginMIMETypes</key>
6 Plugin/SparkleManager.m
@@ -112,8 +112,12 @@ - (void)startAutomaticallyCheckingForUpdates {
112 112 SUUpdater *updater = [self _updater];
113 113 if (_canUpdate) {
114 114 if ([[CTFUserDefaultsController standardUserDefaults] boolForKey:sAutomaticallyCheckForUpdates]) {
115   - [updater checkForUpdatesInBackground];
116 115 [updater setAutomaticallyChecksForUpdates:YES];
  116 + static BOOL calledUpdaterApplicationDidFinishLaunching = NO;
  117 + if (!calledUpdaterApplicationDidFinishLaunching) {
  118 + calledUpdaterApplicationDidFinishLaunching = YES;
  119 + [updater applicationDidFinishLaunching:nil];
  120 + }
117 121 } else {
118 122 [updater setAutomaticallyChecksForUpdates:NO];
119 123 }

0 comments on commit 330c89e

Please sign in to comment.
Something went wrong with that request. Please try again.