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