mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
Add 'plst' 0 resources to help Mac OS X do magic things.
These aren't actually compiled yet because they must only be present in the Carbon build, and I don't currently compile the resources separately for each platform. [originally from svn r2898]
This commit is contained in:
parent
2ddf9f54de
commit
b11ffdcd6f
@ -1,6 +1,6 @@
|
||||
/* $Id: mac_res.r,v 1.28 2003/02/23 11:58:59 ben Exp $ */
|
||||
/* $Id: mac_res.r,v 1.29 2003/02/27 23:21:23 ben Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1999, 2002 Ben Harris
|
||||
* Copyright (c) 1999, 2002, 2003 Ben Harris
|
||||
* All rights reserved.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person
|
||||
@ -162,6 +162,36 @@ resource 'kind' (129) {
|
||||
}
|
||||
};
|
||||
|
||||
#if TARGET_API_MAC_CARBON
|
||||
/*
|
||||
* Mac OS X Info.plist.
|
||||
* See Tech Note TN2013 for details.
|
||||
* We don't bother with things that Mac OS X seems to be able to get from
|
||||
* other resources.
|
||||
*/
|
||||
type 'plst' as 'TEXT';
|
||||
|
||||
resource 'plst' (0) {
|
||||
"<?xml version='1.0' encoding='UTF-8'?>\n"
|
||||
"<!DOCTYPE plist PUBLIC '-//Apple Computer//DTD PLIST 1.0//EN'\n"
|
||||
" 'http://www.apple.com/DTDs/PropertyList-1.0.dtd'>\n"
|
||||
"<plist version='1.0'>\n"
|
||||
" <dict>\n"
|
||||
" <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string>\n"
|
||||
" <key>CFBundleIdentifier</key>\n"
|
||||
" <string>org.tartarus.projects.putty.putty</string>\n"
|
||||
" <key>CFBundleName</key> <string>PuTTY</string>\n"
|
||||
" <key>CFBundlePackageType</key> <string>APPL</string>\n"
|
||||
" <key>CFBundleSignature</key> <string>pTTY</string>\n"
|
||||
" </dict>\n"
|
||||
"</plist>\n"
|
||||
};
|
||||
|
||||
/* Mac OS X doesn't use this, but Mac OS 9 does. */
|
||||
type 'carb' as 'TEXT';
|
||||
resource 'carb' (0) { "" };
|
||||
#endif
|
||||
|
||||
/* Icons, courtesy of DeRez */
|
||||
|
||||
/* Application icon */
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* $Id: macpgen.r,v 1.5 2003/02/23 13:31:12 ben Exp $ */
|
||||
/* $Id: macpgen.r,v 1.6 2003/02/27 23:21:23 ben Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1999, 2002 Ben Harris
|
||||
* Copyright (c) 1999, 2002, 2003 Ben Harris
|
||||
* All rights reserved.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person
|
||||
@ -111,6 +111,36 @@ resource 'kind' (129) {
|
||||
}
|
||||
};
|
||||
|
||||
#if TARGET_API_MAC_CARBON
|
||||
/*
|
||||
* Mac OS X Info.plist.
|
||||
* See Tech Note TN2013 for details.
|
||||
* We don't bother with things that Mac OS X seems to be able to get from
|
||||
* other resources.
|
||||
*/
|
||||
type 'plst' as 'TEXT';
|
||||
|
||||
resource 'plst' (0) {
|
||||
"<?xml version='1.0' encoding='UTF-8'?>\n"
|
||||
"<!DOCTYPE plist PUBLIC '-//Apple Computer//DTD PLIST 1.0//EN'\n"
|
||||
" 'http://www.apple.com/DTDs/PropertyList-1.0.dtd'>\n"
|
||||
"<plist version='1.0'>\n"
|
||||
" <dict>\n"
|
||||
" <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string>\n"
|
||||
" <key>CFBundleIdentifier</key>\n"
|
||||
" <string>org.tartarus.projects.putty.puttygen</string>\n"
|
||||
" <key>CFBundleName</key> <string>PuTTYgen</string>\n"
|
||||
" <key>CFBundlePackageType</key> <string>APPL</string>\n"
|
||||
" <key>CFBundleSignature</key> <string>pGen</string>\n"
|
||||
" </dict>\n"
|
||||
"</plist>\n"
|
||||
};
|
||||
|
||||
/* Mac OS X doesn't use this, but Mac OS 9 does. */
|
||||
type 'carb' as 'TEXT';
|
||||
resource 'carb' (0) { "" };
|
||||
#endif
|
||||
|
||||
/* Icons, courtesy of DeRez */
|
||||
|
||||
/* Random seed icon */
|
||||
|
Loading…
Reference in New Issue
Block a user