From 8681f89b7061a0db0f5bfb78b1cb514a18dfaca7 Mon Sep 17 00:00:00 2001
From: chiteroman <98092901+chiteroman@users.noreply.github.com>
Date: Thu, 18 Jul 2024 13:40:26 +0200
Subject: [PATCH] updates
---
.idea/other.xml | 263 --------------------------------
.idea/runConfigurations.xml | 13 ++
.idea/vcs.xml | 2 +-
app/build.gradle.kts | 13 +-
app/src/main/cpp/CMakeLists.txt | 4 +-
app/src/main/cpp/main.cpp | 159 ++++++++-----------
build.gradle.kts | 2 +-
module/customize.sh | 6 +
module/pif.json | 91 +----------
9 files changed, 95 insertions(+), 458 deletions(-)
delete mode 100644 .idea/other.xml
create mode 100644 .idea/runConfigurations.xml
diff --git a/.idea/other.xml b/.idea/other.xml
deleted file mode 100644
index 8047a35..0000000
--- a/.idea/other.xml
+++ /dev/null
@@ -1,263 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/runConfigurations.xml b/.idea/runConfigurations.xml
new file mode 100644
index 0000000..aaa17d9
--- /dev/null
+++ b/.idea/runConfigurations.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index aa851fd..c741307 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -2,6 +2,6 @@
-
+
\ No newline at end of file
diff --git a/app/build.gradle.kts b/app/build.gradle.kts
index 81f6e41..28530af 100644
--- a/app/build.gradle.kts
+++ b/app/build.gradle.kts
@@ -4,8 +4,8 @@ plugins {
android {
namespace = "es.chiteroman.playintegrityfix"
- compileSdk = 34
- ndkVersion = "26.3.11579264"
+ compileSdk = 35
+ ndkVersion = "27.0.12077973"
buildToolsVersion = "34.0.0"
buildFeatures {
@@ -15,17 +15,16 @@ android {
defaultConfig {
applicationId = "es.chiteroman.playintegrityfix"
minSdk = 26
- targetSdk = 34
+ targetSdk = 35
versionCode = 16500
versionName = "v16.6"
multiDexEnabled = false
packaging {
resources {
- excludes += "META-INF/**"
+ excludes += "**"
}
jniLibs {
- excludes += "**/liblog.so"
excludes += "**/libdobby.so"
}
}
@@ -38,7 +37,7 @@ android {
cFlags += "-w"
cppFlags += "-w"
- cppFlags += "-std=c++20"
+ cppFlags += "-std=c++2c"
cppFlags += "-fno-exceptions"
cppFlags += "-fno-rtti"
cppFlags += "-fvisibility=hidden"
@@ -72,7 +71,7 @@ android {
}
dependencies {
- implementation("dev.rikka.ndk.thirdparty:cxx:1.2.0")
+ implementation("org.lsposed.libcxx:libcxx:27.0.12077973")
}
tasks.register("updateModuleProp") {
diff --git a/app/src/main/cpp/CMakeLists.txt b/app/src/main/cpp/CMakeLists.txt
index d3b8b4f..6c9464f 100644
--- a/app/src/main/cpp/CMakeLists.txt
+++ b/app/src/main/cpp/CMakeLists.txt
@@ -4,12 +4,10 @@ project(playintegrityfix)
find_package(cxx REQUIRED CONFIG)
-link_libraries(log)
-
link_libraries(cxx::cxx)
add_library(${CMAKE_PROJECT_NAME} SHARED main.cpp)
add_subdirectory(Dobby)
-target_link_libraries(${CMAKE_PROJECT_NAME} PRIVATE dobby_static)
\ No newline at end of file
+target_link_libraries(${CMAKE_PROJECT_NAME} PRIVATE log dobby_static)
\ No newline at end of file
diff --git a/app/src/main/cpp/main.cpp b/app/src/main/cpp/main.cpp
index ed5873e..8c8e7f0 100644
--- a/app/src/main/cpp/main.cpp
+++ b/app/src/main/cpp/main.cpp
@@ -2,9 +2,10 @@
#include
#include
#include