commit
b94274e5a5
|
@ -1898,11 +1898,10 @@ class DXXProgram(DXXCommon):
|
|||
sys.path = syspath
|
||||
tool_bundle.TOOL_BUNDLE(env)
|
||||
env.MakeBundle(os.path.join(self.user_settings.builddir, self.PROGRAM_NAME + '.app'), exe_node,
|
||||
'free.%s-rebirth' % dxxstr, os.path.join(self.srcdir, '%sgl-Info.plist' % dxxstr),
|
||||
'free.%s-rebirth' % dxxstr, os.path.join(cocoa, 'Info.plist'),
|
||||
typecode='APPL', creator='DCNT',
|
||||
icon_file=os.path.join(cocoa, '%s-rebirth.icns' % dxxstr),
|
||||
subst_dict={'%sgl' % dxxstr : exe_target}, # This is required; manually update version for Xcode compatibility
|
||||
resources=[[s, s] for s in [os.path.join(self.srcdir, 'English.lproj/InfoPlist.strings')]])
|
||||
resources=[[os.path.join(self.srcdir, s), s] for s in ['English.lproj/InfoPlist.strings']])
|
||||
|
||||
def GenerateHelpText(self):
|
||||
return self.variables.GenerateHelpText(self.env)
|
||||
|
|
30
common/arch/cocoa/Info.plist
Normal file
30
common/arch/cocoa/Info.plist
Normal file
|
@ -0,0 +1,30 @@
|
|||
<?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>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>%BUNDLE_EXECUTABLE%</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>%ICONFILE%</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>%LONGVERSION%</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>%SHORTVERSION%</string>
|
||||
<key>CSResourcesFileMapped</key>
|
||||
<false/>
|
||||
<key>LSPrefersCarbon</key>
|
||||
<true/>
|
||||
<key>NSMainNibFile</key>
|
||||
<string>MainMenu</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string>NSApplication</string>
|
||||
</dict>
|
||||
</plist>
|
|
@ -32,6 +32,7 @@ COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
|
|||
#include "u_mem.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
#include <string>
|
||||
#include "varutil.h"
|
||||
#include "window.h"
|
||||
|
||||
|
|
Loading…
Reference in a new issue