This commit is contained in:
Kevin Sawicki 2014-07-21 16:39:46 -07:00
parent f5951425c3
commit ab980d78d2

View File

@ -41,7 +41,7 @@ module.exports = (grunt) ->
desktopInstallFile = path.join(installDir, 'share', 'applications', 'Atom.desktop')
{description} = grunt.file.readJSON('package.json')
iconName = path.join(shareDir,'resources','app','resources','atom.png')
iconName = path.join(shareDir, 'resources', 'app', 'resources', 'atom.png')
installDir = path.join(installDir, '.') # To prevent "Exec=/usr/local//share/atom/atom"
template = _.template(String(fs.readFileSync(desktopFile)))
filled = template({description, installDir, iconName})