Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
0xff26b9a8 committed Mar 17, 2021
1 parent 6d10b55 commit 1f1d9e1
Show file tree
Hide file tree
Showing 23 changed files with 126 additions and 388 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# MiMacroPatch
XiaoMi MIUI Macro Patch
# MiRatePatch
XiaoMi MIUI Rate Patch
3 changes: 1 addition & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ android {
compileSdkVersion 30
buildToolsVersion "30.0.3"
defaultConfig {
applicationId "st.s2ti.mimacropatch"
applicationId "st.s2ti.miratepatch"
minSdkVersion 29
targetSdkVersion 30
versionCode 7
Expand Down Expand Up @@ -40,6 +40,5 @@ dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.3.0-beta01'
implementation 'androidx.preference:preference:1.1.1'
implementation 'com.alibaba:fastjson:1.1.72.android'
compileOnly 'de.robv.android.xposed:api:82'
}
2 changes: 1 addition & 1 deletion app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-keep class st.s2ti.mimacropatch.MainHook
-keep class st.s2ti.miratepatch.MainHook

6 changes: 3 additions & 3 deletions app/release/output-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"type": "APK",
"kind": "Directory"
},
"applicationId": "st.s2ti.mimacropatch",
"applicationId": "st.s2ti.miratepatch",
"variantName": "processReleaseResources",
"elements": [
{
"type": "SINGLE",
"filters": [],
"versionCode": 1,
"versionName": "1.0",
"versionCode": 7,
"versionName": "1.6",
"outputFile": "app-release.apk"
}
]
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="st.s2ti.mimacropatch">

package="st.s2ti.miratepatch">
<uses-permission android:name="com.xiaomi.macro.permission"/>
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name="st.s2ti.mimacropatch.SettingsActivity">
<activity android:name="st.s2ti.miratepatch.SettingsActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="de.robv.android.xposed.category.MODULE_SETTINGS" />
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/assets/xposed_init
Original file line number Diff line number Diff line change
@@ -1 +1 @@
st.s2ti.mimacropatch.MainHook
st.s2ti.miratepatch.MainHook
23 changes: 0 additions & 23 deletions app/src/main/java/st/s2ti/mimacropatch/MacroUtils.java

This file was deleted.

23 changes: 0 additions & 23 deletions app/src/main/java/st/s2ti/mimacropatch/MainHook.java

This file was deleted.

128 changes: 0 additions & 128 deletions app/src/main/java/st/s2ti/mimacropatch/MiMacroPatch.java

This file was deleted.

93 changes: 0 additions & 93 deletions app/src/main/java/st/s2ti/mimacropatch/plugins/ForceMacro.java

This file was deleted.

9 changes: 0 additions & 9 deletions app/src/main/java/st/s2ti/mimacropatch/plugins/IPlugin.java

This file was deleted.

32 changes: 0 additions & 32 deletions app/src/main/java/st/s2ti/mimacropatch/plugins/SGame.java

This file was deleted.

Loading

0 comments on commit 1f1d9e1

Please sign in to comment.