Skip to content

Commit

Permalink
Quest 3 compatibility: Lower target SDK, update default DL dir
Browse files Browse the repository at this point in the history
  • Loading branch information
toasterofbread committed Sep 30, 2024
1 parent c3e3ccb commit d7ba6e9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion androidApp/src/androidMain/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
android:requestLegacyExternalStorage="true" >

<activity
android:name=".sinksabre.MainActivity"
android:name=".MainActivity"
android:exported="true"
android:configChanges="orientation|screenSize|screenLayout|keyboardHidden|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|layoutDirection|locale|mcc|navigation|smallestScreenSize|touchscreen|uiMode"
android:screenOrientation="landscape">
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ kotlin.mpp.androidSourceSetLayoutVersion=2
#Android
android.useAndroidX=true
android.compileSdk=34
android.targetSdk=34
android.minSdk=24
android.targetSdk=23
android.minSdk=23

# Plugin versions
kotlin.version=1.9.23
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class Settings(val context: AppContext): PreferencesGroup(null, context.getPrefs
getName = { "Local maps path" },
getDescription = { null },
getDefaultValue = {
if (context.isRunningOnQuest()) "/storage/emulated/0/ModData/com.beatgames.beatsaber/Mods/SongLoader/CustomLevels"
if (context.isRunningOnQuest()) "/storage/emulated/0/ModData/com.beatgames.beatsaber/Mods/SongCore/CustomLevels"
else when (Platform.current) {
Platform.ANDROID -> "/storage/emulated/0/BeatSaberMaps"
Platform.DESKTOP -> context.getFilesDir().resolve("maps").absolutePath
Expand Down

0 comments on commit d7ba6e9

Please sign in to comment.