Skip to content

criography/chocolatey-packages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

  1. chocolatey
  2. latest node and npm
  3. yarn is nice to have

Create new package

  1. yarn new {package_slug}
  2. Edit config.json
  3. Edit whatever goes in tools dir

Update build of a package

  1. yarn update {package_slug}

Testing locally

  1. Ensure clean Windows installation in VirtualBox or similar
  2. Ensure the dist folder is shared
  3. cd to the package's directory inside dist
  4. from terminal run cpack && cinst {packageName} -dfv -s "'.;chocolatey'" to package up the source and install from it.

Publishing

  1. Ensure that your API key is stored locally and if not, get it from https://chocolatey.org/account
  2. If all testing is passing, cd to the dist folder of your package and use cpush to publish

Please Note:

  1. Package slugs must be the same as containing folders! Use titles for human readable values

{
    // package identifier [a-z0-9-_.]
    slug  : 'xyplorer.install',

    // display human-friendly title
    title : 'XYplorer (install)',

};