some OS X Authentication Services wizardry to get /Library/Application Support/ZeroTier/One/authtoken.secret and copy it to ~/Library/Application Support/ZeroTier/One/authtoken.secret

This commit is contained in:
Grant Limberg 2016-05-31 17:19:22 -07:00
commit 975bcb8aff
5 changed files with 151 additions and 1 deletions

View file

@ -0,0 +1,16 @@
//
// AuthtokenCopy.h
// ZeroTier One
//
// Created by Grant Limberg on 5/31/16.
// Copyright © 2016 ZeroTier, Inc. All rights reserved.
//
#ifndef AuthtokenCopy_h
#define AuthtokenCopy_h
#import <Foundation/Foundation.h>
NSString* getAdminAuthToken(AuthorizationRef authRef);
#endif /* AuthtokenCopy_h */