FAQ | This is a LIVE service | Changelog

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

Atom Text Editor -> v1.40.0

parent 46ce8660
No related branches found
No related tags found
1 merge request!131Atom.xml
<?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.27.1" />
<package id="atom" name="Atom Text Editor" revision="%version%.1" priority="0" reboot="false">
<variable name="version" value="1.40.0" />
<!-- 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="versiongreaterorequal" value="%version%" path="%programfiles%\atom\atom.exe" />
<!-- 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="versiongreaterorequal" 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"' />
<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' />
<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" ' />
<remove cmd='cmd /c rmdir /s /q "%programfiles%\atom"' />
<remove cmd='cscript %software%\wpkg\tools\delete-shortcut.js /folder:"Atom" ' />
</package>
</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