nixpkgs/pkgs/tools/misc/ckb/ckb-animations-location.patch
Kier Davis 82b4224a3c
ckb: update to ckb-next 0.2.8
The original ckb is no longer maintained. ckb-next is an
active fork with a number of new patches and features.
2017-11-24 00:58:46 +00:00

13 lines
508 B
Diff

diff --git a/src/ckb/animscript.cpp b/src/ckb/animscript.cpp
index f49a64c..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("/usr/lib").absoluteFilePath("ckb-animations");
+ return QDir(QApplication::applicationDirPath() + "/../libexec").absoluteFilePath("ckb-animations");
#endif
}