ide: no selfupgrade in macos

git-svn-id: svn://ultimatepp.org/upp/trunk@12981 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2019-04-10 21:26:29 +00:00
parent 41910ae0d0
commit d442105cf3

View file

@ -401,11 +401,13 @@ void Ide::Setup(Bar& menu)
}
});
#ifndef PLATFORM_COCOA
const Workspace& wspc = IdeWorkspace();
if(wspc[0] == "ide")
for(int i = 0; i < wspc.GetCount(); i++)
if(wspc[i] == "ide/Core")
menu.Add("Upgrade TheIDE..", [=] { UpgradeTheIDE(); });
#endif
if(menu.IsMenuBar())
SetupMobilePlatforms(menu);