File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ filter "platforms:Windows"
108108
109109-- clang preset in premake5 does not support icon compiling, define it here
110110filter ' files:**.rc'
111- buildcommands {' windres -O coff -o "%{cfg.objdir}/%{file.basename}.o" "%{file.relpath}"' }
111+ buildcommands {' windres --define VERSION= \" ' .. get_version () .. ' \" - O coff -o "%{cfg.objdir}/%{file.basename}.o" "%{file.relpath}"' }
112112 buildoutputs {' %{cfg.objdir}/%{file.basename}.o' }
113113
114114-- YASM compiling for ffap
Original file line number Diff line number Diff line change 11#include "winver.h"
2+ #define str(x) stri(x)
3+ #define stri(x) #x
24
35VS_VERSION_INFO VERSIONINFO
46 FILEVERSION 1,0,0,0
@@ -14,7 +16,7 @@ VS_VERSION_INFO VERSIONINFO
1416 VALUE "LegalCopyright", "\0"
1517 VALUE "OriginalFilename", "deadbeef.exe\0"
1618 VALUE "ProductName", "DeaDBeeF\0"
17- VALUE "ProductVersion", "1.0.0.0\0"
19+ VALUE "ProductVersion", str(VERSION)
1820 }
1921 }
2022 BLOCK "VarFileInfo"
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ case "$TRAVIS_OS_NAME" in
3838 cd ../../..
3939 ;;
4040 windows)
41- DISPATCH_URL=" https://github.com/DeaDBeeF-for-Windows/swift-corelibs-libdispatch/releases/download/release%2F5.10 /ddb-xdispatch-win-latest.zip"
41+ DISPATCH_URL=" https://github.com/DeaDBeeF-for-Windows/swift-corelibs-libdispatch/releases/download/release%2F6.0.3 /ddb-xdispatch-win-latest.zip"
4242 PREMAKE_URL=" https://github.com/premake/premake-core/releases/download/v5.0.0-beta2/premake-5.0.0-beta2-windows.zip"
4343 DEPS_URL=" https://github.com/kuba160/deadbeef-windows-deps.git"
4444 echo " Downloading xdispatch_ddb..."
You can’t perform that action at this time.
0 commit comments