stonesbg / chocolatey-packages

Chocolatey package defs for Xyplorer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 build {package_slug}
  2. cpack && cpush from the ./dist/{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)',

};

About

Chocolatey package defs for Xyplorer


Languages

Language:JavaScript 55.3%Language:PowerShell 42.2%Language:AutoHotkey 2.5%