Skip to content

Commit

Permalink
Add current directory to path for pyinstaller hook.
Browse files Browse the repository at this point in the history
  • Loading branch information
iwalton3 committed Feb 27, 2020
1 parent 26b2611 commit 634ef61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions build-win-dbg.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@echo off
rd /s /q __pycache__ dist build
set PATH=%PATH%;%CD%
pyinstaller -cF --add-binary "mpv-1.dll;." --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-chromecast\css\jellyfin.css;jellyfin_mpv_shim\display_mirror" --add-binary "Microsoft.Toolkit.Forms.UI.Controls.WebView.dll;." --icon media.ico run.py
pause

1 change: 1 addition & 0 deletions build-win.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@echo off
rd /s /q __pycache__ dist build
set PATH=%PATH%;%CD%
pyinstaller -wF --add-binary "mpv-1.dll;." --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-chromecast\css\jellyfin.css;jellyfin_mpv_shim\display_mirror" --add-binary "Microsoft.Toolkit.Forms.UI.Controls.WebView.dll;." --icon media.ico run.py

0 comments on commit 634ef61

Please sign in to comment.