|
@@ -127,8 +127,17 @@ class AppDelegate: NSObject, NSApplicationDelegate, iRateDelegate{
|
|
|
} else {
|
|
|
KMMemberInfo.shared.isLogin = false
|
|
|
}
|
|
|
+#if VERSION_DMG
|
|
|
+ let model = KMProductModel()
|
|
|
+ model.getDMGProductDatas()
|
|
|
+#endif
|
|
|
}
|
|
|
}
|
|
|
+ } else {
|
|
|
+#if VERSION_DMG
|
|
|
+ let model = KMProductModel()
|
|
|
+ model.getDMGProductDatas()
|
|
|
+#endif
|
|
|
}
|
|
|
|
|
|
KMStatusBar.system()
|
|
@@ -187,9 +196,6 @@ class AppDelegate: NSObject, NSApplicationDelegate, iRateDelegate{
|
|
|
#if VERSION_DMG
|
|
|
VerificationManager.default()
|
|
|
KMDMGProductsManager.shareInstance.getProductDatas()
|
|
|
-
|
|
|
- let model = KMProductModel()
|
|
|
- model.getDMGProductDatas()
|
|
|
#else
|
|
|
self.initiVersionData()
|
|
|
IAPProductsManager.default().initIAP()
|