mirror of
https://github.com/Suwayomi/TachideskJUI.git
synced 2025-12-10 14:52:03 +01:00
Change temporary file extensions
This commit is contained in:
@@ -93,7 +93,7 @@ class ExtensionsScreenViewModel
|
|||||||
scope.launch {
|
scope.launch {
|
||||||
try {
|
try {
|
||||||
val file = FileSystem.SYSTEM_TEMPORARY_DIRECTORY
|
val file = FileSystem.SYSTEM_TEMPORARY_DIRECTORY
|
||||||
.resolve("tachidesk.${Random.nextLong()}.proto.gz")
|
.resolve("tachidesk.${Random.nextLong()}.apk")
|
||||||
.also { file ->
|
.also { file ->
|
||||||
source.saveTo(file)
|
source.saveTo(file)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -141,7 +141,7 @@ class SettingsBackupViewModel
|
|||||||
scope.launch {
|
scope.launch {
|
||||||
val file = try {
|
val file = try {
|
||||||
FileSystem.SYSTEM_TEMPORARY_DIRECTORY
|
FileSystem.SYSTEM_TEMPORARY_DIRECTORY
|
||||||
.resolve("tachidesk.${Random.nextLong()}.proto.gz")
|
.resolve("tachidesk.${Random.nextLong()}.tachibk")
|
||||||
.also { file ->
|
.also { file ->
|
||||||
source.saveTo(file)
|
source.saveTo(file)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user