mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-06-21 06:05:34 -06:00
uppsrc: Fixed to compile in MacOS
git-svn-id: svn://ultimatepp.org/upp/trunk@15618 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
752758e690
commit
7b86b84b0a
3 changed files with 5 additions and 3 deletions
|
|
@ -297,7 +297,7 @@ bool MakeBuild::BuildPackage(const Workspace& wspc, int pkindex, int pknumber, i
|
|||
#ifdef PLATFORM_COCOA
|
||||
if(m.target_override && !IsNull(m.target)
|
||||
&& IsFolder(m.target) && GetFileExt(m.target) == ".app")
|
||||
target = host->NormalizePath(m.target);
|
||||
target = NormalizePath(m.target);
|
||||
else
|
||||
#endif
|
||||
if(m.target_override && !IsNull(m.target) && IsFolder(m.target))
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ void GccBuilder::CocoaAppBundle()
|
|||
}
|
||||
if(imgs.GetCount() && convert_icons) {
|
||||
String icons = AppendFileName(outdir, "icons.iconset");
|
||||
RealizeDir(icons);
|
||||
RealizeDirectory(icons);
|
||||
PutConsole("Exporting bundle icons to " + icons);
|
||||
|
||||
for(String fn : {
|
||||
|
|
|
|||
|
|
@ -627,7 +627,9 @@ Ide::Ide()
|
|||
#ifdef PLATFORM_COCOA
|
||||
WhenDockMenu = [=](Bar& bar) {
|
||||
bar.Add("Open main package..", [=] {
|
||||
CreateHost(false, false)->Launch(GetExeFilePath() + " --nosplash");
|
||||
Host h;
|
||||
CreateHost(h, false, false);
|
||||
h.Launch(GetExeFilePath() + " --nosplash");
|
||||
});
|
||||
};
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue