Merge b7d3390028 into af46b7ee33
This commit is contained in:
commit
bbb14f5b50
3 changed files with 30 additions and 0 deletions
6
.github/dependabot.yml
vendored
Normal file
6
.github/dependabot.yml
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
19
.github/workflows/winget.yml
vendored
Normal file
19
.github/workflows/winget.yml
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
name: Publish to Winget
|
||||
on:
|
||||
release:
|
||||
types: [released]
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Extract version from tag
|
||||
id: extract_version
|
||||
run: |
|
||||
version=$(echo "${{ github.event.release.tag_name }}" | sed -E 's/v([0-9]+)\.0*([0-9]+)-([0-9]+)/\1.\2.\3/')
|
||||
echo "version=$version" >> $GITHUB_OUTPUT
|
||||
- uses: vedantmgoyal9/winget-releaser@main
|
||||
with:
|
||||
identifier: daynix.UsbDk
|
||||
version: ${{ steps.extract_version.outputs.version }}
|
||||
token: ${{ secrets.WINGET_TOKEN }}
|
||||
|
|
@ -35,6 +35,11 @@ desired configuration.
|
|||
|
||||
## Installing and running
|
||||
|
||||
UsbDk can be installed via Winget on desktop Windows:
|
||||
```
|
||||
winget install daynix.UsbDk
|
||||
```
|
||||
|
||||
Use UsbDkController.exe to install/uninstall and verify basic operation.
|
||||
Run UsbDkController.exe without parameters for command line options.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue