Skip to content

Commit

Permalink
bleh
Browse files Browse the repository at this point in the history
  • Loading branch information
KarimAkra committed May 19, 2024
1 parent 8c0f80c commit d8f6ce2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@
<haxedef name="REDIRECT_ASSETS_FOLDER" />
</section>

<architecture exclude="armv7" if="android" />
<architecture exclude="armv7" if="android NO_ARMV7" />

<section>
<!--
Expand Down
2 changes: 1 addition & 1 deletion source/Main.hx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class Main extends Sprite
// For Android we determine the appropriate directory based on Android version
Sys.setCwd(haxe.io.Path.addTrailingSlash(android.os.Build.VERSION.SDK_INT > 30 ? android.content.Context.getObbDir() : // Use Obb directory for Android SDK version > 30
android.content.Context.getExternalFilesDir() // Use External Files directory for Android SDK version < 30
);
));
#elseif ios
Sys.setCwd(haxe.io.Path.addTrailingSlash(lime.system.System.documentsDirectory)); // For iOS we use documents directory and this is only way we can do.
#end
Expand Down

0 comments on commit d8f6ce2

Please sign in to comment.