FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 807ba0ec authored by Dr Adam Thorn's avatar Dr Adam Thorn
Browse files

Add new package Atom Text Editor v1.13.1

parents
No related branches found
No related tags found
1 merge request!131Atom.xml
atom.xml 0 → 100755
<?xml version="1.0" encoding="UTF-8"?>
<!-- vim: set softtabstop=3: -->
<packages>
<package id="atom" name="Atom Text Editor" revision="%version%.1" priority="0" reboot="false">
<variable name="version" value="1.13.1" />
<!-- Devs refuse to write an installer that goes anywhere other than in AppData\Local. Grr:
https://github.com/atom/atom/issues/5259
Suggested workaround is to download latest zip release from https://github.com/atom/atom/releases/latest
and copy into place - but you probably want to remove update.exe from the unpacked zip -->
<check type="file" condition="versionequalto" value="%version%" path="%programfiles%\atom\atom.exe" />
<install cmd='%software%\wpkg\tools\copydir.cmd "%software%\atom\%version%" "%programfiles%\atom" ' />
<install cmd='cscript %software%\wpkg\tools\create-shortcut.js /folder:"Atom" /linkname:"Atom %version%" /target:"%programfiles%\atom\atom.exe"' />
<upgrade include='remove' />
<upgrade include='install' />
<remove cmd='cmd /c rmdir /s /q "%programfiles%\atom"' />
<remove cmd='cscript %software%\wpkg\tools\delete-shortcut.js /folder:"Atom" ' />
</package>
</packages>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment