Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# TEST REPOSITORY
DON'T INSTALL RELEASES!
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ android {
minSdk 26
targetSdk 34
versionCode 54
versionName "1.6.9"
versionName "1.7.0TEST"

externalNativeBuild {
cmake {
Expand Down
51 changes: 27 additions & 24 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="28" />
Expand All @@ -15,7 +16,6 @@
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
<uses-permission android:name="android.permission.NFC" />


<application
android:name=".SMLApplication"
android:allowBackup="true"
Expand All @@ -29,6 +29,7 @@
android:supportsRtl="false"
android:theme="@style/Theme.Design.NoActionBar"
tools:targetApi="34">

<provider
android:name="androidx.core.content.FileProvider"
android:authorities="git.artdeell.skymodloader.provider"
Expand All @@ -37,8 +38,8 @@
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/recordpaths" />

</provider>

<activity
android:name=".updater.CanvasUpdaterActivity"
android:exported="false"
Expand All @@ -49,11 +50,18 @@
android:name=".updater.CanvasUpdaterService"
android:exported="false"
android:process=":updater" />

<service
android:name=".updater.ModUpdaterService"
android:exported="false"
android:process=":mod_updater"/>

<service
android:name=".LogcatMonitorService"
android:enabled="true"
android:exported="false"
android:foregroundServiceType="dataSync" />

<activity
android:name=".elfmod.ModManagerActivity"
android:exported="true"
Expand All @@ -68,38 +76,32 @@
</activity>

<activity
android:name="com.tgc.sky.GameActivity"
android:colorMode="wideColorGamut"
android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale"
android:keepScreenOn="true"
android:launchMode="singleTask"
android:resizeableActivity="true"
android:screenOrientation="sensorLandscape"
android:theme="@style/SkyFullscreenTheme">
android:name=".SettingsActivity"
android:exported="false"
android:screenOrientation="portrait"
android:theme="@style/AppTheme" />

<activity
android:name="com.tgc.sky.GameActivity"
android:colorMode="wideColorGamut"
android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale"
android:keepScreenOn="true"
android:launchMode="singleTask"
android:resizeableActivity="true"
android:screenOrientation="sensorLandscape"
android:theme="@style/SkyFullscreenTheme">
<meta-data android:name="android.notch_support" android:value="true"/>
<meta-data android:name="notch.config" android:value="portrait|landscape"/>
</activity>

<activity android:name="com.tgc.sky.TGCNativeActivity" />

<activity
android:name=".MainActivity"
android:exported="false"
android:screenOrientation="sensorLandscape">
</activity>

<!--<activity
android:name=".elfmod.ModManagerActivity"
android:exported="true"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:resizeableActivity="false"
android:theme="@style/AppTheme">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity> -->


<provider
android:name="git.artdeell.skymodloader.updater.Updater"
android:authorities="git.artdeell.skymodloader.updater"
Expand All @@ -111,6 +113,7 @@
</provider>

</application>

<queries>
<package android:name="com.tgc.sky.android" />
<package android:name="com.tgc.sky.android.huawei" />
Expand Down
12 changes: 1 addition & 11 deletions app/src/main/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,14 @@
cmake_minimum_required(VERSION 3.18.1)


#set(CMAKE_BUILD_TYPE RelWithDebInfo)
#set(CMAKE_BUILD_TYPE Debug)
set(CMAKE_BUILD_TYPE Release)


if(CMAKE_BUILD_TYPE STREQUAL "Release")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3 -flto -fuse-linker-plugin -finline-functions -fomit-frame-pointer -falign-functions -falign-jumps")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 -flto -fuse-linker-plugin -finline-functions -fomit-frame-pointer -falign-functions -falign-jumps")
endif()


project("imgui")


add_library(ktx_read SHARED IMPORTED)
set_target_properties(ktx_read PROPERTIES IMPORTED_LOCATION ${CMAKE_SOURCE_DIR}/Utils/ktx/libktx_read.so)

Expand All @@ -34,7 +28,6 @@ add_library(
scroll.cpp
Core/imgui/backends/imgui_impl_opengl3.cpp
Utils/imgui_androidbk/androidbk.cpp

)

target_include_directories(
Expand All @@ -46,18 +39,15 @@ target_include_directories(

target_compile_options(ciphered PUBLIC $<$<COMPILE_LANGUAGE:CXX>:-Werror -std=c++17 -Wno-error=c++11-narrowing -Wall>)
target_compile_options(ciphered PUBLIC -w -s -Wno-error=format-security -fpermissive -fexceptions)
#target_link_options(cpihered PUBLIC -Wl,--gc-sections,--strip-all,-llog)

#add_definitions(-DkNO_KEYSTONE)
if (NOT kNO_KEYSTONE)
set(keystone ${CMAKE_CURRENT_SOURCE_DIR}/Utils/KittyMemory/KittyMemory/Deps/Keystone/libs-android/arm64-v8a/libkeystone.a)
target_link_libraries(ciphered ${keystone})
endif()

find_package(shadowhook REQUIRED CONFIG)


target_link_libraries( # Specifies the target library.
target_link_libraries(
ciphered
ktx_read
log
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/com/tgc/sky/BuildConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public class BuildConfig {
public static String SKY_STAGE_NAME = "Live";
public static String SKY_SERVER_HOSTNAME = "live.radiance.thatgamecompany.com";
public static String SKY_VERSION = "0.17.5";
public static final String SKY_BUILD_ACCESS_KEY = "1743442606-0c9545db24db0fee924a028c500c75f968145e6f15d2535ff2ca414798eba96a";
public static String SKY_BUILD_ACCESS_KEY = "1743442606-3de96bd2ce8644c9d7144775e38bb8de13b3ac9b15e2984b0304445c5bbe0174";

public static int VERSION_CODE = 192395;
}
1 change: 1 addition & 0 deletions app/src/main/java/com/tgc/sky/SystemIO_android.java
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ public static SystemIO_android getInstance() {

SystemIO_android(GameActivity gameActivity) {
this.m_activity = gameActivity;
DeviceKey.setContext(gameActivity.getApplicationContext());
boolean z = false;
this.m_isOtherAudioPlaying = false;
this.m_isPhonecallActive = false;
Expand Down
Loading
Loading