Skip to content

Commit cde01c8

Browse files
author
Marko Petzold
committed
2 parents 379a66d + 6a4d809 commit cde01c8

3 files changed

Lines changed: 18 additions & 7 deletions

File tree

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,19 @@ In order to access the USB drives in Windows, the `etcher-sdk` must include the
8585

8686
In order for Gulp to be able to build FlockFlasher on Windows, it must compile the underlying winusb driver.
8787

88-
Before you can do this, you must have the [Windows Driver Kit](https://learn.microsoft.com/en-us/windows-hardware/drivers/download-the-wdk) (WDK) installed.
88+
Before you can do this, you must have the [Windows Driver Kit](https://learn.microsoft.com/en-us/windows-hardware/drivers/download-the-wdk) (WDK) installed. This can also be installed as a component during the Visual Studio installation process.
89+
90+
I
8991

9092
There's a known issue where the `WDF redistributable co-installers don't work`, which is required in order to build the windows usb driver. Solutions can be found [here](https://learn.microsoft.com/en-us/windows-hardware/drivers/wdk-known-issues).
9193

94+
Install python and the Visual Studio Build Tools as well. Install `pip install setuptools`. Also I ended up finding and copying two files into this path:
95+
C:\Program Files (x86)\Windows Kits\10\Redist\wdf\x64
96+
97+
WdfCoInstaller01011.dll
98+
winusbcoinstaller2.dll
99+
100+
92101
### AppImages (Linux)
93102

94103
For AppImages, it is sadly not straightforward to access the packaged node_modules within the application. Since the AppImage is technically a drive, we must first mount it to a temporary folder ([link to code](https://github.com/RecordEvolution/FlockFlasher/blob/3400ca34a438af2653ee1dfc364cd3f066cdc7fd/src/main/api/permissions.ts#L169)) and then access the packaged node modules within.

package-lock.json

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@
5353
"vue-echarts": "^6.6.2",
5454
"vue-i18n": "^9.8.0",
5555
"vue-svg-gauge": "^1.2.1",
56-
"vuetify": "^3.4.4"
56+
"vuetify": "^3.4.4",
57+
"winusb-driver-generator": "^2.1.5"
5758
},
5859
"devDependencies": {
5960
"@electron-toolkit/eslint-config": "^1.0.1",

0 commit comments

Comments
 (0)