Create your package manifest
1
|
winget install wingetcreate
|
1
|
wingetcreate update --urls <InstallerUrl1> <InstallerUrl2> --version <Version> <PackageIdentifier>
|
1
|
Get-FileHash a2fa_Windows_x86_64.zip
|
Validate your manifest
1
|
winget validate \<path-to-the-manifests>
|
Tested your manifest locally
This feature needs to be enabled by administrators. To enable it, run ‘winget settings –enable LocalManifestFiles’ as administrator.
1
|
winget settings --enable LocalManifestFiles
|
1
|
winget install --manifest .\manifests\c\csyezheng\a2fa\0.16.2
|
Test your manifest with Windows Sandbox
1
|
powershell .\Tools\SandboxTest.ps1 .\manifests\c\csyezheng\a2fa\0.16.2
|
Submit packages
1
|
wingetcreate.exe submit --prtitle "New package: csyezheng.a2fa version 0.16.2" --token <GitHubPersonalAccessToken> <PathToManifest>
|
1
|
wingetcreate.exe submit --prtitle "New version: csyezheng.a2fa version 0.16.5" --token <GitHubPersonalAccessToken> <PathToManifest>
|