mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2025-01-09 00:30:14 +03:00
Merge pull request #3803 from matttbe/master
🐧 .desktop file without capital letter
This commit is contained in:
commit
a2a4379974
@ -40,11 +40,11 @@ module.exports = (grunt) ->
|
|||||||
mkdir path.dirname(shareDir)
|
mkdir path.dirname(shareDir)
|
||||||
cp shellAppDir, shareDir
|
cp shellAppDir, shareDir
|
||||||
|
|
||||||
# Create Atom.desktop if installation not in temporary folder
|
# Create atom.desktop if installation not in temporary folder
|
||||||
tmpDir = if process.env.TMPDIR? then process.env.TMPDIR else '/tmp'
|
tmpDir = if process.env.TMPDIR? then process.env.TMPDIR else '/tmp'
|
||||||
if installDir.indexOf(tmpDir) isnt 0
|
if installDir.indexOf(tmpDir) isnt 0
|
||||||
desktopFile = path.join('resources', 'linux', 'Atom.desktop.in')
|
desktopFile = path.join('resources', 'linux', 'atom.desktop.in')
|
||||||
desktopInstallFile = path.join(installDir, 'share', 'applications', 'Atom.desktop')
|
desktopInstallFile = path.join(installDir, 'share', 'applications', 'atom.desktop')
|
||||||
|
|
||||||
{description} = grunt.file.readJSON('package.json')
|
{description} = grunt.file.readJSON('package.json')
|
||||||
iconName = path.join(shareDir, 'resources', 'app', 'resources', 'atom.png')
|
iconName = path.join(shareDir, 'resources', 'app', 'resources', 'atom.png')
|
||||||
|
@ -39,7 +39,7 @@ module.exports = (grunt) ->
|
|||||||
getInstalledSize buildDir, (error, installedSize) ->
|
getInstalledSize buildDir, (error, installedSize) ->
|
||||||
data = {name, version, description, section, arch, maintainer, installDir, iconName, installedSize}
|
data = {name, version, description, section, arch, maintainer, installDir, iconName, installedSize}
|
||||||
controlFilePath = fillTemplate(path.join('resources', 'linux', 'debian', 'control'), data)
|
controlFilePath = fillTemplate(path.join('resources', 'linux', 'debian', 'control'), data)
|
||||||
desktopFilePath = fillTemplate(path.join('resources', 'linux', 'Atom.desktop'), data)
|
desktopFilePath = fillTemplate(path.join('resources', 'linux', 'atom.desktop'), data)
|
||||||
icon = path.join('resources', 'atom.png')
|
icon = path.join('resources', 'atom.png')
|
||||||
|
|
||||||
cmd = path.join('script', 'mkdeb')
|
cmd = path.join('script', 'mkdeb')
|
||||||
|
Loading…
Reference in New Issue
Block a user