diff --git a/uppsrc/CtrlCore/cocotodo.txt b/uppsrc/CtrlCore/cocotodo.txt index 7daa5fdd0..0a9792795 100644 --- a/uppsrc/CtrlCore/cocotodo.txt +++ b/uppsrc/CtrlCore/cocotodo.txt @@ -1,5 +1,9 @@ sooner: +- support bundle icons + +- correctly reload plist + - drag&drop in theide does not work - ctrl tab does not work diff --git a/uppsrc/ide/Builders/GccBuilder.cpp b/uppsrc/ide/Builders/GccBuilder.cpp index c67816331..419715ea1 100644 --- a/uppsrc/ide/Builders/GccBuilder.cpp +++ b/uppsrc/ide/Builders/GccBuilder.cpp @@ -570,13 +570,16 @@ bool GccBuilder::Link(const Vector& linkfile, const String& linkoptions, << "\n" << " CFBundleExecutable\n" << " " << GetFileName(target) << "\n" + << " NSHighResolutionCapable\n" + << " True\n" << "\n" << "\n" ; } String Info_plist_path = GetFileFolder(GetFileFolder(target)) + "/Info.plist"; PutConsole("Saving " << Info_plist_path); - SaveFile(Info_plist_path, Info_plist); + if(SaveChangedFile(Info_plist_path, Info_plist)) + Execute("defaults read " + Info_plist_path); // Force MacOS to reload plist } CustomStep(".post-link", Null, error); PutConsole(String().Cat() << GetHostPath(target) << " (" << GetFileInfo(target).length diff --git a/uppsrc/ide/main.cpp b/uppsrc/ide/main.cpp index 0ef60b53d..5e79929b8 100644 --- a/uppsrc/ide/main.cpp +++ b/uppsrc/ide/main.cpp @@ -254,8 +254,10 @@ void AppMain___() ide.SyncCh(); DelTemps(); - + +#ifndef PLATFORM_COCOA // MacOS sends some weird things to app bundle - disable editor mode for now StartEditorMode(arg, ide, clset); +#endif if(splash_screen && !ide.IsEditorMode()) { ShowSplash();