Skip to content

Commit 3aa9f17

Browse files
committed
Update project.hxp
1 parent 7a7edd8 commit 3aa9f17

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

project.hxp

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,12 @@ class Project extends HXProject {
295295
configureIncludeMacros();
296296
configureCustomMacros();
297297
configureOutputDir();
298-
configureCppia();
299-
configurePolymod();
298+
299+
if (isDesktop()) {
300+
configureCppia();
301+
}
302+
303+
configurePolymod();
300304
configureHaxelibs();
301305
configureAssets();
302306
configureIcons();
@@ -661,13 +665,10 @@ class Project extends HXProject {
661665
setHaxedef("scriptable");
662666

663667
var platformFolder:String =
664-
if (isWeb()) 'html5';
665-
else if (isWindows()) 'windows';
668+
if (isWindows()) 'windows';
666669
else if (isLinux()) 'linux';
667670
else if (isMac()) 'macos';
668-
else if (isAndroid()) 'android';
669-
else if (isIOS()) 'ios';
670-
else throw 'Is anything else even supported?';
671+
else throw '???';
671672

672673
// in the future we will do some first remove a few classes from the .info file
673674
// and only then move it into the `bin` directory

0 commit comments

Comments
 (0)