mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
Update umake.cpp (#176)
This commit is contained in:
parent
d6c2c3e9d3
commit
a303da4e1a
1 changed files with 4 additions and 0 deletions
|
|
@ -113,6 +113,7 @@ CONSOLE_APP_MAIN
|
|||
int exporting = 0;
|
||||
bool run = false;
|
||||
bool auto_hub = false;
|
||||
bool flatpak_build = !GetEnv("FLATPAK_ID").IsEmpty();
|
||||
String mkf;
|
||||
|
||||
Vector<String> param, runargs;
|
||||
|
|
@ -205,6 +206,9 @@ CONSOLE_APP_MAIN
|
|||
SetVar("UPP", x, false);
|
||||
PutVerbose("Inline assembly: " + x);
|
||||
String outdir = GetDefaultUppOut();
|
||||
if (flatpak_build) {
|
||||
outdir = GetExeFolder() + DIR_SEPS + ".cache" + DIR_SEPS + "upp.out";
|
||||
}
|
||||
RealizeDirectory(outdir);
|
||||
SetVar("OUTPUT", outdir, false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue