Otherwise we'll never run future migrations. (#1314)

// FREEBIE
pull/1/head
Michael Kirk 9 years ago committed by GitHub
parent bff6e5613a
commit e56d41edc7

@ -21,7 +21,7 @@
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>2.4.1</string> <string>2.4.2</string>
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>????</string> <string>????</string>
<key>CFBundleURLTypes</key> <key>CFBundleURLTypes</key>
@ -38,7 +38,7 @@
</dict> </dict>
</array> </array>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>2.4.1.1</string> <string>2.4.2.0</string>
<key>ITSAppUsesNonExemptEncryption</key> <key>ITSAppUsesNonExemptEncryption</key>
<false/> <false/>
<key>LOGS_EMAIL</key> <key>LOGS_EMAIL</key>

@ -36,6 +36,7 @@
NSString *previousVersion = Environment.preferences.lastRanVersion; NSString *previousVersion = Environment.preferences.lastRanVersion;
if (!previousVersion) { if (!previousVersion) {
DDLogInfo(@"No previous version found. Probably first launch since install - nothing to migrate."); DDLogInfo(@"No previous version found. Probably first launch since install - nothing to migrate.");
[Environment.preferences setAndGetCurrentVersion];
return; return;
} }

Loading…
Cancel
Save