Skip to content

Commit

Permalink
Merge pull request #3 from qmk/drivers
Browse files Browse the repository at this point in the history
Install drivers as part of install
  • Loading branch information
zvecr authored Dec 27, 2020
2 parents 896bb8a + ad0f835 commit df3c7ef
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
15 changes: 15 additions & 0 deletions drivers.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# The format is
# driver,desc,vid,pid,guid
# Use a comma as a separator without spaces
# Driver can be one of winusb,libusb,libusbk
# Use Windows Powershell and type [guid]::NewGuid() to generate guids
winusb,STM32 Bootloader,0483,DF11,6d98a87f-4ecf-464d-89ed-8c684d857a75
winusb,STM32duino Bootloader,1EAF,0003,746915ec-99d8-4a90-a722-3c85ba31e4fe
libusbk,USBaspLoader,16C0,05DC,e69affdc-0ef0-427c-aefb-4e593c9d2724
winusb,Kiibohd DFU Bootloader,1C11,B007,aa5a3f86-b81e-4416-89ad-0c1ea1ed63af
libusb,ATmega16U2,03EB,2FEF,007274da-b75f-492e-a288-8fc0aff8339f
libusb,ATmega32U2,03EB,2FF0,ddc2c572-cb6e-4f61-a6cc-1a5de941f063
libusb,ATmega16U4,03EB,2FF3,3180d426-bf93-4578-a693-2efbc337da8e
libusb,ATmega32U4,03EB,2FF4,5f9726fd-f9de-487a-9fbd-8b3524a7a56a
libusb,AT90USB64,03EB,2FF9,c6a708ad-e97d-43cd-b04a-3180d737a71b
libusb,AT90USB128,03EB,2FFB,fd217df3-59d0-440a-a8f3-4c0c8c84daa3
6 changes: 5 additions & 1 deletion install.iss
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,13 @@ Name: "english"; MessagesFile: "compiler:Default.isl"
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

[Files]
Source: "qmk_driver_installer.exe"; DestDir: {tmp}; Flags: deleteafterinstall
Source: "drivers.txt"; DestDir: {tmp}; Flags: deleteafterinstall
Source: "icon.ico"; DestDir: "{app}"; Flags: ignoreversion
Source: ".build\msys64\*"; DestDir: "{userappdata}\{#MyAppDir}\"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[RUN]
Filename: "{tmp}\qmk_driver_installer.exe"; WorkingDir: "{tmp}"; Parameters: " --all --force drivers.txt"; StatusMsg: "Installing Drivers..."

[Icons]
Name: "{autoprograms}\{#MyAppName}"; Filename: "{userappdata}\{#MyAppDir}\usr\bin\mintty.exe"; Parameters: "-i ""{app}\icon.ico"" -t ""{#MyAppName}"" /usr/bin/bash -l -c ""MSYSTEM=MINGW64 exec -l bash"""; IconFilename: "{app}\icon.ico"
Expand Down
Binary file added qmk_driver_installer.exe
Binary file not shown.

0 comments on commit df3c7ef

Please sign in to comment.