MantisBT - Zandronum
View Issue Details
0001889Zandronum[All Projects] Suggestionpublic2014-07-17 07:172018-09-30 21:35
MazterQyoun-ae 
Blzut3 
lowminorN/A
closedfixed 
 
1.3 
0001889: Installer and bundle enhancement
1. Current OS X disk image is quite plain. Files are just sitting here waiting to be copied, but I've noticed several people who moved to Mac or temporary using a Mac and can't figure out how to install the application. Besides, having a nice clean installer like many other projects do would be nice anyway. To solve this, I've designed a background for the disk image. See attachments. Please note that suggested (expected) icon size is 80x80. Also contains source in Pixelmator and Photoshop formats.

2. Bundle version is a part of template, and always was 1.0. However, OS X provides a command-line tool for manipulating property lists which would be easy to integrate in the building script. See «Additional information» field for more information on this.

3. WAD, PK3 and PK7 files are currently using Zandronum icon which is, in my opinion, is a bad thing. Replacing the icons with appropriate ones based on GenericDocument icon from CoreTypes bundle would most likely be a good approach. I've included the resulting icons in attachments as well. Also included source in Pixelmator format. Photoshop was too big to fit here.
While sparseimage is mounted, it is possible to manipulate property lists using command line tool 'defaults'.
For example, to set bundle version to 1.3, execute:

defaults write image/Zandronum.app/Contents/Info.plist CFBundleVersion -string 1.3

Note that you need to change 3 keys: CFBundleVersion, CFBundleShortVersionString and CFBundleLongVersionString.
(By the way, you might want to add NSHumanReadableCopyright too.)

For more information about usage of defaults, see 'man 1 defaults'.
No tags attached.
? Background (Result).tiff (130,926) 2014-07-17 07:18
/tracker/file_download.php?file_id=1254&type=bug
png Background (Expected icon placement).png (510,123) 2014-07-17 07:18
/tracker/file_download.php?file_id=1255&type=bug
? Background (Source, Pixelmator Vector).pxm (916,954) 2014-07-17 07:19
/tracker/file_download.php?file_id=1256&type=bug
? Background (Source, Photoshop).psd (1,881,973) 2014-07-17 07:19
/tracker/file_download.php?file_id=1257&type=bug
? Doom Data (WAD).icns (656,317) 2014-07-17 07:20
/tracker/file_download.php?file_id=1258&type=bug
? Doom Data (PK3).icns (651,265) 2014-07-17 07:20
/tracker/file_download.php?file_id=1259&type=bug
? Doom Data (PK7).icns (648,001) 2014-07-17 07:21
/tracker/file_download.php?file_id=1260&type=bug
? Doom Data (Source, Pixelmator).pxm (1,130,011) 2014-07-17 07:21
/tracker/file_download.php?file_id=1261&type=bug
Issue History
2014-07-17 07:17MazterQyoun-aeNew Issue
2014-07-17 07:18MazterQyoun-aeFile Added: Background (Result).tiff
2014-07-17 07:18MazterQyoun-aeFile Added: Background (Expected icon placement).png
2014-07-17 07:19MazterQyoun-aeFile Added: Background (Source, Pixelmator Vector).pxm
2014-07-17 07:19MazterQyoun-aeFile Added: Background (Source, Photoshop).psd
2014-07-17 07:20MazterQyoun-aeFile Added: Doom Data (WAD).icns
2014-07-17 07:20MazterQyoun-aeFile Added: Doom Data (PK3).icns
2014-07-17 07:21MazterQyoun-aeFile Added: Doom Data (PK7).icns
2014-07-17 07:21MazterQyoun-aeFile Added: Doom Data (Source, Pixelmator).pxm
2014-07-17 07:24Blzut3Assigned To => Blzut3
2014-07-17 07:24Blzut3Statusnew => assigned
2014-07-18 00:55Blzut3Note Added: 0009993
2014-07-18 07:16MazterQyoun-aeNote Added: 0009995
2014-10-06 03:01Blzut3Statusassigned => resolved
2014-10-06 03:01Blzut3Fixed in Version => 1.3
2014-10-06 03:01Blzut3Resolutionopen => fixed
2014-10-06 03:02Blzut3Note Added: 0010361
2018-09-30 21:35Blzut3Statusresolved => closed

Notes
(0009993)
Blzut3   
2014-07-18 00:55   
For the WAD/PK3/PK7 icons, it looks like the plist only allows one icns file to be specified for all three alternatives. I could separate each extension into a separate file type, but I'm not sure I see a point to doing so. Should I just use the WAD icns?
(0009995)
MazterQyoun-ae   
2014-07-18 07:16   
I see a point in doing so — for the sake of other applications.
First off, they ARE different file types: WAD, PK3 (ZIP) and PK7 (7Z) are all different formats, and you could assign them to open in another application. For example, assign WAD to SLADE and PK3 to The Unarchiver. Due to the fact that OS X relies not only on extensions but actual file types defined in plist, assigning PK3 to The Unarchiver would most likely mean WAD and PK7 will be assigned as well, which is not what I wanted to do.
In any case, the different icon approach helps me determine file format, since on OS X extensions for known formats are hidden by default.
(0010361)
Blzut3   
2014-10-06 03:02   
Should be all in place. I know the window is a bit wide in the release, but I can't be bothered to re-upload the disk image for that.