Skip to content

Commit

Permalink
fix: win add driver generation and signing during the install step
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Didron committed Jul 31, 2019
1 parent 4cc4705 commit b17e63b
Show file tree
Hide file tree
Showing 27 changed files with 6 additions and 858 deletions.
Binary file removed dist/win64/STM32__BOOTLOADER.cat
Binary file not shown.
Binary file removed dist/win64/STM32__BOOTLOADER.inf
Binary file not shown.
8 changes: 3 additions & 5 deletions dist/win64/installer/wally.iss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "Wally"
#define MyAppVersion "1.1.3"
#define MyAppVersion "1.1.4"
#define MyAppPublisher "ZSA.io"
#define MyAppURL "https://ergodox-ez.com"
#define MyAppExeName "wally.exe"
Expand Down Expand Up @@ -37,10 +37,8 @@ Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{
[Files]
Source: "D:\dev\go\src\github.com\zsa\wally\dist\win64\wally.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\dev\go\src\github.com\zsa\wally\dist\win64\wally-cli.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\dev\go\src\github.com\zsa\wally\dist\win64\planck_driver\*"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\dev\go\src\github.com\zsa\wally\dist\win64\planck_driver\license\*"; DestDir: "{app}\license"; Flags: ignoreversion
Source: "D:\dev\go\src\github.com\zsa\wally\dist\win64\planck_driver\amd64\*"; DestDir: "{app}\amd64"; Flags: ignoreversion
Source: "D:\dev\go\src\github.com\zsa\wally\dist\win64\planck_driver\x86\*"; DestDir: "{app}\x86"; Flags: ignoreversion
Source: "D:\dev\go\src\github.com\zsa\wally\dist\win64\post_install.bat"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\dev\go\src\github.com\zsa\wally\dist\win64\wdi-simple.exe"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Icons]
Expand Down
Binary file removed dist/win64/planck_driver/STM32__BOOTLOADER.cat
Binary file not shown.
Binary file removed dist/win64/planck_driver/STM32__BOOTLOADER.inf
Binary file not shown.
Binary file removed dist/win64/planck_driver/amd64/libusb0.dll
Binary file not shown.
Binary file removed dist/win64/planck_driver/amd64/libusb0.sys
Binary file not shown.
Binary file removed dist/win64/planck_driver/amd64/libusb0_x86.dll
Binary file not shown.
Binary file removed dist/win64/planck_driver/amd64/libusbK.dll
Binary file not shown.
Binary file removed dist/win64/planck_driver/amd64/libusbK.sys
Binary file not shown.
Binary file removed dist/win64/planck_driver/amd64/libusbK_x86.dll
Binary file not shown.
Binary file not shown.
Binary file removed dist/win64/planck_driver/installer_x64.exe
Binary file not shown.
Binary file removed dist/win64/planck_driver/installer_x86.exe
Binary file not shown.
851 changes: 0 additions & 851 deletions dist/win64/planck_driver/license/installer_license.txt

This file was deleted.

1 change: 0 additions & 1 deletion dist/win64/planck_driver/post_install.bat

This file was deleted.

Binary file removed dist/win64/planck_driver/x86/WdfCoInstaller01011.dll
Binary file not shown.
Binary file removed dist/win64/planck_driver/x86/install-filter.exe
Binary file not shown.
Binary file removed dist/win64/planck_driver/x86/libusb0.dll
Binary file not shown.
Binary file removed dist/win64/planck_driver/x86/libusb0.sys
Binary file not shown.
Binary file removed dist/win64/planck_driver/x86/libusb0_x86.dll
Binary file not shown.
Binary file removed dist/win64/planck_driver/x86/libusbK.dll
Binary file not shown.
Binary file removed dist/win64/planck_driver/x86/libusbK.sys
Binary file not shown.
Binary file removed dist/win64/planck_driver/x86/winusbcoinstaller2.dll
Binary file not shown.
2 changes: 2 additions & 0 deletions dist/win64/post_install.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
wdi-simple.exe --name "Planck DFU" --vid 0x0483 --pid 0xdf11 --type 0 --manufacturer ZSA.io
%windir%\sysnative\pnputil.exe /add-driver ./usb_driver/usb_device.inf /install
Binary file not shown.
2 changes: 1 addition & 1 deletion wally/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func NewState(step int8, filePath string) State {
case "linux":
s.AppVersion = "1.1.0"
case "windows":
s.AppVersion = "1.1.3"
s.AppVersion = "1.1.4"
default:
s.AppVersion = "1.1.0"
}
Expand Down

0 comments on commit b17e63b

Please sign in to comment.