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

Feature: Allow GUI to detect available update and install it #587

Merged
merged 3 commits into from
Oct 27, 2023

Conversation

shadeyg56
Copy link
Collaborator

@shadeyg56 shadeyg56 commented Oct 25, 2023

20231025_15h35m12s_grim

I brought this up in the Discord and started working on it.

Changes

  • renamed verify_update to check_for_update and will now return True if an update was found
  • GUI will prompt for an update if check_for_update() returns True
  • Calls auto-cpufreq --update in the background

In order to test this, you need to edit the version to something less than 2.0.0 in pyproject.toml and reinstall or update what the version function returns in core.py

@shadeyg56 shadeyg56 added enhancement New feature or request hacktoberfest labels Oct 25, 2023
@shadeyg56 shadeyg56 requested a review from AdnanHodzic October 25, 2023 20:37
@AdnanHodzic
Copy link
Owner

Code LGTM, and I've verified that it works as expected. Amazing work and as always thank you for your contribution!

@AdnanHodzic AdnanHodzic merged commit 34f3d23 into master Oct 27, 2023
@shadeyg56 shadeyg56 deleted the gui-dev branch October 27, 2023 14:46
shadeyg56 added a commit to shadeyg56/auto-cpufreq that referenced this pull request Feb 12, 2024
…dzic#587)

* rename verify_update and give return value

* change verify_update call

* GUI: add update feature
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants