1
0
mirror of https://gitlab.com/openlp/packaging.git synced 2024-12-22 04:52:50 +00:00

Fix for how os.path.join() works on Windows

This commit is contained in:
Raoul Snyman 2019-04-11 15:58:44 -07:00
parent 86f646beb3
commit 94574b356a

View File

@ -382,7 +382,7 @@ class WindowsBuilder(Builder):
copy(os.path.join(self.mutool_exe), os.path.join(self.dist_path, 'mutool.exe'))
else:
self._print('... WARNING: mutool.exe not found')
vlc_path = os.path.join('C:', 'Program Files', 'VideoLAN', 'VLC')
vlc_path = os.path.join('C:\\', 'Program Files', 'VideoLAN', 'VLC')
for fname in ['libvlc.dll', 'libvlccore.dll']:
self._print_verbose('... {}'.format(fname))
copy(os.path.join(vlc_path, fname), os.path.join(self.dist_path, fname))