-
Notifications
You must be signed in to change notification settings - Fork 468
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
88 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
@echo off | ||
|
||
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat" -arch=x86 -host_arch=amd64 | ||
cd /d "%~dp0" | ||
rem *** Get the version | ||
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" | ||
msbuild libwdi.sln /m /p:Project=Zadig;Configuration=Release,Platform=Win32 /t:Rebuild | ||
copy Win32\Release\examples\zadig.exe zadig-%ZADIG_VERSION%.exe | ||
upx --lzma zadig-%ZADIG_VERSION%.exe | ||
"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 zadig-%ZADIG_VERSION%.exe | ||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
@echo off | ||
"C:\Program Files (x86)\Windows Kits\10\bin\x64\signtool" sign /v /sha1 655f6413a8f721e3286ace95025c9e0ea132a984 /fd SHA1 /tr http://timestamp.comodoca.com/rfc3161 /td SHA1 %1 | ||
if ERRORLEVEL 1 goto out | ||
"C:\Program Files (x86)\Windows Kits\10\bin\x64\signtool" sign /as /v /sha1 5759b23dc8f45e9120a7317f306e5b6890b612f0 /fd SHA256 /tr http://timestamp.comodoca.com/rfc3161 /td SHA256 %1 | ||
:out | ||
"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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-2017 Pete Batard <[email protected]> | ||
* Copyright (c) 2010-2018 Pete Batard <[email protected]> | ||
* | ||
* 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 | ||
|
@@ -35,18 +35,18 @@ | |
|
||
#define APPLICATION_NAME "Zadig" | ||
#define COMPANY_NAME "Akeo Consulting" | ||
#define APPLICATION_URL "http://zadig.akeo.ie" | ||
#define APPLICATION_URL "https://zadig.akeo.ie" | ||
#define STR_BUFFER_SIZE 512 | ||
#define NOTIFICATION_DELAY 1000 | ||
#define MAX_TOOLTIPS 32 | ||
#define MAX_LOG_SIZE 0x7FFFFFFE | ||
#define MAX_PROGRESS (0xFFFF-1) | ||
#define INI_NAME "zadig.ini" | ||
#define LIBWDI_URL "http://libwdi.akeo.ie" | ||
#define LIBUSB_URL "http://windows.libusb.info" | ||
#define LIBUSB0_URL "http://sourceforge.net/apps/trac/libusb-win32/wiki" | ||
#define LIBWDI_URL "https://github.com/pbatard/libwdi" | ||
#define LIBUSB_URL "https://github.com/libusb/libusb/wiki/Windows" | ||
#define LIBUSB0_URL "https://sourceforge.net/p/libusb-win32/wiki/Home/" | ||
#define LIBUSBK_URL "http://libusbk.sourceforge.net/UsbK3/index.html" | ||
#define WINUSB_URL "https://msdn.microsoft.com/en-us/library/windows/hardware/ff540174.aspx" | ||
#define WINUSB_URL "https://docs.microsoft.com/en-us/windows-hardware/drivers/usbcon/winusb" | ||
#define HELP_URL "https://github.com/pbatard/libwdi/wiki/Zadig" | ||
#define WCID_URL "https://github.com/pbatard/libwdi/wiki/WCID-Devices" | ||
#define USB_IDS_URL "http://www.linux-usb.org/usb-ids.html" | ||
|
@@ -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.3.718" | ||
#define APP_VERSION "Zadig 2.4.719" | ||
|
||
// These are used to flag end users about the driver they are going to replace | ||
enum driver_type { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-2017 Pete Batard <[email protected]> | ||
* Copyright (c) 2010-2018 Pete Batard <[email protected]> | ||
* | ||
* 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 | ||
|
@@ -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-2017 Pete Batard / Akeo\\line\n" | ||
"Copyright © 2010-2018 Pete Batard / Akeo\\line\n" | ||
APPLICATION_URL "\\line\n" | ||
"\\line\n" | ||
"Report bugs or request enhancements at:\\line\n" | ||
|
@@ -32,7 +32,7 @@ APPLICATION_URL "\\line\n" | |
const char* additional_copyrights = | ||
"{\\rtf1\\ansi\n" | ||
"Windows Driver Installer library, libwdi:\\line\n" | ||
"Copyright © 2010-2017 by Pete Batard et al.\\line\n" | ||
"Copyright © 2010-2018 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" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.