Write atom.sh to atom in bin folder

This commit is contained in:
Kevin Sawicki 2014-12-15 17:52:56 -08:00
parent 0833be4c27
commit 307ce4dc54

View File

@ -115,6 +115,7 @@ addCommandsToPath = (callback) ->
relativeAtomPath = path.relative(binFolder, path.join(appFolder, 'resources', 'cli', 'atom.cmd'))
atomCommand = "@echo off\r\n\"%~dp0\\#{relativeAtomPath}\" %*"
atomShCommandPath = path.join(binFolder, 'atom')
relativeAtomShPath = path.relative(binFolder, path.join(appFolder, 'resources', 'cli', 'atom.sh'))
atomShCommand = "#!/bin/sh\r\n\"$0\\#{relativeAtomPath}\" \"$@\""