diff options
Diffstat (limited to 'ZeroTierUI/main.cpp')
| -rw-r--r-- | ZeroTierUI/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ZeroTierUI/main.cpp b/ZeroTierUI/main.cpp index 3255ec9f..5814849c 100644 --- a/ZeroTierUI/main.cpp +++ b/ZeroTierUI/main.cpp @@ -59,6 +59,8 @@ int main(int argc, char *argv[]) #ifdef __APPLE__ { + // Put QSettings here because this is one of the writable directories allowed + // in Apple's app store sandbox specs. We might end up in app store someday. QString zt1AppSupport(QDir::homePath() + "/Library/Application Support/ZeroTier/One"); QDir::root().mkpath(zt1AppSupport); settings = new QSettings(zt1AppSupport + "/ui.ini",QSettings::IniFormat); |
