mirror of
https://github.com/gosticks/PiPer.git
synced 2025-10-16 11:55:42 +00:00
Reduced upgrade to Mac App Store alert frequency
This commit is contained in:
parent
e11173732d
commit
d411f68bfd
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -100,11 +100,11 @@
|
|||||||
const currentTimestamp = Date.now();
|
const currentTimestamp = Date.now();
|
||||||
|
|
||||||
let /** number */ alertInterval;
|
let /** number */ alertInterval;
|
||||||
if (currentTimestamp >= 1551398400000) { // 2019-03-01
|
if (currentTimestamp >= 1556665200000) { // 2019-05-01
|
||||||
alertInterval = 3.6e+6; // hourly
|
alertInterval = 3.6e+6; // hourly
|
||||||
} else if (currentTimestamp >= 1548979200000) { // 2019-02-01
|
} else if (currentTimestamp >= 1554073200000) { // 2019-04-01
|
||||||
alertInterval = 8.64e+7; // daily
|
alertInterval = 8.64e+7; // daily
|
||||||
} else if (currentTimestamp >= 1546300800000) { // 2019-01-01
|
} else if (currentTimestamp >= 1551398400000) { // 2019-03-01
|
||||||
alertInterval = 6.048e+8; // weekly
|
alertInterval = 6.048e+8; // weekly
|
||||||
} else {
|
} else {
|
||||||
alertInterval = 2.628e+9; // monthly
|
alertInterval = 2.628e+9; // monthly
|
||||||
|
|||||||
@ -10,7 +10,7 @@
|
|||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>1.0.2</string>
|
<string>1.0.2</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>196</string>
|
<string>197</string>
|
||||||
<key>Developer Identifier</key>
|
<key>Developer Identifier</key>
|
||||||
<string>BQ6Q24MF9X</string>
|
<string>BQ6Q24MF9X</string>
|
||||||
<key>URL</key>
|
<key>URL</key>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user