Update readmes with the XDG changes

This commit is contained in:
Veronica K. B. Olsen
2020-10-22 22:40:54 +02:00
parent 56cbf86df4
commit 299b8cde1b
2 changed files with 5 additions and 2 deletions
+3 -1
View File
@@ -104,8 +104,10 @@ If you want to run directly from the source, the application can be started with
You can also create a launcher for running directly from source with:
```bash
sudo python3 setup.py launcher
python3 setup.py xdg-install
```
This will install the launcher and icons for the current user.
To install them system-wide, run the above command with `sudo` or as root.
For more install options, see [Build and Install novelWriter](setup/README.md).
+2 -1
View File
@@ -13,8 +13,9 @@ The `setup.py` is a standard Python setup script with a couple of additional opt
* `sample`: Will create a `sample.zip` file in the `nw/assets` folder.
This is the file the New Project Wizard uses to generate an example project.
If novelWriter is run from source, this file is not needed.
* `launcher`: Will try to copy the novelWriter icons and create a novelWriter.desktop file to launch
* `xdg-install`: Will install novelWriter icons, mimetype, and desktop and menu launcher on Linux desktops.
the application. This should work on standard Linux desktops.
By default, this is installed for the current user. Run with `sudo` to install system-wide.
To install novelWriter as a local Python package, run:
```bash