/chocolatey

chocolatey installer for Atom

Primary LanguagePowerShellMIT LicenseMIT

This repository contains source code and templates for building a Chocolatey package for Atom. The package can be downloaded from the Atom package page or by running cinst Atom.

🚨 Unmaintained 🚨

This repository is no longer maintained. The chocolatey Atom package is not maintained by the Atom team. To obtain official Atom releases, go to https://atom.io.

How it works

The Atom Chocolatey package simply kicks off the AtomSetup.exe installer. Atom will automatically update once installed so you don't need to run cup Atom to upgrade.

Building

To build an Atom chocolatey package, you'll need access to a Windows machine with the following tools:

Requirements

  • Chocolatey
    • You will need to close and reopen your command prompt or PowerShell window after installing.
  • node.js 0.10.x
  • Grunt
  • Run apm install language-powershell to add PowerShell syntax highlighting to Atom (optional).

You will also need output from a Windows build of Atom published as a release.

Instructions

  1. Clone this repository

  2. Publish an Atom release that includes an AtomSetup.exe file

  3. Build the Atom .nupkg file

    npm install
    grunt
  4. Install the package locally (optional):

    grunt reinstall

Publishing

Follow these instructions to setup your API key so you can publish. You can find your API key in your chocolatey account page.

Once you've built the .nupkg file you can push it up the chocolatey by running:

cpush .\Atom.0.XXX.0.nupkg