@@ -112,6 +112,50 @@ jobs:
112112        ninja 
113113        ninja windows_package 
114114shell : cmd 
115+     - name : Archive production artifacts 
116+       uses : actions/upload-artifact@v4 
117+       with :
118+         name : windows-legacy64 
119+         path : ${{ github.workspace }}/build/JellyfinMediaPlayer-*.exe 
120+ 
121+   build-win64 :
122+     runs-on : windows-latest 
123+     steps :
124+     - uses : actions/checkout@v4 
125+     - name : Install Qt 5.15.2 
126+       uses : jurplel/install-qt-action@v3 
127+       with :
128+         version : " 5.15.2" 
129+         arch : " win64_msvc2019_64" 
130+         modules : " qtwebengine" 
131+     - name : Install dependencies 
132+       run : | 
133+         mkdir build 
134+         curl -L https://aka.ms/vs/17/release/vc_redist.x64.exe > vc_redist.x64.exe 
135+         sed -i 's#C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Redist\\MSVC\\v142\\vcredist_x64.exe#'"$(readlink -f vc_redist.x64.exe | sed 's#/\([a-z]\)/#\1:\\#g' | tr '/' '\\' | sed 's/\\/\\\\/g')#g" bundle/win/Bundle.wxs 
136+         curl -L https://github.com/ninja-build/ninja/releases/download/v1.10.2/ninja-win.zip > ninja.zip 
137+         unzip ninja.zip 
138+         mv ninja.exe build/ 
139+         curl -L https://sourceforge.net/projects/mpv-player-windows/files/libmpv/mpv-dev-x86_64-20240304-git-9ac791c.7z/download > mpv.7z 
140+         7z x mpv.7z 
141+         mkdir mpv 
142+         mv include mpv 
143+         gendef libmpv-2.dll 
144+         mv libmpv-2.dll mpv/libmpv-2.dll 
145+         mv libmpv-2.def mpv.def 
146+         mv mpv.def libmpv.dll.a mpv/ 
147+         mv mpv build/ 
148+ shell : bash 
149+     - name : Build 
150+       run : | 
151+         call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" 
152+         cd build 
153+         set PATH=%PATH%;C:\Program Files (x86)\WiX Toolset v3.11\bin;%CD% 
154+         cmake -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=output -DCMAKE_MAKE_PROGRAM=ninja.exe -DQTROOT=%Qt5_DIR% -DMPV_INCLUDE_DIR=mpv/include -DMPV_LIBRARY=mpv/libmpv-2.dll -DCMAKE_INSTALL_PREFIX=output .. 
155+         lib /def:mpv\mpv.def /out:mpv\libmpv-2.dll.lib /MACHINE:X64 
156+         ninja 
157+         ninja windows_package 
158+ shell : cmd 
115159    - name : Archive production artifacts 
116160      uses : actions/upload-artifact@v4 
117161      with :
0 commit comments