mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 12:33:44 +02:00
Add icons and custom Mac plist to Qt project.
This commit is contained in:
parent
4296db2358
commit
74af234305
5 changed files with 27 additions and 10 deletions
20
ZeroTierUI/Info.plist
Normal file
20
ZeroTierUI/Info.plist
Normal file
|
@ -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>
|
|
@ -1,16 +1,12 @@
|
||||||
#-------------------------------------------------
|
QT += core gui widgets
|
||||||
#
|
|
||||||
# Project created by QtCreator 2013-11-13T15:03:09
|
|
||||||
#
|
|
||||||
#-------------------------------------------------
|
|
||||||
|
|
||||||
QT += core gui
|
|
||||||
|
|
||||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
||||||
|
|
||||||
TARGET = "ZeroTier One"
|
TARGET = "ZeroTier One"
|
||||||
TEMPLATE = app
|
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
|
# 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.
|
# client code and some stuff from Utils to talk to the running service.
|
||||||
LIBS += ../node/*.o
|
LIBS += ../node/*.o
|
||||||
|
|
1
ZeroTierUI/ZeroTierUI.rc
Normal file
1
ZeroTierUI/ZeroTierUI.rc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
IDI_ICON1 ICON DISCARDABLE "zt1icon.ico"
|
BIN
ZeroTierUI/zt1icon.icns
Normal file
BIN
ZeroTierUI/zt1icon.icns
Normal file
Binary file not shown.
BIN
ZeroTierUI/zt1icon.ico
Normal file
BIN
ZeroTierUI/zt1icon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 361 KiB |
Loading…
Add table
Reference in a new issue