mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2026-01-25 20:11:04 +00:00
Compare commits
1 Commits
v1.26.0-de
...
feat/prere
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f5b24b6d5b |
@@ -1,31 +1,3 @@
|
|||||||
# app [1.26.0-dev.5](https://github.com/ReVanced/revanced-manager/compare/v1.26.0-dev.4...v1.26.0-dev.5) (2025-10-03)
|
|
||||||
|
|
||||||
|
|
||||||
### Features
|
|
||||||
|
|
||||||
* Toggle to use pre-release versions of ReVanced Patches ([08cec67](https://github.com/ReVanced/revanced-manager/commit/08cec674bbbe5297090ac5ee6039569975fbe9e7))
|
|
||||||
|
|
||||||
# app [1.26.0-dev.4](https://github.com/ReVanced/revanced-manager/compare/v1.26.0-dev.3...v1.26.0-dev.4) (2025-10-03)
|
|
||||||
|
|
||||||
|
|
||||||
### Bug Fixes
|
|
||||||
|
|
||||||
* add newlines to debug logs ([4753873](https://github.com/ReVanced/revanced-manager/commit/4753873866b575e2dcb160020df63f63862c8f33))
|
|
||||||
|
|
||||||
# app [1.26.0-dev.3](https://github.com/ReVanced/revanced-manager/compare/v1.26.0-dev.2...v1.26.0-dev.3) (2025-10-03)
|
|
||||||
|
|
||||||
|
|
||||||
### Features
|
|
||||||
|
|
||||||
* Toggle to use pre-release versions of ReVanced Manager ([#2773](https://github.com/ReVanced/revanced-manager/issues/2773)) ([d758964](https://github.com/ReVanced/revanced-manager/commit/d7589647426b3d3438161a2f0b59bf4f154ac34b))
|
|
||||||
|
|
||||||
# app [1.26.0-dev.2](https://github.com/ReVanced/revanced-manager/compare/v1.26.0-dev.1...v1.26.0-dev.2) (2025-10-03)
|
|
||||||
|
|
||||||
|
|
||||||
### Bug Fixes
|
|
||||||
|
|
||||||
* Migration of keystore, by fixing mislabeling of alias as cn ([#2769](https://github.com/ReVanced/revanced-manager/issues/2769)) ([aeab639](https://github.com/ReVanced/revanced-manager/commit/aeab639b2b09e8bbd2478cfbf5a518586405c0f7))
|
|
||||||
|
|
||||||
# app [1.26.0-dev.1](https://github.com/ReVanced/revanced-manager/compare/v1.25.1...v1.26.0-dev.1) (2025-10-02)
|
# app [1.26.0-dev.1](https://github.com/ReVanced/revanced-manager/compare/v1.25.1...v1.26.0-dev.1) (2025-10-02)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
version = 1.26.0-dev.5
|
version = 1.26.0-dev.1
|
||||||
|
|||||||
@@ -23,7 +23,6 @@ class PreferencesManager(
|
|||||||
val managerAutoUpdates = booleanPreference("manager_auto_updates", false)
|
val managerAutoUpdates = booleanPreference("manager_auto_updates", false)
|
||||||
val showManagerUpdateDialogOnLaunch = booleanPreference("show_manager_update_dialog_on_launch", true)
|
val showManagerUpdateDialogOnLaunch = booleanPreference("show_manager_update_dialog_on_launch", true)
|
||||||
val useManagerPrereleases = booleanPreference("manager_prereleases", false)
|
val useManagerPrereleases = booleanPreference("manager_prereleases", false)
|
||||||
val usePatchesPrereleases = booleanPreference("patches_prereleases", false)
|
|
||||||
|
|
||||||
val disablePatchVersionCompatCheck = booleanPreference("disable_patch_version_compatibility_check", false)
|
val disablePatchVersionCompatCheck = booleanPreference("disable_patch_version_compatibility_check", false)
|
||||||
val disableSelectionWarning = booleanPreference("disable_selection_warning", false)
|
val disableSelectionWarning = booleanPreference("disable_selection_warning", false)
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ class ReVancedAPI(
|
|||||||
suspend fun getLatestAppInfo() =
|
suspend fun getLatestAppInfo() =
|
||||||
request<ReVancedAsset>("manager?prerelease=${prefs.useManagerPrereleases.get()}")
|
request<ReVancedAsset>("manager?prerelease=${prefs.useManagerPrereleases.get()}")
|
||||||
|
|
||||||
suspend fun getPatchesUpdate() = request<ReVancedAsset>("patches?prerelease=${prefs.usePatchesPrereleases.get()}")
|
suspend fun getPatchesUpdate() = request<ReVancedAsset>("patches")
|
||||||
|
|
||||||
suspend fun getContributors() = request<List<ReVancedGitRepository>>("contributors")
|
suspend fun getContributors() = request<List<ReVancedGitRepository>>("contributors")
|
||||||
|
|
||||||
|
|||||||
@@ -45,7 +45,6 @@ import app.revanced.manager.domain.bundles.LocalPatchBundle
|
|||||||
import app.revanced.manager.domain.bundles.PatchBundleSource
|
import app.revanced.manager.domain.bundles.PatchBundleSource
|
||||||
import app.revanced.manager.domain.bundles.PatchBundleSource.Extensions.asRemoteOrNull
|
import app.revanced.manager.domain.bundles.PatchBundleSource.Extensions.asRemoteOrNull
|
||||||
import app.revanced.manager.domain.bundles.PatchBundleSource.Extensions.isDefault
|
import app.revanced.manager.domain.bundles.PatchBundleSource.Extensions.isDefault
|
||||||
import app.revanced.manager.domain.manager.PreferencesManager
|
|
||||||
import app.revanced.manager.domain.repository.PatchBundleRepository
|
import app.revanced.manager.domain.repository.PatchBundleRepository
|
||||||
import app.revanced.manager.ui.component.ColumnWithScrollbar
|
import app.revanced.manager.ui.component.ColumnWithScrollbar
|
||||||
import app.revanced.manager.ui.component.ExceptionViewerDialog
|
import app.revanced.manager.ui.component.ExceptionViewerDialog
|
||||||
@@ -66,14 +65,12 @@ fun BundleInformationDialog(
|
|||||||
) {
|
) {
|
||||||
val bundleRepo = koinInject<PatchBundleRepository>()
|
val bundleRepo = koinInject<PatchBundleRepository>()
|
||||||
val networkInfo = koinInject<NetworkInfo>()
|
val networkInfo = koinInject<NetworkInfo>()
|
||||||
val prefs = koinInject<PreferencesManager>()
|
|
||||||
val hasNetwork = remember { networkInfo.isConnected() }
|
val hasNetwork = remember { networkInfo.isConnected() }
|
||||||
val composableScope = rememberCoroutineScope()
|
val composableScope = rememberCoroutineScope()
|
||||||
var viewCurrentBundlePatches by remember { mutableStateOf(false) }
|
var viewCurrentBundlePatches by remember { mutableStateOf(false) }
|
||||||
val isLocal = src is LocalPatchBundle
|
val isLocal = src is LocalPatchBundle
|
||||||
val bundleManifestAttributes = src.patchBundle?.manifestAttributes
|
val bundleManifestAttributes = src.patchBundle?.manifestAttributes
|
||||||
val (autoUpdate, endpoint) = src.asRemoteOrNull?.let { it.autoUpdate to it.endpoint }
|
val (autoUpdate, endpoint) = src.asRemoteOrNull?.let { it.autoUpdate to it.endpoint } ?: (null to null)
|
||||||
?: (null to null)
|
|
||||||
|
|
||||||
fun onAutoUpdateChange(new: Boolean) = composableScope.launch {
|
fun onAutoUpdateChange(new: Boolean) = composableScope.launch {
|
||||||
with(bundleRepo) {
|
with(bundleRepo) {
|
||||||
@@ -176,32 +173,6 @@ fun BundleInformationDialog(
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (src.isDefault) {
|
|
||||||
val usePrereleases by prefs.usePatchesPrereleases.getAsState()
|
|
||||||
|
|
||||||
BundleListItem(
|
|
||||||
headlineText = stringResource(R.string.patches_prereleases),
|
|
||||||
supportingText = stringResource(R.string.patches_prereleases_description),
|
|
||||||
trailingContent = {
|
|
||||||
HapticSwitch(
|
|
||||||
checked = usePrereleases,
|
|
||||||
onCheckedChange = {
|
|
||||||
composableScope.launch {
|
|
||||||
prefs.usePatchesPrereleases.update(
|
|
||||||
it
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
)
|
|
||||||
},
|
|
||||||
modifier = Modifier.clickable {
|
|
||||||
composableScope.launch {
|
|
||||||
prefs.usePatchesPrereleases.update(!usePrereleases)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
endpoint?.takeUnless { src.isDefault }?.let { url ->
|
endpoint?.takeUnless { src.isDefault }?.let { url ->
|
||||||
var showUrlInputDialog by rememberSaveable {
|
var showUrlInputDialog by rememberSaveable {
|
||||||
mutableStateOf(false)
|
mutableStateOf(false)
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ class AdvancedSettingsViewModel(
|
|||||||
app.contentResolver.openOutputStream(target)!!.bufferedWriter().use { writer ->
|
app.contentResolver.openOutputStream(target)!!.bufferedWriter().use { writer ->
|
||||||
val consumer = Redirect.Consume { flow ->
|
val consumer = Redirect.Consume { flow ->
|
||||||
flow.onEach {
|
flow.onEach {
|
||||||
writer.write("${it}\n")
|
writer.write(it)
|
||||||
}.flowOn(Dispatchers.IO).collect()
|
}.flowOn(Dispatchers.IO).collect()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -122,7 +122,6 @@ class MainViewModel(
|
|||||||
}
|
}
|
||||||
settings.usePrereleases?.let { prereleases ->
|
settings.usePrereleases?.let { prereleases ->
|
||||||
prefs.useManagerPrereleases.update(prereleases)
|
prefs.useManagerPrereleases.update(prereleases)
|
||||||
prefs.usePatchesPrereleases.update(prereleases)
|
|
||||||
}
|
}
|
||||||
settings.apiUrl?.let { api ->
|
settings.apiUrl?.let { api ->
|
||||||
prefs.api.update(api.removeSuffix("/"))
|
prefs.api.update(api.removeSuffix("/"))
|
||||||
|
|||||||
@@ -437,8 +437,6 @@
|
|||||||
<string name="auto_update">Auto update</string>
|
<string name="auto_update">Auto update</string>
|
||||||
<string name="add_patches">Add patches</string>
|
<string name="add_patches">Add patches</string>
|
||||||
<string name="auto_update_description">Automatically update when a new version is available</string>
|
<string name="auto_update_description">Automatically update when a new version is available</string>
|
||||||
<string name="patches_prereleases">Prereleases</string>
|
|
||||||
<string name="patches_prereleases_description">Use prerelease versions</string>
|
|
||||||
<string name="patches_url">Patches URL</string>
|
<string name="patches_url">Patches URL</string>
|
||||||
<string name="incompatible_patches_dialog">These patches are not compatible with the selected app version (%1$s).\n\nClick on the patches to see more details.</string>
|
<string name="incompatible_patches_dialog">These patches are not compatible with the selected app version (%1$s).\n\nClick on the patches to see more details.</string>
|
||||||
<string name="incompatible_patch">Incompatible patch</string>
|
<string name="incompatible_patch">Incompatible patch</string>
|
||||||
|
|||||||
Reference in New Issue
Block a user