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
1 changed files with 1 additions and 1 deletions

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))