Index: src/Makefile.osx
===================================================================
--- src/Makefile.osx	(revision 1443)
+++ src/Makefile.osx	(working copy)
@@ -209,6 +209,8 @@
 	mkdir -p disttemp/Docs
 	cp ../readme.txt ../changes.txt disttemp/Docs
 	cp -R -p "$(APPBNDL)" disttemp
+	sed -e 's/<!--DIST//g' -e 's/DIST-->//g' -e 's/-DEV//g' \
+		$(APPCONT)/Info.plist > disttemp/$(APPNAME)/Contents/Info.plist
 	$(SETFILE) -a B disttemp/$(APPNAME)
 
 	@-rm ../"$(PACKAGE_NAME)-osx.dmg"
Index: src/z-file.c
===================================================================
--- src/z-file.c	(revision 1443)
+++ src/z-file.c	(working copy)
@@ -418,12 +418,13 @@
 	/* OS X uses its own kind of filetypes */
 	if (mode != MODE_READ)
 	{
-		u32b mac_type = 'TEXT';
+		u32b mac_type = 0;
 
 		if (ftype == FTYPE_RAW) mac_type = 'DATA';
 		else if (ftype == FTYPE_SAVE) mac_type = 'SAVE';
 
-		fsetfileinfo(buf, 'A271', mac_type);
+		if (mac_type)
+			fsetfileinfo(buf, 'A271', mac_type);
 	}
 #endif
 
Index: src/osx/Angband.xml
===================================================================
--- src/osx/Angband.xml	(revision 1443)
+++ src/osx/Angband.xml	(working copy)
@@ -5,11 +5,13 @@
     <key>CFBundleDisplayName</key><string>$NAME$ (OS X)</string>
     <key>CFBundleExecutable</key><string>$EXECUTABLE$</string>
     <key>CFBundlePackageType</key><string>APPL</string>
-    <key>CFBundleSignature</key><string>A271</string>
+    <!--DIST
+    	<key>CFBundleSignature</key><string>A271</string>
+    DIST-->
     <key>CFBundleVersion</key><string>$VERSION$</string>
     <key>CFBundleShortVersionString</key><string>$VERSION$</string>
     <key>CFBundleIconFile</key><string>$NAME$</string>
-    <key>CFBundleIdentifier</key><string>net.thangorodrim.$NAME$</string>
+    <key>CFBundleIdentifier</key><string>net.thangorodrim.$NAME$-DEV</string>
     <key>CFBundleInfoDictionaryVersion</key><string>6.0</string>
     <key>CFBundleLongVersionString</key>
     <string>$VERSION$, Copyright $COPYRIGHT$</string>
@@ -18,7 +20,7 @@
     <key>CFBundleGetInfoString</key>
     <string>$VERSION$, © $COPYRIGHT$</string>
 
-
+    <!--DIST
     <key>CFBundleDocumentTypes</key>
       <array>
         <dict>
@@ -43,5 +45,6 @@
           <key>CFBundleTypeRole</key><string>Editor</string>
         </dict>
       </array>
+      DIST-->
   </dict>
 </plist>
