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

Implement self-updating #17

Open
maouw opened this issue Oct 20, 2023 · 0 comments
Open

Implement self-updating #17

maouw opened this issue Oct 20, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@maouw
Copy link
Collaborator

maouw commented Oct 20, 2023

It would be desirable for hyakvnc to:

  • check for any updates on this repository when it is run unless it is being silenced (add a -q flag?)
  • if there is an update available:
    • print a message
    • if running interactively and there is not an environment variable like HYAKVNC_PROMPT_ON_UPDATE=1:
      • prompt to update
        • if yes, install update and restart

This could be implemented by changing the one-line install scriptlet to git clone the repository into, e.g., ~/.hyakvnc/hyakvnc and soft link ~/.local/bin/hyakvnc to '~/.hyakvnc/hyakvnc, then use the necessary git` command that checks for updates on the remote.

@maouw maouw added the enhancement New feature or request label Oct 20, 2023
@maouw maouw self-assigned this Oct 20, 2023
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
None yet
Development

No branches or pull requests

1 participant