New upload guide

This commit is contained in:
BarsTiger
2022-02-28 17:04:33 +02:00
parent 3cfd89b2f9
commit 1a1ed66eac
9 changed files with 55 additions and 8 deletions

View File

@@ -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!

View File

@@ -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.

View File

@@ -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

View File

@@ -1,5 +1,5 @@
---
sidebar_position: 5
sidebar_position: 6
---
# Likes and dislikes

26
docs/users/search.md Normal file
View File

@@ -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>
```
Query can be part of app name or description.
# TUI
```
horsy
5
<query>
```
# GUI
Open `Browse` tab
In `Search packages` type your query and press `Search` button

View File

@@ -1,5 +1,5 @@
---
sidebar_position: 3
sidebar_position: 5
---
# Getting sources

View File

@@ -1,5 +1,5 @@
---
sidebar_position: 6
sidebar_position: 7
---
# Uninstalling app

View File

@@ -1,5 +1,5 @@
---
sidebar_position: 7
sidebar_position: 8
---
# Updating app

Binary file not shown.

Before

Width:  |  Height:  |  Size: 180 KiB

After

Width:  |  Height:  |  Size: 144 KiB