2024-03-01 22:06:50 +08:00
|
|
|
import shutil,sys
|
|
|
|
x86=int(sys.argv[1])
|
|
|
|
if x86:
|
|
|
|
shutil.copy('../builds/_x86/shareddllproxy32.exe','../../LunaTranslator/files/plugins')
|
2024-08-11 22:45:33 +08:00
|
|
|
shutil.copy('../builds/_x86/loopbackaudio.dll','../../LunaTranslator/files/plugins/DLL32')
|
2024-03-01 22:06:50 +08:00
|
|
|
shutil.copy('../builds/_x86/winrtutils32.dll','../../LunaTranslator/files/plugins/DLL32')
|
|
|
|
shutil.copy('../builds/_x86/winsharedutils32.dll','../../LunaTranslator/files/plugins/DLL32')
|
2024-07-13 21:55:16 +08:00
|
|
|
shutil.copy('../builds/_x86/wcocr.dll','../../LunaTranslator/files/plugins/DLL32')
|
2024-03-01 22:06:50 +08:00
|
|
|
else:
|
|
|
|
shutil.copy('../builds/_x64/shareddllproxy64.exe','../../LunaTranslator/files/plugins')
|
2024-08-11 22:45:33 +08:00
|
|
|
shutil.copy('../builds/_x64/loopbackaudio.dll','../../LunaTranslator/files/plugins/DLL64')
|
2024-03-01 22:06:50 +08:00
|
|
|
shutil.copy('../builds/_x64/hookmagpie.dll','../../LunaTranslator/files/plugins')
|
|
|
|
shutil.copy('../builds/_x64/winrtutils64.dll','../../LunaTranslator/files/plugins/DLL64')
|
|
|
|
shutil.copy('../builds/_x64/winsharedutils64.dll','../../LunaTranslator/files/plugins/DLL64')
|
2024-07-13 21:55:16 +08:00
|
|
|
shutil.copy('../builds/_x64/wcocr.dll','../../LunaTranslator/files/plugins/DLL64')
|