Browse Source

macos bundle

circular17 6 years ago
parent
commit
c1feacbbb6

+ 2 - 1
lazpaint.logic

@@ -9,4 +9,5 @@ echo "Don't forget to UPDATE changelog file"
 copy release/changelog release/debian/linux32/DEBIAN/changelog
 copy release/changelog release/debian/linux64/DEBIAN/changelog
 text release/macOS/makedmg.sh "appversion=$(Version)"
-
+plist release/macOS/LazPaint.app/Contents/Info.plist
+copy ../resources/icon/lazpaint.icns release/macOS/LazPaint.app/Contents/Resources/lazpaint.icns

+ 47 - 0
lazpaint/release/macOS/LazPaint.app/Contents/Info.plist

@@ -0,0 +1,47 @@
+<?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>CFBundleIconFile</key>
+	<string>lazpaint</string>
+	<key>CFBundleDevelopmentRegion</key>
+	<string>English</string>
+	<key>CFBundleExecutable</key>
+	<string>lazpaint</string>
+	<key>CFBundleName</key>
+	<string>LazPaint</string>
+	<key>CFBundleIdentifier</key>
+	<string>com.company.lazpaint</string>
+	<key>CFBundleInfoDictionaryVersion</key>
+	<string>6.0</string>
+	<key>CFBundlePackageType</key>
+	<string>APPL</string>
+	<key>CFBundleSignature</key>
+	<string>lazp</string>
+	<key>CFBundleShortVersionString</key>
+	<string>7.0.5</string>
+	<key>CFBundleVersion</key>
+	<string>7.0.5</string>
+	<key>CSResourcesFileMapped</key>
+	<true/>
+	<key>CFBundleDocumentTypes</key>
+	<array>
+		<dict>
+			<key>CFBundleTypeRole</key>
+			<string>Viewer</string>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>*</string>
+			</array>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>fold</string>
+				<string>disk</string>
+				<string>****</string>
+			</array>
+		</dict>
+	</array>
+	<key>NSHighResolutionCapable</key>
+	<true/>
+</dict>
+</plist>

+ 0 - 0
lazpaint/release/macOS/LazPaint.app/Contents/MacOS/delete.me


+ 1 - 0
lazpaint/release/macOS/LazPaint.app/Contents/PkgInfo

@@ -0,0 +1 @@
+APPL????

BIN
lazpaint/release/macOS/LazPaint.app/Contents/Resources/lazpaint.icns


+ 5 - 0
lazpaint/release/macOS/instructions.txt

@@ -0,0 +1,5 @@
+To make application bundle:
+- make copy the LazPaint.app folder
+- copy "lazpaint" executable file into subfolder /Contents/MacOS
+- copy additionnal files into subfolder /Contents/Resources
+(including i18n and models folders, but not the application bundle)