Have atom.desktop use PATH to find executable

Currently for RPM build only.
This commit is contained in:
Ethan Estrada
2015-02-04 11:20:52 -07:00
parent 08edcf23c9
commit d05a3f370e

View File

@@ -33,7 +33,7 @@ module.exports = (grunt) ->
installDir = grunt.config.get('atom.installDir')
shareDir = path.join(installDir, 'share', 'atom')
iconName = path.join(shareDir, 'resources', 'app', 'resources', 'atom.png')
executable = path.join(shareDir, 'atom')
executable = 'atom'
data = {name, version, description, installDir, iconName, executable}
specFilePath = fillTemplate(path.join('resources', 'linux', 'redhat', 'atom.spec'), data)