Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Giger22 authored Mar 27, 2023
1 parent cfaf789 commit 9fb4c19
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,19 @@

Generates stash tray icon.

1. Download stash-linux from https://github.com/stashapp/stash/releases.
1. Download [stash-linux](https://github.com/stashapp/stash/releases).

2. You need to add a config.txt file to your stash folder which should be placed in /home/$USER_NAME/Applications/Stash/. If you want to place your stash folder in different place you need to edit a python line number 90.

3. Inside the config file you need to specify a path to icon (i.e. /home/$USER_NAME/Applications/Stash/stash.png) and specify port number (default 9999). Then copy an icon.png file from the repo.

4. You need add location of stash-linux binary either to PATH or copy stash-linux to PATH location (i.e. /usr/bin) so python script can run it from terminal.
Bash
https://phoenixnap.com/kb/linux-add-to-path
[archive] https://archive.is/brU9G
Zsh
https://stackoverflow.com/questions/11530090/adding-a-new-entry-to-the-path-variable-in-zsh
[archive] https://archive.ph/quobn

5. Run main.py with command python main.py and your default browser should start now and connect to a port 9999 on localhost. Plase exit with an "Quit" option in a tray icon as exiting with ctrl+c does not kill process yet and an icon stays. Alternatively you can download .desktop file (and add your username) and .bin file nad just run it like normal program. You need to create .bin file yourself with nuitka3 or download here.
https://anonymfile.com/59re5/main.bin
[Bash](https://phoenixnap.com/kb/linux-add-to-path),
[archive.is](https://archive.is/brU9G),
[Zsh](https://stackoverflow.com/questions/11530090/adding-a-new-entry-to-the-path-variable-in-zsh),
[archive.is](https://archive.ph/quobn).

5. Run main.py with command python main.py and your default browser should start now and connect to a port 9999 on localhost. Plase exit with an "Quit" option in a tray icon as exiting with ctrl+c does not kill process yet and an icon stays. Alternatively you can download .desktop file (and add your username) and .bin file nad just run it like normal program. You need to create .bin file yourself with nuitka3 or download from [Anonymfile.com](https://anonymfile.com/59re5/main.bin)

| Algorithm | Hash |
| ------------- |:-------------:|
Expand Down

0 comments on commit 9fb4c19

Please sign in to comment.