mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-06-12 20:57:36 +02:00
refactor: change package name.
This commit is contained in:
@ -43,7 +43,7 @@ android {
|
||||
}
|
||||
|
||||
defaultConfig {
|
||||
applicationId "app.revanced.manager"
|
||||
applicationId "app.revanced.manager.flutter"
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 33
|
||||
versionCode flutterVersionCode.toInteger()
|
||||
|
@ -1,4 +1,4 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="app.revanced.manager">
|
||||
package="app.revanced.manager.flutter">
|
||||
<uses-permission android:name="android.permission.INTERNET"/>
|
||||
</manifest>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="app.revanced.manager">
|
||||
package="app.revanced.manager.flutter">
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
||||
|
@ -1,13 +1,13 @@
|
||||
package app.revanced.manager
|
||||
package app.revanced.manager.flutter
|
||||
|
||||
import android.os.Handler
|
||||
import android.os.Looper
|
||||
import androidx.annotation.NonNull
|
||||
import app.revanced.manager.utils.Aapt
|
||||
import app.revanced.manager.utils.aligning.ZipAligner
|
||||
import app.revanced.manager.utils.signing.Signer
|
||||
import app.revanced.manager.utils.zip.ZipFile
|
||||
import app.revanced.manager.utils.zip.structures.ZipEntry
|
||||
import app.revanced.manager.flutter.utils.Aapt
|
||||
import app.revanced.manager.flutter.utils.aligning.ZipAligner
|
||||
import app.revanced.manager.flutter.utils.signing.Signer
|
||||
import app.revanced.manager.flutter.utils.zip.ZipFile
|
||||
import app.revanced.manager.flutter.utils.zip.structures.ZipEntry
|
||||
import app.revanced.patcher.Patcher
|
||||
import app.revanced.patcher.PatcherOptions
|
||||
import app.revanced.patcher.extensions.PatchExtensions.patchName
|
||||
@ -22,8 +22,8 @@ import java.nio.file.Files
|
||||
import java.nio.file.StandardCopyOption
|
||||
|
||||
class MainActivity : FlutterActivity() {
|
||||
private val PATCHER_CHANNEL = "app.revanced.manager/patcher"
|
||||
private val INSTALLER_CHANNEL = "app.revanced.manager/installer"
|
||||
private val PATCHER_CHANNEL = "app.revanced.manager.flutter/patcher"
|
||||
private val INSTALLER_CHANNEL = "app.revanced.manager.flutter/installer"
|
||||
private val handler = Handler(Looper.getMainLooper())
|
||||
private lateinit var installerChannel: MethodChannel
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
package app.revanced.manager.utils
|
||||
package app.revanced.manager.flutter.utils
|
||||
|
||||
import android.content.Context
|
||||
import java.io.File
|
||||
|
@ -1,6 +1,6 @@
|
||||
package app.revanced.manager.utils.aligning
|
||||
package app.revanced.manager.flutter.utils.aligning
|
||||
|
||||
import app.revanced.manager.utils.zip.structures.ZipEntry
|
||||
import app.revanced.manager.flutter.utils.zip.structures.ZipEntry
|
||||
|
||||
internal object ZipAligner {
|
||||
private const val DEFAULT_ALIGNMENT = 4
|
||||
|
@ -1,4 +1,4 @@
|
||||
package app.revanced.manager.utils.signing
|
||||
package app.revanced.manager.flutter.utils.signing
|
||||
|
||||
import com.android.apksig.ApkSigner
|
||||
import org.bouncycastle.asn1.x500.X500Name
|
||||
|
@ -1,4 +1,4 @@
|
||||
package app.revanced.manager.utils.zip
|
||||
package app.revanced.manager.flutter.utils.zip
|
||||
|
||||
import java.io.DataInput
|
||||
import java.io.DataOutput
|
||||
|
@ -1,7 +1,7 @@
|
||||
package app.revanced.manager.utils.zip
|
||||
package app.revanced.manager.flutter.utils.zip
|
||||
|
||||
import app.revanced.manager.utils.zip.structures.ZipEndRecord
|
||||
import app.revanced.manager.utils.zip.structures.ZipEntry
|
||||
import app.revanced.manager.flutter.utils.zip.structures.ZipEndRecord
|
||||
import app.revanced.manager.flutter.utils.zip.structures.ZipEntry
|
||||
import java.io.Closeable
|
||||
import java.io.File
|
||||
import java.io.RandomAccessFile
|
||||
|
@ -1,9 +1,9 @@
|
||||
package app.revanced.manager.utils.zip.structures
|
||||
package app.revanced.manager.flutter.utils.zip.structures
|
||||
|
||||
import app.revanced.manager.utils.zip.putUInt
|
||||
import app.revanced.manager.utils.zip.putUShort
|
||||
import app.revanced.manager.utils.zip.readUIntLE
|
||||
import app.revanced.manager.utils.zip.readUShortLE
|
||||
import app.revanced.manager.flutter.utils.zip.putUInt
|
||||
import app.revanced.manager.flutter.utils.zip.putUShort
|
||||
import app.revanced.manager.flutter.utils.zip.readUIntLE
|
||||
import app.revanced.manager.flutter.utils.zip.readUShortLE
|
||||
import java.io.DataInput
|
||||
import java.nio.ByteBuffer
|
||||
import java.nio.ByteOrder
|
||||
|
@ -1,6 +1,6 @@
|
||||
package app.revanced.manager.utils.zip.structures
|
||||
package app.revanced.manager.flutter.utils.zip.structures
|
||||
|
||||
import app.revanced.manager.utils.zip.*
|
||||
import app.revanced.manager.flutter.utils.zip.*
|
||||
import java.io.DataInput
|
||||
import java.nio.ByteBuffer
|
||||
import java.nio.ByteOrder
|
||||
|
@ -1,4 +1,4 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="app.revanced.manager">
|
||||
package="app.revanced.manager.flutter">
|
||||
<uses-permission android:name="android.permission.INTERNET"/>
|
||||
</manifest>
|
||||
|
Reference in New Issue
Block a user