From f1ab501ede5c421ed9a561774a912e7d4d0d6cd3 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 6 Apr 2024 21:16:41 +0200 Subject: [PATCH] Remove unused Windows identifier stuff (removed from cdist). --- cscript | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cscript b/cscript index b971ff2ea..5c3e5e2b1 100644 --- a/cscript +++ b/cscript @@ -717,10 +717,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)) -- 2.30.2