diff --git a/manager/app/src/main/java/shirkneko/zako/sukisu/ui/screen/Install.kt b/manager/app/src/main/java/shirkneko/zako/sukisu/ui/screen/Install.kt index 805a9a09..b4b2ab0c 100644 --- a/manager/app/src/main/java/shirkneko/zako/sukisu/ui/screen/Install.kt +++ b/manager/app/src/main/java/shirkneko/zako/sukisu/ui/screen/Install.kt @@ -275,7 +275,7 @@ private class HorizonKernelWorker(private val context: Context) : Thread() { } private fun cleanup() { - runCommand(false, "rm -rf ${context.filesDir.absolutePath}/*") + runCommand(false, "find ${context.filesDir.absolutePath} -type f ! -name '*.jpg' ! -name '*.png' -delete") } private fun copy() { @@ -445,6 +445,7 @@ private fun SelectInstallMethod(onSelected: (InstallMethod) -> Unit = {}) { is InstallMethod.SelectFile, is InstallMethod.HorizonKernel -> { selectImageLauncher.launch(Intent(Intent.ACTION_GET_CONTENT).apply { type = "application/*" + putExtra(Intent.EXTRA_MIME_TYPES, arrayOf("application/octet-stream", "application/zip")) }) } is InstallMethod.DirectInstall -> { diff --git a/manager/app/src/main/res/drawable/ic_launcher.png b/manager/app/src/main/res/drawable/ic_launcher.png index 90a52cbb..c3cdcc69 100644 Binary files a/manager/app/src/main/res/drawable/ic_launcher.png and b/manager/app/src/main/res/drawable/ic_launcher.png differ diff --git a/manager/app/src/main/res/mipmap-hdpi/ic_launcher.png b/manager/app/src/main/res/mipmap-hdpi/ic_launcher.png index 41009140..dbffe33b 100644 Binary files a/manager/app/src/main/res/mipmap-hdpi/ic_launcher.png and b/manager/app/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/manager/app/src/main/res/mipmap-ldpi/ic_launcher.png b/manager/app/src/main/res/mipmap-ldpi/ic_launcher.png index aef1aca4..56279de8 100644 Binary files a/manager/app/src/main/res/mipmap-ldpi/ic_launcher.png and b/manager/app/src/main/res/mipmap-ldpi/ic_launcher.png differ diff --git a/manager/app/src/main/res/mipmap-mdpi/ic_launcher.png b/manager/app/src/main/res/mipmap-mdpi/ic_launcher.png index 1a5d554d..66cf90f7 100644 Binary files a/manager/app/src/main/res/mipmap-mdpi/ic_launcher.png and b/manager/app/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/manager/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/manager/app/src/main/res/mipmap-xhdpi/ic_launcher.png index e4905bd1..99d65d71 100644 Binary files a/manager/app/src/main/res/mipmap-xhdpi/ic_launcher.png and b/manager/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/manager/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/manager/app/src/main/res/mipmap-xxhdpi/ic_launcher.png index 7f294db5..387dd865 100644 Binary files a/manager/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and b/manager/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/manager/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/manager/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png index bc4426b6..aeca9bb7 100644 Binary files a/manager/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and b/manager/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ