2020-04-02 23:26:05 +00:00
|
|
|
@echo off
|
|
|
|
rd /s /q __pycache__ dist build
|
|
|
|
set PATH=%PATH%;%CD%
|
2022-05-16 04:59:41 +00:00
|
|
|
pyinstaller -w --add-binary "mpv-2.dll;." --add-data "jellyfin_mpv_shim\mouse.lua;jellyfin_mpv_shim" --hidden-import pystray._win32 --add-data "jellyfin_mpv_shim\default_shader_pack;jellyfin_mpv_shim\default_shader_pack" --add-data "jellyfin_mpv_shim\messages;jellyfin_mpv_shim\messages" --add-data "jellyfin_mpv_shim\systray.png;jellyfin_mpv_shim" --add-data "jellyfin_mpv_shim\display_mirror\index.html;jellyfin_mpv_shim\display_mirror" --add-data "jellyfin_mpv_shim\display_mirror\jellyfin.css;jellyfin_mpv_shim\display_mirror" --add-binary "Microsoft.Toolkit.Forms.UI.Controls.WebView.dll;." --icon jellyfin.ico run.py
|
2020-08-23 02:50:30 +00:00
|
|
|
if %errorlevel% neq 0 exit /b %errorlevel%
|
2021-04-21 21:22:10 +00:00
|
|
|
del dist\run\run.exe.manifest
|
|
|
|
copy hidpi.manifest dist\run\run.exe.manifest
|
2021-04-20 00:07:38 +00:00
|
|
|
"C:\Program Files (x86)\Inno Setup 6\ISCC.exe" "Jellyfin MPV Shim.iss"
|
2021-04-20 22:26:16 +00:00
|
|
|
if %errorlevel% neq 0 exit /b %errorlevel%
|