Merge pull request #127 from FunkinCrew/bugfix/asset-redirect

Asset redirect fix (now disabled for Github Actions builds)
This commit is contained in:
Cameron Taylor 2023-08-15 21:07:10 -04:00 committed by GitHub
commit dc5adce2a1
2 changed files with 4 additions and 2 deletions

View File

@ -51,7 +51,7 @@ jobs:
- uses: ./.github/actions/setup-haxeshit - uses: ./.github/actions/setup-haxeshit
- name: Build game - name: Build game
run: | run: |
haxelib run lime build windows -debug haxelib run lime build windows -debug -DNO_REDIRECT_ASSETS_FOLDER
dir dir
- uses: ./.github/actions/upload-itch - uses: ./.github/actions/upload-itch
with: with:

View File

@ -181,7 +181,8 @@
<!-- pretends that the saved session Id was expired, forcing the reconnect prompt --> <!-- pretends that the saved session Id was expired, forcing the reconnect prompt -->
<!-- <haxedef name="NG_FORCE_EXPIRED_SESSION" if="debug" /> --> <!-- <haxedef name="NG_FORCE_EXPIRED_SESSION" if="debug" /> -->
</section> </section>
<section if="debug">
<section if="debug" unless="NO_REDIRECT_ASSETS_FOLDER || html5">
<!-- <!--
Use the parent assets folder rather than the exported one Use the parent assets folder rather than the exported one
No more will we accidentally undo our changes! No more will we accidentally undo our changes!
@ -189,6 +190,7 @@
--> -->
<haxedef name="REDIRECT_ASSETS_FOLDER" /> <haxedef name="REDIRECT_ASSETS_FOLDER" />
</section> </section>
<!-- <prebuild haxe="trace('prebuilding');"/> --> <!-- <prebuild haxe="trace('prebuilding');"/> -->
<!-- <postbuild haxe="art/Postbuild.hx"/> --> <!-- <postbuild haxe="art/Postbuild.hx"/> -->
<!-- <config:ios allow-provisioning-updates="true" team-id="" /> --> <!-- <config:ios allow-provisioning-updates="true" team-id="" /> -->