diff --git a/.github/workflows/build-templates.yml b/.github/workflows/build-templates.yml index 55550ae..3ed25b6 100644 --- a/.github/workflows/build-templates.yml +++ b/.github/workflows/build-templates.yml @@ -32,8 +32,8 @@ jobs: set /p LOVE_VERSION=<%GITHUB_WORKSPACE%\LOVE_VERSION.txt wget -O %GITHUB_WORKSPACE%\love_win32.zip https://bitbucket.org/rude/love/downloads/love-%LOVE_VERSION%-win32.zip 7z x %GITHUB_WORKSPACE%\love_win32.zip -o%GITHUB_WORKSPACE%\love_win32 - move /Y %GITHUB_WORKSPACE%\love_win32\love-%LOVE_VERSION%.0-win32\*.* %GITHUB_WORKSPACE%\love_win32\ - del /Q %GITHUB_WORKSPACE%\love_win32\love-%LOVE_VERSION%.0-win32 + move /Y %GITHUB_WORKSPACE%\love_win32\love-%LOVE_VERSION%-win32\*.* %GITHUB_WORKSPACE%\love_win32\ + del /Q %GITHUB_WORKSPACE%\love_win32\love-%LOVE_VERSION%-win32 - name: Patch LÖVE 32-bit shell: cmd @@ -48,6 +48,7 @@ jobs: copy .\windows\icon.ico .\love_win32\game.ico echo Adding license files copy .\LIKO-12-license.txt .\love_win32\LIKO-12-license.txt + move .\love_win32\license.txt .\love_win32\LOVE-license.txt echo Patching love.exe icon .\resource_hacker\ResourceHacker.exe -open .\love_win32\love.exe -save .\love_win32\love.exe -action addoverwrite -res .\love_win32\love.ico -mask ICONGROUP,1,1033 -log CONSOLE echo Patching lovec.exe icon @@ -56,6 +57,8 @@ jobs: .\resource_hacker\ResourceHacker.exe -open .\love_win32\love.exe -save .\love_win32\love.exe -action addoverwrite -res .\windows\VersionInfo_love.res -mask VERSIONINFO,1,1033 -log CONSOLE echo Patching lovec.exe VersionInfo .\resource_hacker\ResourceHacker.exe -open .\love_win32\lovec.exe -save .\love_win32\lovec.exe -action addoverwrite -res .\windows\VersionInfo_lovec.res -mask VERSIONINFO,1,1033 -log CONSOLE + echo Removing readme.txt + del /Q .\love_win32\readme.txt - name: Upload love_win32 artifact uses: actions/upload-artifact@v1 @@ -69,8 +72,8 @@ jobs: set /p LOVE_VERSION=<%GITHUB_WORKSPACE%\LOVE_VERSION.txt wget -O %GITHUB_WORKSPACE%\love_win64.zip https://bitbucket.org/rude/love/downloads/love-%LOVE_VERSION%-win64.zip 7z x %GITHUB_WORKSPACE%\love_win64.zip -o%GITHUB_WORKSPACE%\love_win64 - move /Y %GITHUB_WORKSPACE%\love_win64\love-%LOVE_VERSION%.0-win64\*.* %GITHUB_WORKSPACE%\love_win64\ - del /Q %GITHUB_WORKSPACE%\love_win64\love-%LOVE_VERSION%.0-win64 + move /Y %GITHUB_WORKSPACE%\love_win64\love-%LOVE_VERSION%-win64\*.* %GITHUB_WORKSPACE%\love_win64\ + del /Q %GITHUB_WORKSPACE%\love_win64\love-%LOVE_VERSION%-win64 - name: Patch LÖVE 64-bit shell: cmd @@ -85,6 +88,7 @@ jobs: copy .\windows\icon.ico .\love_win64\game.ico echo Adding license files copy .\LIKO-12-license.txt .\love_win64\LIKO-12-license.txt + move .\love_win64\license.txt .\love_win64\LOVE-license.txt echo Patching love.exe icon .\resource_hacker\ResourceHacker.exe -open .\love_win64\love.exe -save .\love_win64\love.exe -action addoverwrite -res .\love_win64\love.ico -mask ICONGROUP,1,1033 -log CONSOLE echo Patching lovec.exe icon @@ -93,6 +97,8 @@ jobs: .\resource_hacker\ResourceHacker.exe -open .\love_win64\love.exe -save .\love_win64\love.exe -action addoverwrite -res .\windows\VersionInfo_love.res -mask VERSIONINFO,1,1033 -log CONSOLE echo Patching lovec.exe VersionInfo .\resource_hacker\ResourceHacker.exe -open .\love_win64\lovec.exe -save .\love_win64\lovec.exe -action addoverwrite -res .\windows\VersionInfo_lovec.res -mask VERSIONINFO,1,1033 -log CONSOLE + echo Removing readme.txt + del /Q .\love_win32\readme.txt - name: Upload love_win64 artifact uses: actions/upload-artifact@v1