mirror of
https://github.com/jellyfin/jellyfin-mpv-shim.git
synced 2024-11-27 16:20:28 +00:00
16 lines
348 B
Python
Executable File
16 lines
348 B
Python
Executable File
#!/usr/bin/env python3
|
|
import webview
|
|
import os.path
|
|
import shutil
|
|
|
|
lib_root = os.path.join(os.path.dirname(webview.__file__), "lib")
|
|
|
|
files_to_copy = [
|
|
"WebBrowserInterop.x86.dll",
|
|
"WebBrowserInterop.x64.dll",
|
|
"Microsoft.Toolkit.Forms.UI.Controls.WebView.dll"
|
|
]
|
|
|
|
for f in files_to_copy:
|
|
shutil.copy(os.path.join(lib_root, f), ".")
|