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

Added updater functionality #6215

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

JoshuaKimsey
Copy link

Summary

  • Added functionality to check for new available versions and alert the user to them
  • Added functionality to download and run the latest version of the InvokeAI Installer, which brings back the ability to update InvokeAI directly from the launcher.
  • Foundation is in place to support listing additions, changes, and warnings on the update screen so the user can see them without needing to access the Github page.
  • Note: When the actual downloaded installer is run, it will list the wrong file path for the user's invokeai directory. This seems to stem from an issue with the python file involved with the installer. It needs to generally point to a relative path of ~/invokeai instead of trying to follow the file path the installer is located in.

Related Issues / Discussions

This re-adds the built-in updating functionality that was lost with version 4.0+, but now avoids the issues of pip trying to self-update itself.

QA Instructions

The updater functionality has been added in as option 3 on the launch menu. Test it out, either for updating or reinstalling, and see if everything works as expected.

Merge Plan

This should be clear to merge without much hassle overall, since only the invoke.sh file is involved.

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Documentation added / updated (if applicable)

- Added functionality to check for new available versions and alert the user to them
- Added functionality to download and run the latest version of the InvokeAI Installer, which brings back the ability to update InvokeAI directly from the launcher.
- Foundation is in place to support listing additions, changes, and warnings on the update screen so the user can see them without needing to access the Github page.
@github-actions github-actions bot added the installer PRs that change the installer label Apr 14, 2024
- Added functionality to check for new available versions and alert the user to them
- Added functionality to download and run the latest version of the InvokeAI Installer, which brings back the ability to update InvokeAI directly from the launcher.
- Foundation is in place to support listing additions, changes, and warnings on the update screen so the user can see them without needing to access the Github page.
@lstein
Copy link
Collaborator

lstein commented Apr 15, 2024

This looks great. I'll do a formal review over the next 1-2 days.

@psychedelicious psychedelicious mentioned this pull request Apr 28, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installer PRs that change the installer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants