mirror of
https://github.com/jellyfin/jellyfin-mpv-shim.git
synced 2024-11-23 14:09:57 +00:00
16 lines
349 B
Python
Executable File
16 lines
349 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), ".")
|