Skip to content
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 to Winget package repository #773

Closed
maphew opened this issue Dec 14, 2024 · 3 comments
Closed

Add to Winget package repository #773

maphew opened this issue Dec 14, 2024 · 3 comments

Comments

@maphew
Copy link
Contributor

maphew commented Dec 14, 2024

I created a Winget PR (microsoft/winget-pkgs#198907) using Komac.
If it's accepted I'll see what's needed to add Winget Releaser to Github CI.

Originally posted by @maphew in #254 (comment)

@maphew
Copy link
Contributor Author

maphew commented Dec 14, 2024

status: manifest not passing validation. It doesn't like what I used for silent mode. I grabbed --silent from the Squirrel docs, but maybe that's not used here. Passed manifest validation, still waiting for the rest. It's a long process, 45 min so far.

What's the appropriate place in the source tree to put Winget related files? I think there are a minimum of 4: master yaml, locale (ex: en-US), installer yaml, and then one for CI. It looks there needs to be +1 for each installer locale.

my branch for this: https://github.com/maphew/trilium/tree/feature/winget

maphew added a commit to maphew/trilium that referenced this issue Dec 14, 2024
@maphew
Copy link
Contributor Author

maphew commented Dec 17, 2024

It's in! I'll open a PR with my changes.

A:\code\tnext (feature/winget -> mine) ([email protected])
λ winget source update
Updating all sources...
Updating source: msstore...
Done
Updating source: winget...
  ██████████████████████████████  100%
Done

A:\code\tnext (feature/winget -> mine) ([email protected])
λ winget source list
Name    Argument                                      Explicit
--------------------------------------------------------------
msstore https://storeedgefd.dsx.mp.microsoft.com/v9.0 false
winget  https://cdn.winget.microsoft.com/cache        false

A:\code\tnext (feature/winget -> mine) ([email protected])
λ winget search trilium
Name                                                      Id                Version Match            Source
-----------------------------------------------------------------------------------------------------------
Build your personal knowledge base with TriliumNext Notes TriliumNext.Notes 0.90.12 Moniker: trilium winget

@maphew
Copy link
Contributor Author

maphew commented Dec 17, 2024

TriliumNext Notes v0.90.12 can now be installed with Winget!

Note: the current setup relies on me to update a release manually and uses one of my github api tokens. The PR includes a stub for running as part of TriliumNext release CI but I don't know what it will take to make it work.

@maphew maphew closed this as completed Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant