mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 10:56:11 +00:00
Enforce Cutter-local sleighhome on macOS only if Packaging is Enabled (#2741)
This commit is contained in:
parent
3c4fe781ab
commit
394a1eb27d
@ -170,7 +170,7 @@ CutterApplication::CutterApplication(int &argc, char **argv) : QApplication(argc
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef Q_OS_MACOS
|
||||
#if defined(Q_OS_MACOS) && defined(CUTTER_ENABLE_PACKAGING)
|
||||
{
|
||||
auto rzprefix = QDir(QCoreApplication::applicationDirPath()); // Contents/MacOS
|
||||
rzprefix.cdUp(); // Contents
|
||||
|
Loading…
Reference in New Issue
Block a user