diff --git a/README.md b/README.md index 9efa0b24..54348b1f 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/setup/README.md b/setup/README.md index 81479cf7..252f70cd 100644 --- a/setup/README.md +++ b/setup/README.md @@ -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