Browse Source

add packaging stuff for macOS

Cranky Supertoon 4 years ago
parent
commit
bdaf110a09
3 changed files with 27 additions and 0 deletions
  1. 3 0
      .gitignore
  2. 24 0
      packaging/macos/Info.plist
  3. BIN
      packaging/macos/flameshot.icns

+ 3 - 0
.gitignore

@@ -63,3 +63,6 @@ data/flatpak/.flatpak-builder
 .idea/
 
 # End of https://www.gitignore.io/api/snapcraft
+
+#MacOS Crap
+.DS_Store

+ 24 - 0
packaging/macos/Info.plist

@@ -0,0 +1,24 @@
+<?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>CFBundleExecutable</key>
+	<string>Flameshot</string>
+	<key>CFBundleIconFile</key>
+	<string>flameshot</string>
+	<key>CFBundleIdentifier</key>
+	<string>com.lupodharkael.flameshot</string>
+	<key>CFBundlePackageType</key>
+	<string>APPL</string>
+	<key>CFBundleSignature</key>
+	<string>????</string>
+	<key>LSMinimumSystemVersion</key>
+	<string>10.13</string>
+	<key>NOTE</key>
+	<string>This file was generated by Qt/QMake.</string>
+	<key>NSPrincipalClass</key>
+	<string>NSApplication</string>
+	<key>NSSupportsAutomaticGraphicsSwitching</key>
+	<true/>
+</dict>
+</plist>

BIN
packaging/macos/flameshot.icns