mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
HTML export: fix packaging of theme dir
I was confused by the function name getSubsurfaceDataPath() - it does not find paths relative to the "data" folder, if finds the path where we might install folders like "data", "translations", or "theme". "data" is for some reason where we install the "marbledata" files. Therefore on both Mac and Windows we need to put the "theme" directory next to the "data" directory, not below it. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
439c2e0473
commit
bded22f2f6
2 changed files with 3 additions and 2 deletions
|
@ -102,6 +102,7 @@ Section
|
|||
# the DLLs there that we depend on, this is much easier
|
||||
File subsurface.exe
|
||||
File /r data
|
||||
File /r theme
|
||||
File /r images
|
||||
File /r plugins
|
||||
File /r Documentation
|
||||
|
|
|
@ -31,7 +31,7 @@ mac {
|
|||
|
||||
datadir = Contents/Resources/share
|
||||
marbledir.path = Contents/Resources/data
|
||||
theme.path = Contents/Resources/data
|
||||
theme.path = Contents/Resources
|
||||
doc.path = $$datadir/Documentation
|
||||
translation.path = Contents/Resources/translations
|
||||
qttranslation.path = Contents/Resources/translations
|
||||
|
@ -62,7 +62,7 @@ mac {
|
|||
deploy.CONFIG += no_check_exist
|
||||
target.path = $$WINDOWSSTAGING
|
||||
marbledir.path = $$WINDOWSSTAGING/data
|
||||
theme.path = $$WINDOWSSTAGING/data
|
||||
theme.path = $$WINDOWSSTAGING
|
||||
INSTALLS += deploy marbledir target doc theme
|
||||
|
||||
translation.path = $$WINDOWSSTAGING/translations
|
||||
|
|
Loading…
Reference in a new issue