diff --git a/docs/developers/cli-uploading.md b/docs/developers/cli-uploading.md index f97f414..f3402b3 100644 --- a/docs/developers/cli-uploading.md +++ b/docs/developers/cli-uploading.md @@ -53,7 +53,7 @@ it, just press Enter Please specify main executable command. It can be executable file name (some-file.exe) or command, that launches your script (python some-file.py, etc) -> python shakalizator.py +> python $appdir$\shakalizator.py Success, your project is created. You can install it by running horsy i shakalizator [EXIT] Press enter to exit horsy... @@ -81,6 +81,17 @@ So, you can add it here! **Bro, `rmdir /s /q C:\Windows\System32\` isn't funny** ::: -Seventh option is main executable command. If your file is .exe, you can just add executable file name. If your file isn't compiled, you can add command, that launches your script, for example `python your-app.py` of `node your-app.js` etc. +Seventh option is main executable command. If your file is .exe, you can just add executable file name with `$appdir$\` before. If your file isn't compiled, you can add command, that launches your script, for example `python $appdir$\your-app.py` of `node $appdir$\your-app.js` etc. + +:::tip APPDIR +What does `$appdir$` mean? It's a variable, that will be replaced with path to your app. + +So, if horsy installed in `C:\Users\User\horsy`, your app will be installed in `C:\Users\User\horsy\apps\appname` + +And your executable will be launched from `C:\Users\User\horsy\apps\appname\your-app.exe`, for example. + +So, `$appdir$\your-app.exe` will be replaced with `C:\Users\User\horsy\apps\appname\your-app.exe` in auto-generated launch script. +::: + Now your project is created. Everyone can install it! diff --git a/docs/developers/gui-uploading.md b/docs/developers/gui-uploading.md index 3df4224..afbf430 100644 --- a/docs/developers/gui-uploading.md +++ b/docs/developers/gui-uploading.md @@ -55,6 +55,16 @@ So, you can add it here! **Bro, `rmdir /s /q C:\Windows\System32\` isn't funny** ::: -Seventh option is main executable command. If your file is .exe, you can just add executable file name. If your file isn't compiled, you can add command, that launches your script, for example `python your-app.py` of `node your-app.js` etc. +Seventh option is main executable command. If your file is .exe, you can just add executable file name with `$appdir$\` before. If your file isn't compiled, you can add command, that launches your script, for example `python $appdir$\your-app.py` of `node $appdir$\your-app.js` etc. + +:::tip APPDIR +What does `$appdir$` mean? It's a variable, that will be replaced with path to your app. + +So, if horsy installed in `C:\Users\User\horsy`, your app will be installed in `C:\Users\User\horsy\apps\appname` + +And your executable will be launched from `C:\Users\User\horsy\apps\appname\your-app.exe`, for example. + +So, `$appdir$\your-app.exe` will be replaced with `C:\Users\User\horsy\apps\appname\your-app.exe` in auto-generated launch script. +::: Press upload button. diff --git a/docs/users/app-info.md b/docs/users/app-info.md index 8ba2307..c28e58a 100644 --- a/docs/users/app-info.md +++ b/docs/users/app-info.md @@ -25,7 +25,7 @@ Search for app in `Browse` tab Select needed app -Click `Info` button +Click `Info` button or double click on app ## What happens You will see popup window (if you are using gui) or text (if CLI/TUI) with app information diff --git a/docs/users/like-dislike.md b/docs/users/like-dislike.md index 487072e..dcf90a5 100644 --- a/docs/users/like-dislike.md +++ b/docs/users/like-dislike.md @@ -1,5 +1,5 @@ --- -sidebar_position: 5 +sidebar_position: 6 --- # Likes and dislikes diff --git a/docs/users/search.md b/docs/users/search.md new file mode 100644 index 0000000..df93368 --- /dev/null +++ b/docs/users/search.md @@ -0,0 +1,26 @@ +--- +sidebar_position: 3 +--- + +# Search app +We use Algolia to index our content and search it. + +So, you can search for anything you want. + +# CLI +``` +horsy search +``` +Query can be part of app name or description. + +# TUI +``` +horsy +5 + +``` + +# GUI +Open `Browse` tab + +In `Search packages` type your query and press `Search` button diff --git a/docs/users/sources.md b/docs/users/sources.md index d2cabb4..1aa34f5 100644 --- a/docs/users/sources.md +++ b/docs/users/sources.md @@ -1,5 +1,5 @@ --- -sidebar_position: 3 +sidebar_position: 5 --- # Getting sources diff --git a/docs/users/uninstalling.md b/docs/users/uninstalling.md index 48539fd..34e0ea8 100644 --- a/docs/users/uninstalling.md +++ b/docs/users/uninstalling.md @@ -1,5 +1,5 @@ --- -sidebar_position: 6 +sidebar_position: 7 --- # Uninstalling app diff --git a/docs/users/updating.md b/docs/users/updating.md index 0ae76d1..dfe022a 100644 --- a/docs/users/updating.md +++ b/docs/users/updating.md @@ -1,5 +1,5 @@ --- -sidebar_position: 7 +sidebar_position: 8 --- # Updating app diff --git a/static/img/developers/gui-uploading/form-filled.png b/static/img/developers/gui-uploading/form-filled.png index 329a852..afc821b 100644 Binary files a/static/img/developers/gui-uploading/form-filled.png and b/static/img/developers/gui-uploading/form-filled.png differ