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

[Release Documentation] Chocolatey #255

Closed
Tanjalibertatis opened this issue Nov 28, 2021 · 0 comments
Closed

[Release Documentation] Chocolatey #255

Tanjalibertatis opened this issue Nov 28, 2021 · 0 comments

Comments

@Tanjalibertatis
Copy link
Collaborator

Tanjalibertatis commented Nov 28, 2021

source: https://community.chocolatey.org/courses/creating-chocolatey-packages
https://weblog.west-wind.com/posts/2017/jan/29/creating-a-portable-and-embedded-chocolatey-package#embedded-binary-package

-download and install chocolatey
-powershell choco new SystemTrayMenu (C:\Windows\System32\SystemTrayMenu containing .nuspec and /tools is created)
START HERE FOR UPDATE:
-edit version in .nuspec
-copy and paste binaries from latest version into C:\Windows\System32\SystemTrayMenu\tools
(the 3 files chocolateybeforemodify.ps1, LICENSE.txt, VERIFICATION.txt have to stay in there)
-powershell (if not already there, go to cd systemtraymenu)
choco pack (.nupkg is created from .nuspec -> delete previous version of .nupkg)
choco uninstall "SystemTrayMenu"
choco install "SystemTrayMenu" -fdv -y -s ".\"
-Test (path: C:\ProgramData\chocolatey\bin)
(only at first publish on this machine: choco apiKey --k <your api key here> --source https://push.chocolatey.org/)
choco push (package is pushed to chocolatey.org)

@Tanjalibertatis Tanjalibertatis changed the title Documentation Chocolatey.org [Release Documentation] Chocolatey Feb 13, 2022
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