Mercurial > hg > tony
comparison src/main.cpp @ 567:dd344309667f
Some work on macOS deployment - trying to get this one working with sandboxing. File saving is currently not working (temporary file write failing perhaps?)
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Tue, 19 Feb 2019 17:46:01 +0000 |
parents | 702a70e48ca9 |
children | 3f0b44418a19 |
comparison
equal
deleted
inserted
replaced
566:dfd28360f600 | 567:dd344309667f |
---|---|
164 QString programFiles = getEnvQStr("ProgramFiles"); | 164 QString programFiles = getEnvQStr("ProgramFiles"); |
165 if (programFiles == "") programFiles = "C:\\Program Files"; | 165 if (programFiles == "") programFiles = "C:\\Program Files"; |
166 QString defaultTonyPath(programFiles + "\\Tony"); | 166 QString defaultTonyPath(programFiles + "\\Tony"); |
167 tonyVampPath = tonyVampPath + sep + defaultTonyPath; | 167 tonyVampPath = tonyVampPath + sep + defaultTonyPath; |
168 #else | 168 #else |
169 #ifndef Q_OS_MAC | 169 #ifdef Q_OS_MAC |
170 tonyVampPath = tonyVampPath + "/../Resources:" + tonyVampPath; | |
171 #else | |
170 QString defaultTonyPath("/usr/local/lib/tony:/usr/lib/tony"); | 172 QString defaultTonyPath("/usr/local/lib/tony:/usr/lib/tony"); |
171 tonyVampPath = tonyVampPath + sep + defaultTonyPath; | 173 tonyVampPath = tonyVampPath + sep + defaultTonyPath; |
172 #endif | 174 #endif |
173 #endif | 175 #endif |
174 } | 176 } |