Install default config into $PREFIX/share/examples

This commit is contained in:
miruka 2021-01-04 01:14:38 -04:00
parent 9769a84bb7
commit 99e2be650b
2 changed files with 7 additions and 3 deletions

View File

@ -39,8 +39,9 @@ the application's behavior.
The default `settings.py`, used when no user-written file exists, documents all
the possible options and can be found at:
- [`src/config/settings.py`][1] in the repository
- `/usr/share/examples/mirage/settings.py` on Linux installations
- [`src/config/settings.py`][1] in this repository
- `/usr/local/share/examples/mirage/settings.py` or
`/usr/share/examples/mirage/settings.py` on Linux installations
- `~/.local/share/flatpak/app/io.github.mirukana.mirage/current/active/files/share/examples/mirage/settings.py` for per-user Flatpak installations
- `/var/lib/flatpak/app/io.github.mirukana.mirage/current/active/files/share/examples/mirage/settings.py` for system-wide Flatpak installations

View File

@ -66,7 +66,10 @@ no-x11 {
icons256.path = $$PREFIX/share/icons/hicolor/256x256/apps
icons256.files = packaging/mirage.png
INSTALLS += executables shortcuts icons256
examples.path = $$PREFIX/share/examples/mirage
examples.files = src/config/settings.py
INSTALLS += executables shortcuts icons256 examples
}
!dev:win32 {