mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-13 04:12:53 +02:00
fixed mac resource path location
This commit is contained in:
parent
2d6f18fb99
commit
83285aa414
1 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ private:
|
|||
#ifdef Q_OS_WIN
|
||||
const QString SCREENSHARE_EXE_PATH{ PathUtils::projectRootPath() + "/screenshare/hifi-screenshare-win32-x64/hifi-screenshare.exe" };
|
||||
#elif defined(Q_OS_MAC)
|
||||
const QString SCREENSHARE_EXE_PATH{ PathUtils::resourcesPath() + "/../hifi-screenshare.app" };
|
||||
const QString SCREENSHARE_EXE_PATH{ QCoreApplication::applicationDirPath + "/../Resources/hifi-screenshare.app" };
|
||||
#else
|
||||
// This path won't exist on other platforms, so the Screenshare Scripting Interface will exit early when invoked.
|
||||
const QString SCREENSHARE_EXE_PATH{ PathUtils::projectRootPath() + "/screenshare/hifi-screenshare-other-os/hifi-screenshare" };
|
||||
|
@ -54,7 +54,7 @@ private:
|
|||
#ifdef Q_OS_WIN
|
||||
const QString SCREENSHARE_EXE_PATH{ QCoreApplication::applicationDirPath() + "/hifi-screenshare/hifi-screenshare.exe" };
|
||||
#elif defined(Q_OS_MAC)
|
||||
const QString SCREENSHARE_EXE_PATH{ PathUtils::resourcesPath() + "/../hifi-screenshare.app" };
|
||||
const QString SCREENSHARE_EXE_PATH{ QCoreApplication::applicationDirPath + "/../Resources/hifi-screenshare.app" };
|
||||
#else
|
||||
// This path won't exist on other platforms, so the Screenshare Scripting Interface will exit early when invoked.
|
||||
const QString SCREENSHARE_EXE_PATH{ QCoreApplication::applicationDirPath() + "/hifi-screenshare/hifi-screenshare" };
|
||||
|
|
Loading…
Reference in a new issue