Compare commits
2 Commits
cfc63db4c5
...
da4df9fe05
Author | SHA1 | Date | |
---|---|---|---|
da4df9fe05 | |||
232816a883 |
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
*.exe filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.EXE filter=lfs diff=lfs merge=lfs -text
|
@ -14,6 +14,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
lfs: true
|
||||||
- name: Setup dotnet
|
- name: Setup dotnet
|
||||||
uses: https://github.com/actions/setup-dotnet@v3
|
uses: https://github.com/actions/setup-dotnet@v3
|
||||||
with:
|
with:
|
||||||
|
BIN
ch340_driver/CH341SER.EXE
(Stored with Git LFS)
Normal file
BIN
ch340_driver/CH341SER.EXE
(Stored with Git LFS)
Normal file
Binary file not shown.
17
ch340_driver/ch340_driver.nuspec
Normal file
17
ch340_driver/ch340_driver.nuspec
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
|
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
|
||||||
|
<metadata>
|
||||||
|
<id>ch340_driver</id>
|
||||||
|
<version>3.8</version>
|
||||||
|
<packageSourceUrl>https://git.claremontmakerspace.org/CMS/chocolatey-packages</packageSourceUrl>
|
||||||
|
<owners>Adam</owners>
|
||||||
|
<title>CH340 Driver (Install)</title>
|
||||||
|
<authors>WCH</authors>
|
||||||
|
<projectUrl>http://www.wch-ic.com/downloads/CH341SER_EXE.html</projectUrl>
|
||||||
|
<docsUrl>http://www.wch-ic.com/downloads/CH340DS1_PDF.html</docsUrl>
|
||||||
|
<tags>ch340 ch341 serial driver</tags>
|
||||||
|
<summary>Driver for the CH340/CH341 USB Serial IC</summary>
|
||||||
|
<description>CH340/CH341 USB to serial port One-Key installation VCP vendor driver for Windows, supports Windows 11/10/8.1/8/7/VISTA/XP/2000/98,Server 2022/2019/2016/2012/2008/2003 -32/64bit, Microsoft WHQL/HCK Certified, supports USB to 3-line and 9-line serial port.</description>
|
||||||
|
</metadata>
|
||||||
|
</package>
|
BIN
ch340_driver/tools/CH341SER.EXE
(Stored with Git LFS)
Normal file
BIN
ch340_driver/tools/CH341SER.EXE
(Stored with Git LFS)
Normal file
Binary file not shown.
15
ch340_driver/tools/chocolateyinstall.ps1
Normal file
15
ch340_driver/tools/chocolateyinstall.ps1
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
$ErrorActionPreference = 'Stop' # stop on all errors
|
||||||
|
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
|
||||||
|
$fileLocation = Join-Path $toolsDir 'CH341SER.EXE'
|
||||||
|
|
||||||
|
$packageArgs = @{
|
||||||
|
packageName = $env:ChocolateyPackageName
|
||||||
|
FileType = 'exe'
|
||||||
|
File = $fileLocation
|
||||||
|
SilentArgs = '/S'
|
||||||
|
Checksum = '74d12019023390d27739625773005ecccf1bc6c4547e0c46088e86665e519524'
|
||||||
|
ChecksumType64 = 'sha256'
|
||||||
|
ValidExitCodes = @(0, 1223)
|
||||||
|
}
|
||||||
|
|
||||||
|
Install-ChocolateyInstallPackage @packageArgs
|
Loading…
Reference in New Issue
Block a user