diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-12-11 16:31:00 -0800 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-12-11 16:31:00 -0800 |
| commit | 8c58635ea7b3c129e3454775df08608903878cd6 (patch) | |
| tree | 578c1d78f33dc132ef6feee2c5c5ae04570a6f48 /installer.cpp | |
| parent | 7eac53a178be2c1093bb9b34337d985583892567 (diff) | |
| download | infinitytier-8c58635ea7b3c129e3454775df08608903878cd6.tar.gz infinitytier-8c58635ea7b3c129e3454775df08608903878cd6.zip | |
Installer builder for mac.
Diffstat (limited to 'installer.cpp')
| -rw-r--r-- | installer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/installer.cpp b/installer.cpp index ac71396c..90cc8c05 100644 --- a/installer.cpp +++ b/installer.cpp @@ -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); |
