Reduced upgrade to Mac App Store alert frequency

This commit is contained in:
amarcu5 2019-01-24 19:13:34 +00:00
parent e11173732d
commit d411f68bfd
5 changed files with 4 additions and 4 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -100,11 +100,11 @@
const currentTimestamp = Date.now();
let /** number */ alertInterval;
if (currentTimestamp >= 1551398400000) { // 2019-03-01
if (currentTimestamp >= 1556665200000) { // 2019-05-01
alertInterval = 3.6e+6; // hourly
} else if (currentTimestamp >= 1548979200000) { // 2019-02-01
} else if (currentTimestamp >= 1554073200000) { // 2019-04-01
alertInterval = 8.64e+7; // daily
} else if (currentTimestamp >= 1546300800000) { // 2019-01-01
} else if (currentTimestamp >= 1551398400000) { // 2019-03-01
alertInterval = 6.048e+8; // weekly
} else {
alertInterval = 2.628e+9; // monthly

View File

@ -10,7 +10,7 @@
<key>CFBundleShortVersionString</key>
<string>1.0.2</string>
<key>CFBundleVersion</key>
<string>196</string>
<string>197</string>
<key>Developer Identifier</key>
<string>BQ6Q24MF9X</string>
<key>URL</key>