From 933325e9d1269a82ce06a74974476671dd35db59 Mon Sep 17 00:00:00 2001 From: Tomas Groth Date: Wed, 13 Mar 2019 21:21:15 +0100 Subject: [PATCH] Try to fix appveyor build of portable installer --- builders/windows-builder.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/builders/windows-builder.py b/builders/windows-builder.py index fbc658c..7fc4a07 100644 --- a/builders/windows-builder.py +++ b/builders/windows-builder.py @@ -216,8 +216,9 @@ class WindowsBuilder(Builder): self._print_verbose('... Building PortableApps Installer') self._run_command([self.portableinstaller_exe, self.portable_dest_path], 'Error running PortableApps Installer') - portable_exe_name = 'OpenLPPortable_%s.paf.exe' % self.portable_version + portable_exe_name = 'OpenLPPortable_{ver}-{arch}.paf.exe'.format(ver=self.portable_version, arch=self.arch) portable_exe_path = os.path.abspath(os.path.join(self.portable_dest_path, '..', portable_exe_name)) + self._print(self._run_command(['dir', os.path.abspath(os.path.join(self.portable_dest_path, '..'))])) self._print_verbose('... Portable Build: {}'.format(portable_exe_path)) if os.path.exists(portable_exe_path): move(portable_exe_path, os.path.join(self.dist_path, '..', portable_exe_name))