From: Matt Keeter Date: Thu, 13 Mar 2014 12:48:56 +0000 (-0700) Subject: Set up .app icon and file associations X-Git-Tag: v0.9.0~23 X-Git-Url: https://git.sur5r.net/?p=fstl;a=commitdiff_plain;h=b903eced97164b6bdb8df2c3f470cb60f273c244;hp=140de3f9291574a8f301234c2e781d84ee6c0f23 Set up .app icon and file associations --- diff --git a/app/Info.plist b/app/Info.plist new file mode 100644 index 0000000..565feeb --- /dev/null +++ b/app/Info.plist @@ -0,0 +1,33 @@ + + + + + NSPrincipalClass + NSApplication + CFBundleIconFile + fstl.icns + CFBundlePackageType + APPL + CFBundleGetInfoString + A minimal fast STL viewer + CFBundleSignature + ???? + CFBundleExecutable + fstl + CFBundleIdentifier + com.impraxical.fstl + CFBundleDocumentTypes + + + CFBundleTypeExtensions + + stl + + CFBundleTypeName + Stereolithography file + CFBundleTypeRole + Viewer + + + + diff --git a/app/fstl.icns b/app/fstl.icns new file mode 100644 index 0000000..69c011c Binary files /dev/null and b/app/fstl.icns differ diff --git a/src/fstl.pro b/src/fstl.pro index 2033575..8729f8c 100644 --- a/src/fstl.pro +++ b/src/fstl.pro @@ -24,3 +24,7 @@ CONFIG += c++11 RESOURCES += \ resources.qrc + +QMAKE_INFO_PLIST = ../misc/Info.plist + +ICON = ../misc/fstl.icns