nixpkgs-suyu/pkgs/tools/misc/ckb/ckb-animations-location.patch

13 lines
532 B
Diff
Raw Normal View History

diff --git a/src/ckb/animscript.cpp b/src/ckb/animscript.cpp
index d0b7f46..d7a3459 100644
--- a/src/ckb/animscript.cpp
+++ b/src/ckb/animscript.cpp
@@ -30,7 +30,7 @@ QString AnimScript::path(){
#ifdef __APPLE__
return QDir(QApplication::applicationDirPath() + "/../Resources").absoluteFilePath("ckb-animations");
#else
- return QDir(QApplication::applicationDirPath()).absoluteFilePath("ckb-animations");
+ return QDir(QApplication::applicationDirPath() + "/../libexec").absoluteFilePath("ckb-animations");
#endif
}