diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-05-15 23:11:22 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-05-16 23:33:54 +0200 |
| commit | 69fcc2d75ccb55ce6c030aeb26969dc9991603dc (patch) | |
| tree | 607e3ff1c7e9d39993cdbaeeaa1fd058bd5ce238 | |
| parent | d489a79ccad46dc023add02c2315ca1665727a17 (diff) | |
Cleanup: remove support for building for more than one version of Windows.
| -rw-r--r-- | cscript | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -659,10 +659,7 @@ def build(target, options, for_package): target.command('./waf install') def package_windows(target): - identifier = '' - if target.version is not None: - identifier = '%s.' % target.version - identifier += '%d' % target.bits + identifier = '%d' % target.bits shutil.copyfile('build/platform/windows/installer.%s.nsi' % identifier, 'build/platform/windows/installer2.%s.nsi' % identifier) target.command('sed -i "s~%%resources%%~%s/platform/windows~g" build/platform/windows/installer2.%s.nsi' % (os.getcwd(), identifier)) target.command('sed -i "s~%%graphics%%~%s/graphics~g" build/platform/windows/installer2.%s.nsi' % (os.getcwd(), identifier)) |
