世界 4 anos atrás
pai
commit
ba8f0d3221
2 arquivos alterados com 3 adições e 11 exclusões
  1. 2 1
      app/proguard-rules.pro
  2. 1 10
      plugin/src/main/AndroidManifest.xml

+ 2 - 1
app/proguard-rules.pro

@@ -6,4 +6,5 @@
 -keep class org.yaml.snakeyaml.** { *; }
 -keep class org.yaml.snakeyaml.** { *; }
 
--keepattributes SourceFile
+-keepattributes SourceFile, LineNumberTable
+-dontobfuscate

+ 1 - 10
plugin/src/main/AndroidManifest.xml

@@ -1,13 +1,4 @@
 <?xml version="1.0" encoding="utf-8"?>
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     package="io.nekohasekai.sagernet.plugin"
-    android:installLocation="internalOnly"
-    android:sharedUserId="io.nekohasekai.sagernet">
-
-    <application>
-        <meta-data
-            android:name="io.nekohasekai.sagernet.plugin.version"
-            android:value="1.0" />
-    </application>
-
-</manifest>
+    android:installLocation="internalOnly" />