summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-11-21 15:55:47 -0500
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-11-21 15:55:47 -0500
commit74af234305a3758589112212b4c270756fa73243 (patch)
treebedf21f9f72dd254d62284ecc99104435349afa0
parent4296db235894f8d403fc656f76e2a3578ca2d597 (diff)
downloadinfinitytier-74af234305a3758589112212b4c270756fa73243.tar.gz
infinitytier-74af234305a3758589112212b4c270756fa73243.zip
Add icons and custom Mac plist to Qt project.
-rw-r--r--ZeroTierUI/Info.plist20
-rw-r--r--ZeroTierUI/ZeroTierUI.pro16
-rw-r--r--ZeroTierUI/ZeroTierUI.rc1
-rw-r--r--ZeroTierUI/zt1icon.icnsbin0 -> 188489 bytes
-rw-r--r--ZeroTierUI/zt1icon.icobin0 -> 370070 bytes
5 files changed, 27 insertions, 10 deletions
diff --git a/ZeroTierUI/Info.plist b/ZeroTierUI/Info.plist
new file mode 100644
index 00000000..06f680c6
--- /dev/null
+++ b/ZeroTierUI/Info.plist
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
+<plist version="0.9">
+<dict>
+ <key>NSPrincipalClass</key>
+ <string>NSApplication</string>
+ <key>CFBundleIconFile</key>
+ <string>zt1icon.icns</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleGetInfoString</key>
+ <string>ZeroTier One (Mac GUI)</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleExecutable</key>
+ <string>ZeroTier One</string>
+ <key>CFBundleIdentifier</key>
+ <string>com.zerotier.ZeroTierOne</string>
+</dict>
+</plist>
diff --git a/ZeroTierUI/ZeroTierUI.pro b/ZeroTierUI/ZeroTierUI.pro
index ff2cc6b4..0bfcb819 100644
--- a/ZeroTierUI/ZeroTierUI.pro
+++ b/ZeroTierUI/ZeroTierUI.pro
@@ -1,16 +1,12 @@
-#-------------------------------------------------
-#
-# Project created by QtCreator 2013-11-13T15:03:09
-#
-#-------------------------------------------------
-
-QT += core gui
-
-greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
-
+QT += core gui widgets
TARGET = "ZeroTier One"
TEMPLATE = app
+win32:RC_FILE = ZeroTierUI.rc
+mac:ICON = zt1icon.icns
+mac:QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.6
+mac:QMAKE_INFO_PLIST = Info.plist
+
# ZeroTier One must be built before building this, since it links in the
# client code and some stuff from Utils to talk to the running service.
LIBS += ../node/*.o
diff --git a/ZeroTierUI/ZeroTierUI.rc b/ZeroTierUI/ZeroTierUI.rc
new file mode 100644
index 00000000..2c5365c0
--- /dev/null
+++ b/ZeroTierUI/ZeroTierUI.rc
@@ -0,0 +1 @@
+IDI_ICON1 ICON DISCARDABLE "zt1icon.ico"
diff --git a/ZeroTierUI/zt1icon.icns b/ZeroTierUI/zt1icon.icns
new file mode 100644
index 00000000..ce07eb9e
--- /dev/null
+++ b/ZeroTierUI/zt1icon.icns
Binary files differ
diff --git a/ZeroTierUI/zt1icon.ico b/ZeroTierUI/zt1icon.ico
new file mode 100644
index 00000000..eb29c09b
--- /dev/null
+++ b/ZeroTierUI/zt1icon.ico
Binary files differ