Skip to content

Commit f0cc626

Browse files
committed
libwdi 1.4.0
1 parent e1257a8 commit f0cc626

File tree

12 files changed

+62
-59
lines changed

12 files changed

+62
-59
lines changed

.github/workflows/vs2019.yml

+33-10
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ jobs:
3131
VS2019-Build:
3232
runs-on: windows-latest
3333

34-
strategy:
35-
matrix:
36-
TARGET_PLATFORM: [x64, Win32]
37-
3834
steps:
3935
- name: Checkout repository
4036
uses: actions/checkout@v2
@@ -62,17 +58,44 @@ jobs:
6258
- name: Build
6359
shell: cmd
6460
run: |
65-
for %%B in (Debug Release) do (
66-
msbuild ${{ env.SOLUTION_FILE_PATH }} /m /p:Configuration=%%B,Platform=${{ matrix.TARGET_PLATFORM }},BuildMacros=${{ env.BUILD_MACROS }}
61+
for %%P in (Win32 x64) do (
62+
for %%B in (Debug Release) do (
63+
msbuild ${{ env.SOLUTION_FILE_PATH }} /m /p:Configuration=%%B,Platform=%%P,BuildMacros=${{ env.BUILD_MACROS }}
64+
)
6765
)
6866
69-
- name: Display SHA-256
70-
if: ${{ github.event_name == 'push' }}
71-
run: sha256sum ./${{ matrix.TARGET_PLATFORM }}/*/examples/*.exe
72-
7367
- name: Upload artifacts
7468
uses: actions/upload-artifact@v2
7569
if: ${{ github.event_name == 'push' }}
7670
with:
7771
name: VS2019
7872
path: ./*/*/examples/*.exe
73+
74+
- name: Display SHA-256
75+
if: ${{ github.event_name == 'push' }}
76+
run: sha256sum ./*/*/examples/*.exe
77+
78+
- name: Compress release-ready version of Zadig
79+
uses: crazy-max/ghaction-upx@v1
80+
if: startsWith(github.ref, 'refs/tags/')
81+
with:
82+
version: latest
83+
files: ./Win32/Release/examples/zadig.exe
84+
args: --lzma --best
85+
86+
- name: Rename release-ready version of Zadig
87+
if: startsWith(github.ref, 'refs/tags/')
88+
shell: cmd
89+
run: |
90+
for /f "tokens=3" %%i in ('findstr FileVersion examples\zadig.rc') do set "ver=%%i"
91+
set ver=%ver:"=%
92+
for /f "tokens=1,2 delims=." %%i in ("%ver%") do set "ZADIG_VERSION=%%i.%%j"
93+
copy Win32\Release\examples\zadig.exe zadig-%ZADIG_VERSION%.exe
94+
sha256sum zadig-*.exe
95+
96+
- name: Upload release-ready version of Zadig
97+
uses: actions/upload-artifact@v2
98+
if: startsWith(github.ref, 'refs/tags/')
99+
with:
100+
name: Zadig
101+
path: ./zadig-*.exe

ChangeLog

+9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
For the latest changes, please visit:
22
https://github.com/pbatard/libwdi/commits/master
33

4+
o v1.4.0 (2021.09.04)
5+
Bugfixes:
6+
- fix breakage when providing a user driver
7+
- work around Windows corrupting the key containers
8+
- don't populate empty device decriptors
9+
Improvements:
10+
- more error reporting improvements
11+
- remove the zadic sample
12+
413
o v1.3.1 (2020.03.30)
514
Bugfixes:
615
- fix handling of non western paths during cat file generation

_bm.sh

-16
This file was deleted.

_bz.cmd

-13
This file was deleted.

_sign.cmd

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
@echo off
2-
"C:\Program Files (x86)\Windows Kits\10\bin\10.0.16299.0\x64\signtool" sign /v /sha1 9ce9a71ccab3b38a74781b975f1c228222cf7d3b /fd SHA256 /tr http://sha256timestamp.ws.symantec.com/sha256/timestamp %1
3-
exit
2+
"C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\signtool" sign /v /sha1 9ce9a71ccab3b38a74781b975f1c228222cf7d3b /fd SHA256 /tr http://sha256timestamp.ws.symantec.com/sha256/timestamp %1
3+

examples/wdi-simple.rc

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
#endif
88

99
VS_VERSION_INFO VERSIONINFO
10-
FILEVERSION 1,4,753,0
11-
PRODUCTVERSION 1,4,753,0
10+
FILEVERSION 1,4,754,0
11+
PRODUCTVERSION 1,4,754,0
1212
FILEFLAGSMASK 0x17L
1313
#ifdef _DEBUG
1414
FILEFLAGS 0x1L
@@ -25,13 +25,13 @@ BEGIN
2525
BEGIN
2626
VALUE "CompanyName", "akeo.ie"
2727
VALUE "FileDescription", "WDI-Simple"
28-
VALUE "FileVersion", "1.3.753"
28+
VALUE "FileVersion", "1.3.754"
2929
VALUE "InternalName", "WDI-Simple"
3030
VALUE "LegalCopyright", "� 2010-2018 Pete Batard (LGPL v3)"
3131
VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/lesser.html"
3232
VALUE "OriginalFilename", "wdi-simple.exe"
3333
VALUE "ProductName", "WDI-Simple"
34-
VALUE "ProductVersion", "1.3.753"
34+
VALUE "ProductVersion", "1.3.754"
3535
VALUE "Comments", "http://libwdi.akeo.ie"
3636
END
3737
END

examples/zadig.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Zadig: Automated Driver Installer for USB devices (GUI version)
3-
* Copyright (c) 2010-2020 Pete Batard <[email protected]>
3+
* Copyright (c) 2010-2021 Pete Batard <[email protected]>
44
* For more info, please visit http://libwdi.akeo.ie
55
*
66
* This program is free software: you can redistribute it and/or modify

examples/zadig.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
#define FIELD_ORANGE RGB(255,240,200)
6060
#define ARROW_GREEN RGB(92,228,65)
6161
#define ARROW_ORANGE RGB(253,143,56)
62-
#define APP_VERSION "Zadig 2.6.753"
62+
#define APP_VERSION "Zadig 2.6.754"
6363

6464
// These are used to flag end users about the driver they are going to replace
6565
enum driver_type {

examples/zadig.rc

+4-4
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,8 @@ END
246246
//
247247

248248
VS_VERSION_INFO VERSIONINFO
249-
FILEVERSION 2,6,753,0
250-
PRODUCTVERSION 2,6,753,0
249+
FILEVERSION 2,6,754,0
250+
PRODUCTVERSION 2,6,754,0
251251
FILEFLAGSMASK 0x17L
252252
#ifdef _DEBUG
253253
FILEFLAGS 0x1L
@@ -264,13 +264,13 @@ BEGIN
264264
BEGIN
265265
VALUE "CompanyName", "akeo.ie"
266266
VALUE "FileDescription", "Zadig"
267-
VALUE "FileVersion", "2.6.753"
267+
VALUE "FileVersion", "2.6.754"
268268
VALUE "InternalName", "Zadig"
269269
VALUE "LegalCopyright", "� 2010-2018 Pete Batard (GPL v3)"
270270
VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html"
271271
VALUE "OriginalFilename", "zadig.exe"
272272
VALUE "ProductName", "Zadig"
273-
VALUE "ProductVersion", "2.6.753"
273+
VALUE "ProductVersion", "2.6.754"
274274
VALUE "Comments", "http://libwdi.akeo.ie"
275275
END
276276
END

examples/zadig_license.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Zadig: Automated Driver Installer for USB devices (GUI version)
3-
* Copyright (c) 2010-2020 Pete Batard <[email protected]>
3+
* Copyright (c) 2010-2021 Pete Batard <[email protected]>
44
*
55
* This program is free software: you can redistribute it and/or modify
66
* it under the terms of the GNU General Public License as published by
@@ -21,7 +21,7 @@ const char* about_blurb_format =
2121
"{\\b\\fs20Zadig - The Automated Driver Installer}\\line\n"
2222
"\\fs18Version %d.%d (Build %d)\\line\n"
2323
"\\line\n"
24-
"Copyright © 2010-2020 Pete Batard / Akeo\\line\n"
24+
"Copyright © 2010-2021 Pete Batard / Akeo\\line\n"
2525
APPLICATION_URL "\\line\n"
2626
"\\line\n"
2727
"Report bugs or request enhancements at:\\line\n"
@@ -32,7 +32,7 @@ APPLICATION_URL "\\line\n"
3232
const char* additional_copyrights =
3333
"{\\rtf1\\ansi\n"
3434
"Windows Driver Installer library, libwdi:\\line\n"
35-
"Copyright © 2010-2020 by Pete Batard et al.\\line\n"
35+
"Copyright © 2010-2021 by Pete Batard et al.\\line\n"
3636
"GNU Lesser General Public License (LGPL) v3 or later\\line\n"
3737
"https://github.com/pbatard/libwdi/wiki\\line\n"
3838
"\\line\n"

examples/zadig_net.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Zadig: Automated Driver Installer for USB devices (GUI version)
33
* Networking functionality (web file download, check for update, etc.)
4-
* Copyright © 2012-2017 Pete Batard <[email protected]>
4+
* Copyright © 2012-2021 Pete Batard <[email protected]>
55
*
66
* This program is free software: you can redistribute it and/or modify
77
* it under the terms of the GNU General Public License as published by

libwdi/libwdi.rc

+4-4
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ END
5050
//
5151

5252
VS_VERSION_INFO VERSIONINFO
53-
FILEVERSION 1,4,753,0
54-
PRODUCTVERSION 1,4,753,0
53+
FILEVERSION 1,4,754,0
54+
PRODUCTVERSION 1,4,754,0
5555
FILEFLAGSMASK 0x17L
5656
#ifdef _DEBUG
5757
FILEFLAGS 0x1L
@@ -68,13 +68,13 @@ BEGIN
6868
BEGIN
6969
VALUE "CompanyName", "akeo.ie"
7070
VALUE "FileDescription", "libwdi: Windows Driver Installer Library"
71-
VALUE "FileVersion", "1.3.753"
71+
VALUE "FileVersion", "1.3.754"
7272
VALUE "InternalName", "libwdi"
7373
VALUE "LegalCopyright", "� 2010-2017 Pete Batard (LGPL v3)"
7474
VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/lesser.html"
7575
VALUE "OriginalFilename", "libwdi"
7676
VALUE "ProductName", "libwdi"
77-
VALUE "ProductVersion", "1.3.753"
77+
VALUE "ProductVersion", "1.3.754"
7878
VALUE "Comments", "http://libwdi.akeo.ie"
7979
END
8080
END

0 commit comments

Comments
 (0)