From 15892381dc575d09b105d4826bdc88aa6e496257 Mon Sep 17 00:00:00 2001 From: BarsTiger Date: Sat, 4 Jun 2022 15:25:35 +0300 Subject: [PATCH] Added docs for versions --- docs/developers/cli-uploading.md | 2 +- docs/developers/versions.md | 12 ++++++++++++ docs/users/app-info.md | 2 +- docs/users/search.md | 2 +- docs/users/sources.md | 2 +- docs/users/updating.md | 30 +++++++++++++++++++++++++----- 6 files changed, 41 insertions(+), 9 deletions(-) create mode 100644 docs/developers/versions.md diff --git a/docs/developers/cli-uploading.md b/docs/developers/cli-uploading.md index f3402b3..2fdc630 100644 --- a/docs/developers/cli-uploading.md +++ b/docs/developers/cli-uploading.md @@ -10,7 +10,7 @@ horsy upload Or if you prefer TUI: ``` horsy -4 +5 ``` ## Logging in diff --git a/docs/developers/versions.md b/docs/developers/versions.md new file mode 100644 index 0000000..eca3cc2 --- /dev/null +++ b/docs/developers/versions.md @@ -0,0 +1,12 @@ +--- +sidebar_position: 8 +--- + +# Version system +We use version system to keep track of app updates. + +To force update, you can use button in GUI. + +Navigate to `Account` tab, select package in `Manage your packages` table and click `Request selected package update on user side` button. + +When user will click on `Check all updates` button, or will use `horsy updates` command, horsy will notify about new versions of apps. diff --git a/docs/users/app-info.md b/docs/users/app-info.md index c28e58a..0de090e 100644 --- a/docs/users/app-info.md +++ b/docs/users/app-info.md @@ -16,7 +16,7 @@ horsy info ## TUI ``` horsy -6 +7 ``` diff --git a/docs/users/search.md b/docs/users/search.md index df93368..a8dc954 100644 --- a/docs/users/search.md +++ b/docs/users/search.md @@ -16,7 +16,7 @@ Query can be part of app name or description. # TUI ``` horsy -5 +6 ``` diff --git a/docs/users/sources.md b/docs/users/sources.md index 1aa34f5..38e4e7e 100644 --- a/docs/users/sources.md +++ b/docs/users/sources.md @@ -14,7 +14,7 @@ horsy source ## TUI ``` horsy -2 +3 ``` diff --git a/docs/users/updating.md b/docs/users/updating.md index dfe022a..b763d78 100644 --- a/docs/users/updating.md +++ b/docs/users/updating.md @@ -5,17 +5,37 @@ sidebar_position: 8 # Updating app # CLI, TUI -You can just update the app by re-running install command: +You can check updates by running: ``` -horsy install +horsy u ``` +or +``` +horsy updates +``` +TUI: +``` +horsy +2 +``` + +You will see output like this: +``` +Use following commands to update apps: + +horsy i autobridge +horsy i drawhorse +horsy i kotogamescam +horsy i wordython +``` +Copy commands and run them in terminal. # GUI -Select app in `Installed` tab +Press `Check all updates` in `Installed` tab -Select needed app +App that have new version will be highlighted with `!` symbol before name. -Click `Update` button +Click `Update` button on these apps ## What happens horsy will download newest version of app and replace old one