Set up .app icon and file associations
This commit is contained in:
parent
140de3f929
commit
b903eced97
3 changed files with 37 additions and 0 deletions
33
app/Info.plist
Normal file
33
app/Info.plist
Normal file
|
@ -0,0 +1,33 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string>NSApplication</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>fstl.icns</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleGetInfoString</key>
|
||||
<string>A minimal fast STL viewer</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>fstl</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.impraxical.fstl</string>
|
||||
<key>CFBundleDocumentTypes</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>CFBundleTypeExtensions</key>
|
||||
<array>
|
||||
<string>stl</string>
|
||||
</array>
|
||||
<key>CFBundleTypeName</key>
|
||||
<string>Stereolithography file</string>
|
||||
<key>CFBundleTypeRole</key>
|
||||
<string>Viewer</string>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
BIN
app/fstl.icns
Normal file
BIN
app/fstl.icns
Normal file
Binary file not shown.
|
@ -24,3 +24,7 @@ CONFIG += c++11
|
|||
|
||||
RESOURCES += \
|
||||
resources.qrc
|
||||
|
||||
QMAKE_INFO_PLIST = ../misc/Info.plist
|
||||
|
||||
ICON = ../misc/fstl.icns
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue