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

Try to fix path to libvlc

This commit is contained in:
Raoul Snyman 2019-04-11 15:46:24 -07:00
parent ee809f1633
commit 86f646beb3

View File

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