This commit is contained in:
RandomityGuy 2024-07-12 23:26:55 +05:30
parent 28221b5f8a
commit 54ca32e8b9
3 changed files with 13 additions and 10 deletions

View file

@ -29,7 +29,7 @@ jobs:
name: Install dependencies
command: |
set -eux
download_url="https://github.com/HaxeFoundation/haxe/releases/download/4.3.3/haxe-4.3.3-linux64.tar.gz"
download_url="https://github.com/HaxeFoundation/haxe/releases/download/4.3.4/haxe-4.3.4-linux64.tar.gz"
echo "Downloading [$download_url]..."
mkdir /tmp/haxe
curl -fsSL --retry 3 --retry-delay 5 "$download_url" -o /tmp/haxe.tar.gz
@ -66,11 +66,14 @@ jobs:
mkdir ~/deps
cd ~/deps
git clone https://github.com/RandomityGuy/hashlink
git clone https://github.com/RandomityGuy/hxDatachannel
haxelib git heaps https://github.com/RandomityGuy/heaps
haxelib dev hlopenal ~/deps/hashlink/libs/openal
haxelib dev hlsdl ~/deps/hashlink/libs/sdl
haxelib dev hashlink ~/deps/hashlink/other/haxelib
haxelib git zyheaps https://github.com/rainyt/zyheaps
haxelib install colyseus-websocket
haxelib dev datachannel ~/deps/hxDatachannel
- run:
name: Prepare directories
command: |
@ -90,6 +93,8 @@ jobs:
command: |
export PATH=/tmp/haxe/:"$PATH"
cd ~/MBHaxe
sed -i '5i -lib datachannel' Export/android/app/src/main/build.hxml
sed -i '5i -lib colyseus-websocket' Export/android/app/src/main/build.hxml
haxe Export/android/app/src/main/build.hxml
mkdir -p Export/android/app/src/main/assets/data
cp -rf data/* Export/android/app/src/main/assets/data

View file

@ -4,14 +4,13 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.randomityguy.mbhaxe.mbp"
android:installLocation="auto"
android:versionCode="1"
android:versionName="1.5.0">
android:versionCode="2"
android:versionName="1.6.0">
<!-- Tell the system this app requires OpenGL ES 3.0. -->
<uses-feature android:glEsVersion="0x00030000" android:required="true" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application android:label="@string/app_name"
@ -27,7 +26,7 @@
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:exported="true"
android:screenOrientation="sensorLandscape"
>
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
@ -35,4 +34,4 @@
</activity>
</application>
</manifest>
</manifest>

View file

@ -1,6 +1,5 @@
#Sun Nov 21 12:46:43 PST 2021
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStoreBase=GRADLE_USER_HOME