Updating installed dir for Linux and MacOS #4696
This commit is contained in:
parent
d215c49966
commit
0061969cf2
|
@ -35,11 +35,12 @@ static const char kInstallerPluginLocation[] = "Plugins";
|
|||
#elif defined(Q_OS_MAC)
|
||||
static const char kMacPluginPrefix[] = "lib";
|
||||
static const char kMacPluginExt[] = ".dylib";
|
||||
static const char kInstallerPluginLocation[] = "plugins";
|
||||
static const char kInstallerPluginLocation[] = "plugins"; // TODO: Fix for mac
|
||||
#else
|
||||
static const char kLinuxPluginPrefix[] = "lib";
|
||||
static const char kLinuxPluginExt[] = ".so";
|
||||
static const char kInstallerPluginLocation[] = "plugins";
|
||||
// /usr/bin becomes /usr/bin/../lib/syn...
|
||||
static const char kInstallerPluginLocation[] = "../lib/synergy/plugins";
|
||||
#endif
|
||||
|
||||
QString Plugin::getOsSpecificExt()
|
||||
|
|
|
@ -92,9 +92,9 @@ std::string
|
|||
ArchFileUnix::getInstalledDirectory()
|
||||
{
|
||||
#if WINAPI_XWINDOWS
|
||||
return "/bin";
|
||||
return "/usr/bin";
|
||||
#else
|
||||
return "";
|
||||
return "/Applications/Synergy.app/Contents/MacOS/Synergy";
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue