Created
December 23, 2018 06:04
-
-
Save wastee/0c8e1353b261a24bcdbb401e47d18aba to your computer and use it in GitHub Desktop.
use it when you upgraded linvst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from shutil import copy | |
from glob import glob | |
from os import remove | |
# Original linvst.so file | |
ori_file = '/usr/lib/vst/linvst.so' | |
# IMPORTANT | |
# your wine vst folder | |
# delete this value and fill in | |
winevst_path = '/home/tee/.wa/drive_c/vst' | |
# get wine vsts path list | |
winevst_filelist = glob(f'{winevst_path}/**/*.so', recursive=True) | |
if __name__ == '__main__': | |
for x in winevst_filelist: | |
remove(x) | |
copy('/usr/lib/vst/linvst.so', x) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment