Set slimmed builds to be development only

Oh yeah, changed "debug" to "development"
This commit is contained in:
Eilionoir Tunnicliff committed 2023-04-19 10:50:30 -04:00
1 parent 2afe965570
commit 716ca0a66b
3 files changed
+7 -8

No files matched your search

+1 -7
View File
@@ -107,7 +107,7 @@ jobs:
password: ${{ secrets.ELLIE_MINI_SECRET }}
run: |
export PATH=/opt/procursus/bin:/opt/homebrew/bin:$PATH
export RUNNER=1 SLIMMED=1
export RUNNER=1
gmake -j$(sysctl -n hw.ncpu) dsym package PLATFORM=${{ matrix.platform }}
- name: Upload regular ipa
@@ -116,12 +116,6 @@ jobs:
name: net.kdt.pojavlauncher-${{ matrix.platform_name }}.ipa
path: artifacts/net.kdt.pojavlauncher-*-${{ matrix.platform_name }}.ipa
- name: Upload slimmed ipa
uses: actions/upload-artifact@v2
with:
name: net.kdt.pojavlauncher.slimmed-${{ matrix.platform_name }}.ipa
path: artifacts/net.kdt.pojavlauncher.slimmed-*-${{ matrix.platform_name }}.ipa
- name: Upload PojavLauncher.dSYM
uses: actions/upload-artifact@v2
with:
+1 -1
View File
@@ -9,7 +9,7 @@
#if CONFIG_RELEASE
# define CONFIG_TYPE "release"
#else
# define CONFIG_TYPE "debug"
# define CONFIG_TYPE "development"
#endif
#cmakedefine CONFIG_BRANCH "@CONFIG_BRANCH@"
+5
View File
@@ -139,11 +139,16 @@ void init_logDeviceAndVer(char *argument) {
NSLog(@"[Pre-Init] Device: %s", getenv("POJAV_DETECTEDHW"));
NSLog(@"[Pre-Init] iOS %s (%s)", getenv("POJAV_DETECTEDSW"), getenv("POJAV_DETECTEDINST"));
NSString *jvmPath = [NSString stringWithFormat:@"%s/java_runtimes", getenv("BUNDLE_PATH")];
if (![fm fileExistsAtPath:jvmPath]) {
#if !CONFIG_RELEASE
setenv("POJAV_PREFER_EXTERNAL_JRE", "1", 1);
NSLog(@"[Java] !!! THIS FEATURE IS A WORK IN PROGRESS !!!");
NSLog(@"[Java] Loading runtimes from Documents directory.");
#else
NSLog(@"[Java] No runtimes available to use.");
#endif
}
NSLog(@"[Pre-init] Entitlements availability:");