mirror of
https://github.com/Cateners/tiny_computer.git
synced 2026-05-21 00:45:49 +08:00
Fix QQ, remove static elf, downgrade hangover, add dxvk, update dependencies, update code to 1.0.23
This commit is contained in:
@@ -22,7 +22,8 @@
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:usesCleartextTraffic="true"
|
||||
android:launchMode="singleInstance"
|
||||
android:theme="@style/App.Theme">
|
||||
android:theme="@style/App.Theme"
|
||||
android:extractNativeLibs="true">
|
||||
<activity
|
||||
android:name=".MainActivity"
|
||||
android:exported="true"
|
||||
@@ -47,8 +48,8 @@
|
||||
<activity android:name="com.example.tiny_computer.Signal9Activity" />
|
||||
<activity-alias
|
||||
android:name="com.gaurav.avnc.UriReceiverActivity"
|
||||
android:targetActivity="com.gaurav.avnc.ui.vnc.IntentReceiverActivity">
|
||||
|
||||
android:targetActivity="com.gaurav.avnc.ui.vnc.IntentReceiverActivity"
|
||||
android:exported="false">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
||||
@@ -100,7 +101,8 @@
|
||||
android:name="com.termux.x11.LoriePreferences"
|
||||
android:supportsPictureInPicture="false"
|
||||
android:resizeableActivity="true"
|
||||
android:process=":x11">
|
||||
android:process=":x11"
|
||||
android:exported="false">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.APPLICATION_PREFERENCES" />
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
@@ -234,7 +234,8 @@ public class CmdEntryPoint extends ICmdEntryInterface.Stub {
|
||||
String libPath = res != null ? res.getFile().replace("file:", "") : null;
|
||||
if (libPath != null) {
|
||||
try {
|
||||
System.load(libPath);
|
||||
//System.load(libPath);
|
||||
System.loadLibrary("Xlorie");
|
||||
} catch (Exception e) {
|
||||
Log.e("CmdEntryPoint", "Failed to dlopen " + libPath, e);
|
||||
System.err.println("Failed to load native library. Did you install the right apk? Try the universal one.");
|
||||
|
||||
@@ -66,6 +66,9 @@ class MainActivity: FlutterActivity() {
|
||||
startActivity(Intent(this, com.termux.x11.MainActivity::class.java))
|
||||
result.success(0)
|
||||
}
|
||||
"getNativeLibraryPath" -> {
|
||||
result.success(getApplicationInfo().nativeLibraryDir)
|
||||
}
|
||||
else -> {
|
||||
// 不支持的方法名
|
||||
result.notImplemented()
|
||||
|
||||
Reference in New Issue
Block a user