diff options
| author | Adam Ierymenko <adam.ierymenko@zerotier.com> | 2014-01-24 23:15:14 -0800 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@zerotier.com> | 2014-01-24 23:15:14 -0800 |
| commit | b65f7f78951450998bc4a85f60ce1350c2ed2a12 (patch) | |
| tree | f1a6ec158cadc784b9402575a610d83a506a7eca /ZeroTierUI/main.cpp | |
| parent | 434ce96f2cd3da9c7bae278391582526e952b24e (diff) | |
| download | infinitytier-b65f7f78951450998bc4a85f60ce1350c2ed2a12.tar.gz infinitytier-b65f7f78951450998bc4a85f60ce1350c2ed2a12.zip | |
Qt GUI now builds and runs on Windows. On Windows it can (via its manifest) automatically request admin rights on launch, which plugs it nicely into Windows' admin rights system without requiring file copies and such.
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); |
