-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add winget installer #316
Comments
winget is sponsored by MS and might also work fine |
#321 starts this as we need MSI before we can do winget |
installers needed to do packaging aren't yet on the default GHA runners, so I raised this actions/runner-images#3857 |
#332 completes everything except EXE and MSI signing With MSI in place, we should be able to start winget support |
updated https://github.com/tetratelabs/func-e/releases/tag/v0.6.0 to use the MSI |
iiuc looks like winget will be available by default in a service release of Windows 10 next month microsoft/winget-cli#988 (reply in thread) |
next steps are below, if my loose understanding of the process is correct
I'll start on this next week |
As far as I can tell, winget needs to run on an actual windows OS (even though choco can run on linux via docker/mono) |
Note: currently wingetcreate crashes unless you use cmd (or powershell I suppose.. iotw not bash) Downloads\wingetcreate-self-contained.exe new https://github.com/tetratelabs/func-e/releases/download/v0.6.0/func-e_0.6.0_windows_amd64.msi https://github.com/microsoft/winget-cli/releases doesn't add to path by default, so you have to validate like so: AppData\Local\Microsoft\WindowsApps\winget.exe validate --manifest manifests\t\Tetrate\func-e\0.6.0
AppData\Local\Microsoft\WindowsApps\winget.exe install --manifest manifests\t\Tetrate\func-e\0.6.0 |
winget is now available C:\>winget.exe install func-e
Found func-e [Tetrate.func-e]
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licences to, third-party packages.
Downloading https://github.com/tetratelabs/func-e/releases/download/v0.6.0/func-e_0.6.0_windows_amd64.msi
██████████████████████████████ 2.89 MB / 2.89 MB
Successfully verified installer hash
Starting package install...
Successfully installed
C:\>func-e run --version
looking up latest version
downloading https://archive.tetratelabs.io/envoy/download/v1.19.0/envoy-v1.19.0-windows-amd64.tar.xz
starting: C:\Users\fernc\.func-e\versions\1.19.0\bin\envoy.exe --version --admin-address-path C:\Users\fernc\.func-e\runs\1628502824319001400\admin-address.txt
C:\Users\moo\.func-e\versions\1.19.0\bin\envoy.exe version: 68fe53a889416fd8570506232052b06f5a531541/1.19.0/Modified/RELEASE/BoringSSL |
Let's add winget packaging of func-e. This is the default package manager for Windows 11 and is scheduled for a Windows 10 service release
In short form, it is
C:\> winget install func-e
In long form, it is
C:\> winget install Tetrate.func-e
As this is a canonical package, the formula is here
This starts from 0.6.0, as that's the first to run on windows.
The text was updated successfully, but these errors were encountered: