Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to check for unstable releases #2200

Merged
merged 3 commits into from
Jun 11, 2024
Merged

Conversation

iscle
Copy link
Contributor

@iscle iscle commented Jun 11, 2024

Description

This PR allows the Jadx updater to check for unstable releases. This will be useful for a later PR I'm working on which will allow for auto-updates, without the need to manually download the zip and extract it.

Many of us are using the unstable build as stable builds typically take a lot of time to be released and we always want the latest fixes and features (and bugs :P)

In a future PR which will be based in this code, I will add the option for jadx to auto-update just like other software do.

A settings option has been added to choose between the STABLE release channel (default, as always has been) or UNSTABLE (new behavior).

I chose to convert the code to kotlin since it looks a bit cleaner and has convenient features when handling Closeables and null checking.

@iscle
Copy link
Contributor Author

iscle commented Jun 11, 2024

It looks like the checks have not passed due to an internal github error while processing the jobs @skylot

@skylot
Copy link
Owner

skylot commented Jun 11, 2024

@iscle looks good 👍

checks have not passed due to an internal github error

Manual re-run didn't help, looks like github issues not fixed yet. Will try to run again later.

jadx-gui/src/main/java/jadx/gui/update/JadxUpdate.kt Dismissed Show dismissed Hide dismissed
jadx-gui/src/main/java/jadx/gui/update/JadxUpdate.kt Dismissed Show dismissed Hide dismissed
jadx-gui/src/main/java/jadx/gui/update/JadxUpdate.kt Dismissed Show dismissed Hide dismissed
@skylot skylot merged commit 74ddfde into skylot:master Jun 11, 2024
5 checks passed
@iscle iscle deleted the unstable-updater branch June 11, 2024 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants