diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-01-07 16:37:36 -0800 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-01-07 16:37:36 -0800 |
| commit | 60731e6d02c4ebeb0700bc1c6a53261159049e01 (patch) | |
| tree | 6cffdd1139cc0ecc25e9fc62ac794e9091b3d4c3 /node/Defaults.cpp | |
| parent | c1256fff5b0c09359531fc09bc8235c6f11c800d (diff) | |
| download | infinitytier-60731e6d02c4ebeb0700bc1c6a53261159049e01.tar.gz infinitytier-60731e6d02c4ebeb0700bc1c6a53261159049e01.zip | |
Update URLs for auto-update, check supernode version in one more place, delete pid before executing updater.
Diffstat (limited to 'node/Defaults.cpp')
| -rw-r--r-- | node/Defaults.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/node/Defaults.cpp b/node/Defaults.cpp index 2588c85f..41ff540b 100644 --- a/node/Defaults.cpp +++ b/node/Defaults.cpp @@ -126,16 +126,19 @@ static inline const char *_mkUpdateUrl() { #if defined(__LINUX__) && ( defined(__i386__) || defined(__x86_64) || defined(__x86_64__) || defined(__amd64) || defined(__i386) ) if (sizeof(void *) == 8) - return "http://download.zerotier.com/update/linux/x64/latest.nfo"; - else return "http://download.zerotier.com/update/linux/x86/latest.nfo"; + return "http://download.zerotier.com/ZeroTierOneInstaller-linux-x64-LATEST.nfo"; + else return "http://download.zerotier.com/ZeroTierOneInstaller-linux-x86-LATEST.nfo"; #define GOT_UPDATE_URL #endif #ifdef __APPLE__ - // TODO: iOS? - return "http://download.zerotier.com/update/mac/combined/latest.nfo"; +#ifdef TARGET_OS_IPHONE + // TODO +#else + return "http://download.zerotier.com/ZeroTierOneInstaller-mac-combined-LATEST.nfo"; #define GOT_UPDATE_URL #endif +#endif // TODO: Windows |
