mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-20 05:13:58 -07:00
Installer builder for mac.
This commit is contained in:
parent
7eac53a178
commit
8c58635ea7
3 changed files with 11 additions and 5 deletions
|
@ -211,17 +211,17 @@ int main(int argc,char **argv)
|
|||
|
||||
#ifdef __APPLE__
|
||||
// Write tap.kext into home folder
|
||||
sprintf(buf,"%s/tap.kext");
|
||||
sprintf(buf,"%s/tap.kext",zthome);
|
||||
mkdir(buf,0755);
|
||||
chmod(buf,0755);
|
||||
chown(buf,0,0);
|
||||
printf("mkdir %s\n",buf);
|
||||
sprintf(buf,"%s/tap.kext/Contents");
|
||||
sprintf(buf,"%s/tap.kext/Contents",zthome);
|
||||
mkdir(buf,0755);
|
||||
chmod(buf,0755);
|
||||
chown(buf,0,0);
|
||||
printf("mkdir %s\n",buf);
|
||||
sprintf(buf,"%s/tap.kext/Contents/MacOS");
|
||||
sprintf(buf,"%s/tap.kext/Contents/MacOS",zthome);
|
||||
mkdir(buf,0755);
|
||||
chmod(buf,0755);
|
||||
chown(buf,0,0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue