Skip to content

Commit d204de2

Browse files
committed
Update windows build info for pystray.
1 parent a355cb0 commit d204de2

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -441,4 +441,4 @@ and libmpv libraries are either 64 or 32 bit. (Don't mismatch them.)
441441
4. Extract the `mpv-1.dll` from the file and move it to the `plex-mpv-shim` folder.
442442
5. Open a regular `cmd` prompt. Navigate to the `plex-mpv-shim` folder.
443443
6. If you would like the shader pack included, [download it](https://github.com/iwalton3/default-shader-pack) and put the contents into `plex_mpv_shim\default_shader_pack`.
444-
7. Run `pyinstaller -wF --add-binary "mpv-1.dll;." --add-data "plex_mpv_shim\default_shader_pack;plex_mpv_shim\default_shader_pack" --add-binary "plex_mpv_shim\systray.png;." --icon media.ico run.py`.
444+
7. Run `pyinstaller -wF --add-binary "mpv-1.dll;." --add-data "plex_mpv_shim\default_shader_pack;plex_mpv_shim\default_shader_pack" --add-binary "plex_mpv_shim\systray.png;." --icon media.ico run.py --hidden-import pystray._win32`.

build-debug.bat

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@echo off
2+
git pull
3+
rd /s /q __pycache__ dist build
4+
pyinstaller -cF --add-binary "mpv-1.dll;." --add-binary "plex_mpv_shim\systray.png;." --icon media.ico run.py --hidden-import pystray._win32

build.bat

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@echo off
2+
git pull
3+
rd /s /q __pycache__ dist build
4+
pyinstaller -wF --add-binary "mpv-1.dll;." --add-binary "plex_mpv_shim\systray.png;." --add-data "plex_mpv_shim\default_shader_pack;plex_mpv_shim\default_shader_pack" --hidden-import pystray._win32 --icon media.ico run.py

0 commit comments

Comments
 (0)