Skip to content

Commit

Permalink
libwdi 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pbatard committed Sep 4, 2021
1 parent e1257a8 commit f0cc626
Show file tree
Hide file tree
Showing 12 changed files with 62 additions and 59 deletions.
43 changes: 33 additions & 10 deletions .github/workflows/vs2019.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ jobs:
VS2019-Build:
runs-on: windows-latest

strategy:
matrix:
TARGET_PLATFORM: [x64, Win32]

steps:
- name: Checkout repository
uses: actions/checkout@v2
Expand Down Expand Up @@ -62,17 +58,44 @@ jobs:
- name: Build
shell: cmd
run: |
for %%B in (Debug Release) do (
msbuild ${{ env.SOLUTION_FILE_PATH }} /m /p:Configuration=%%B,Platform=${{ matrix.TARGET_PLATFORM }},BuildMacros=${{ env.BUILD_MACROS }}
for %%P in (Win32 x64) do (
for %%B in (Debug Release) do (
msbuild ${{ env.SOLUTION_FILE_PATH }} /m /p:Configuration=%%B,Platform=%%P,BuildMacros=${{ env.BUILD_MACROS }}
)
)
- name: Display SHA-256
if: ${{ github.event_name == 'push' }}
run: sha256sum ./${{ matrix.TARGET_PLATFORM }}/*/examples/*.exe

- name: Upload artifacts
uses: actions/upload-artifact@v2
if: ${{ github.event_name == 'push' }}
with:
name: VS2019
path: ./*/*/examples/*.exe

- name: Display SHA-256
if: ${{ github.event_name == 'push' }}
run: sha256sum ./*/*/examples/*.exe

- name: Compress release-ready version of Zadig
uses: crazy-max/ghaction-upx@v1
if: startsWith(github.ref, 'refs/tags/')
with:
version: latest
files: ./Win32/Release/examples/zadig.exe
args: --lzma --best

- name: Rename release-ready version of Zadig
if: startsWith(github.ref, 'refs/tags/')
shell: cmd
run: |
for /f "tokens=3" %%i in ('findstr FileVersion examples\zadig.rc') do set "ver=%%i"
set ver=%ver:"=%
for /f "tokens=1,2 delims=." %%i in ("%ver%") do set "ZADIG_VERSION=%%i.%%j"
copy Win32\Release\examples\zadig.exe zadig-%ZADIG_VERSION%.exe
sha256sum zadig-*.exe
- name: Upload release-ready version of Zadig
uses: actions/upload-artifact@v2
if: startsWith(github.ref, 'refs/tags/')
with:
name: Zadig
path: ./zadig-*.exe
9 changes: 9 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
For the latest changes, please visit:
https://github.com/pbatard/libwdi/commits/master

o v1.4.0 (2021.09.04)
Bugfixes:
- fix breakage when providing a user driver
- work around Windows corrupting the key containers
- don't populate empty device decriptors
Improvements:
- more error reporting improvements
- remove the zadic sample

o v1.3.1 (2020.03.30)
Bugfixes:
- fix handling of non western paths during cat file generation
Expand Down
16 changes: 0 additions & 16 deletions _bm.sh

This file was deleted.

13 changes: 0 additions & 13 deletions _bz.cmd

This file was deleted.

4 changes: 2 additions & 2 deletions _sign.cmd
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@echo off
"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
exit
"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

8 changes: 4 additions & 4 deletions examples/wdi-simple.rc
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
#endif

VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,4,753,0
PRODUCTVERSION 1,4,753,0
FILEVERSION 1,4,754,0
PRODUCTVERSION 1,4,754,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -25,13 +25,13 @@ BEGIN
BEGIN
VALUE "CompanyName", "akeo.ie"
VALUE "FileDescription", "WDI-Simple"
VALUE "FileVersion", "1.3.753"
VALUE "FileVersion", "1.3.754"
VALUE "InternalName", "WDI-Simple"
VALUE "LegalCopyright", "� 2010-2018 Pete Batard (LGPL v3)"
VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/lesser.html"
VALUE "OriginalFilename", "wdi-simple.exe"
VALUE "ProductName", "WDI-Simple"
VALUE "ProductVersion", "1.3.753"
VALUE "ProductVersion", "1.3.754"
VALUE "Comments", "http://libwdi.akeo.ie"
END
END
Expand Down
2 changes: 1 addition & 1 deletion examples/zadig.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Zadig: Automated Driver Installer for USB devices (GUI version)
* Copyright (c) 2010-2020 Pete Batard <pete@akeo.ie>
* Copyright (c) 2010-2021 Pete Batard <pete@akeo.ie>
* For more info, please visit http://libwdi.akeo.ie
*
* This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion examples/zadig.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
#define FIELD_ORANGE RGB(255,240,200)
#define ARROW_GREEN RGB(92,228,65)
#define ARROW_ORANGE RGB(253,143,56)
#define APP_VERSION "Zadig 2.6.753"
#define APP_VERSION "Zadig 2.6.754"

// These are used to flag end users about the driver they are going to replace
enum driver_type {
Expand Down
8 changes: 4 additions & 4 deletions examples/zadig.rc
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ END
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,6,753,0
PRODUCTVERSION 2,6,753,0
FILEVERSION 2,6,754,0
PRODUCTVERSION 2,6,754,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -264,13 +264,13 @@ BEGIN
BEGIN
VALUE "CompanyName", "akeo.ie"
VALUE "FileDescription", "Zadig"
VALUE "FileVersion", "2.6.753"
VALUE "FileVersion", "2.6.754"
VALUE "InternalName", "Zadig"
VALUE "LegalCopyright", "� 2010-2018 Pete Batard (GPL v3)"
VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html"
VALUE "OriginalFilename", "zadig.exe"
VALUE "ProductName", "Zadig"
VALUE "ProductVersion", "2.6.753"
VALUE "ProductVersion", "2.6.754"
VALUE "Comments", "http://libwdi.akeo.ie"
END
END
Expand Down
6 changes: 3 additions & 3 deletions examples/zadig_license.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Zadig: Automated Driver Installer for USB devices (GUI version)
* Copyright (c) 2010-2020 Pete Batard <pete@akeo.ie>
* Copyright (c) 2010-2021 Pete Batard <pete@akeo.ie>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand All @@ -21,7 +21,7 @@ const char* about_blurb_format =
"{\\b\\fs20Zadig - The Automated Driver Installer}\\line\n"
"\\fs18Version %d.%d (Build %d)\\line\n"
"\\line\n"
"Copyright © 2010-2020 Pete Batard / Akeo\\line\n"
"Copyright © 2010-2021 Pete Batard / Akeo\\line\n"
APPLICATION_URL "\\line\n"
"\\line\n"
"Report bugs or request enhancements at:\\line\n"
Expand All @@ -32,7 +32,7 @@ APPLICATION_URL "\\line\n"
const char* additional_copyrights =
"{\\rtf1\\ansi\n"
"Windows Driver Installer library, libwdi:\\line\n"
"Copyright © 2010-2020 by Pete Batard et al.\\line\n"
"Copyright © 2010-2021 by Pete Batard et al.\\line\n"
"GNU Lesser General Public License (LGPL) v3 or later\\line\n"
"https://github.com/pbatard/libwdi/wiki\\line\n"
"\\line\n"
Expand Down
2 changes: 1 addition & 1 deletion examples/zadig_net.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Zadig: Automated Driver Installer for USB devices (GUI version)
* Networking functionality (web file download, check for update, etc.)
* Copyright © 2012-2017 Pete Batard <pete@akeo.ie>
* Copyright © 2012-2021 Pete Batard <pete@akeo.ie>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down
8 changes: 4 additions & 4 deletions libwdi/libwdi.rc
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ END
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,4,753,0
PRODUCTVERSION 1,4,753,0
FILEVERSION 1,4,754,0
PRODUCTVERSION 1,4,754,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -68,13 +68,13 @@ BEGIN
BEGIN
VALUE "CompanyName", "akeo.ie"
VALUE "FileDescription", "libwdi: Windows Driver Installer Library"
VALUE "FileVersion", "1.3.753"
VALUE "FileVersion", "1.3.754"
VALUE "InternalName", "libwdi"
VALUE "LegalCopyright", "� 2010-2017 Pete Batard (LGPL v3)"
VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/lesser.html"
VALUE "OriginalFilename", "libwdi"
VALUE "ProductName", "libwdi"
VALUE "ProductVersion", "1.3.753"
VALUE "ProductVersion", "1.3.754"
VALUE "Comments", "http://libwdi.akeo.ie"
END
END
Expand Down

0 comments on commit f0cc626

Please sign in to comment.