aboutsummaryrefslogtreecommitdiffstats
path: root/extract-driverver.js (follow)
Commit message (Collapse)AuthorAgeFilesLines
* wintun: upset everybody by doing multiplication via string concatenationJason A. Donenfeld2020-11-031-1/+1
| | | | | | Because we can. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* wintun: extract inf driverver at compile time into C headerJason A. Donenfeld2020-11-031-0/+17
This requires us to make some insane conversions between INF date, JavaScript time, and finally Windows file time. The point is to mimic SystemTimeToFileTime, which is what SpInf.dll's pSetupStringToDriverDate does on the YYYY-MM-DD from the INF. The result is that we no longer have to parse an ancient text format in C at runtime. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>