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

Offline mode for non network connected devices #767

Closed
GamingGuy003 opened this issue May 16, 2024 · 8 comments
Closed

Offline mode for non network connected devices #767

GamingGuy003 opened this issue May 16, 2024 · 8 comments
Assignees
Labels
enhancement New feature or request

Comments

@GamingGuy003
Copy link
Collaborator

An offline mode would be useful for people running the tool on an isolated device (Raspberry PI, Nuc, whatever...) without an active internet connection.

The easiest way to detect if the tool should run in offline mode is to check , if the initial update check fails. Should this happen, we can safely assume the user does not have a working internet connection, and we can ignore further update checks. We can also disable all other online functionality (greying out the update button, etc.) until the tool is restarted

This can reduce potential delays, should the tool try to download updates which it will never be able to receive etc.

@GamingGuy003 GamingGuy003 added the enhancement New feature or request label May 16, 2024
@Benji377
Copy link
Member

Todo for me:

  • Make the update button inactive when the user has no internet connection
    (I forgot to do this in the last release 🙃 )

@GamingGuy003
Copy link
Collaborator Author

Scanning seems to function only occasionally when offline

@Benji377 Benji377 added this to the Project fully rustified milestone Jul 11, 2024
@Benji377
Copy link
Member

@GamingGuy003 fix the check_update function to work in offline mode

@GamingGuy003
Copy link
Collaborator Author

should have been fixed using with cca9cad

@Benji377
Copy link
Member

@GamingGuy003 you can close this if it works now.

@GamingGuy003
Copy link
Collaborator Author

Still needs testing on iced but after that yes

@Benji377
Copy link
Member

I can confirm it works very well on Windows 11

@GamingGuy003
Copy link
Collaborator Author

Completed with new downloader

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

2 participants