[GH 2874] Fix category for deb and clairfy directory information in README for linux (#2884)
* Remove expliced category from deb The expliced category value for deb is not correct. The linux section has a correct category value and deb is part of its target. So the category from linux should be applied if there is no expliced one in the deb section. Issue: mattermost/desktop#2874 * Linux README: clarify where to find directory Change the example directory to the path, where it is at a deb installation. Add a hint that a reader in a local README already found the correct directory. Issue: mattermost/desktop#2874
This commit is contained in:
parent
10a2a14c83
commit
2ed96e9969
|
@ -48,7 +48,6 @@
|
|||
"libxtst6",
|
||||
"libnss3"
|
||||
],
|
||||
"category": "contrib/net",
|
||||
"priority": "optional"
|
||||
},
|
||||
"asarUnpack": [
|
||||
|
|
|
@ -12,14 +12,14 @@
|
|||
|
||||
If you installed the application via a package manager, it's ready to use in your system. Please follow the [User Guide](#user-guide) for further information.
|
||||
|
||||
Otherwise, first locate the extracted directory in your desired directory (e.g. `/opt/mattermost-desktop-<VERSION>`) and follow the steps below.
|
||||
Otherwise, first locate the extracted directory in your desired directory (e.g. `/opt/mattermost-desktop`) and follow the steps below. (This directory also contains this README here.)
|
||||
|
||||
### Desktop launcher
|
||||
|
||||
Execute the script file to create a `Mattermost.desktop` file.
|
||||
|
||||
```
|
||||
/opt/mattermost-desktop-<VERSION>/create_desktop_file.sh
|
||||
/opt/mattermost-desktop/create_desktop_file.sh
|
||||
```
|
||||
|
||||
Then move it to the appropriate directory of your desktop environment. For example, on Ubuntu Unity it's `~/.local/share/applications/` for the current user.
|
||||
|
@ -33,14 +33,14 @@ mv Mattermost.desktop ~/.local/share/applications/
|
|||
Set a `PATH` environment variable to enable launching from the terminal. For example, you can append the following line into `~/.bashrc`.
|
||||
|
||||
```sh
|
||||
# assuming that /opt/mattermost-desktop-<VERSION>/mattermost-desktop is the executable file.
|
||||
export PATH=$PATH:/opt/mattermost-desktop-<VERSION>
|
||||
# assuming that /opt/mattermost-desktop/mattermost-desktop is the executable file.
|
||||
export PATH=$PATH:/opt/mattermost-desktop
|
||||
```
|
||||
|
||||
Alternatively, you can also create a symbolic link for the application.
|
||||
|
||||
```sh
|
||||
sudo ln -s /opt/mattermost-desktop-<VERSION>/mattermost-desktop /usr/local/bin/
|
||||
sudo ln -s /opt/mattermost-desktop/mattermost-desktop /usr/local/bin/
|
||||
```
|
||||
|
||||
You're now all set! See the [User Guide](#user-guide) below for instructions.
|
||||
|
|
Loading…
Reference in a new issue