|
@@ -866,14 +866,14 @@ extension KMHomeViewController {
|
|
|
|
|
|
|
|
|
func showAITypeChooseView() -> Void {
|
|
|
-// if AIInfoManager.default().aiInfo.infoDict.isEmpty == true {
|
|
|
-//#if VERSION_DMG
|
|
|
-// KMPurchaseCompareWindowController.dmgPurchaseInstance().showWindow(nil)
|
|
|
-//#else
|
|
|
-// AIPurchaseWindowController.currentWC().showWindow(nil)
|
|
|
-//#endif
|
|
|
-// return
|
|
|
-// }
|
|
|
+ if AIInfoManager.default().aiInfo.infoDict.isEmpty == true {
|
|
|
+#if VERSION_DMG
|
|
|
+ KMPurchaseCompareWindowController.dmgPurchaseInstance().showWindow(nil)
|
|
|
+#else
|
|
|
+ AIPurchaseWindowController.currentWC().showWindow(nil)
|
|
|
+#endif
|
|
|
+ return
|
|
|
+ }
|
|
|
let controller = NSViewController.init()
|
|
|
let view = NSView.init()
|
|
|
controller.view = view
|