mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Write atom.sh to atom in bin folder
This commit is contained in:
@@ -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}\" \"$@\""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user