mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-10-06 11:16:10 +08:00
fix(build): debian packages use different share dir
This commit is contained in:
parent
247bb15ab4
commit
a68b03a23e
1 changed files with 3 additions and 1 deletions
|
@ -38,7 +38,9 @@ module.exports = (grunt) ->
|
||||||
iconName = 'nylas'
|
iconName = 'nylas'
|
||||||
|
|
||||||
appFileName = grunt.config.get('nylasGruntConfig.appFileName')
|
appFileName = grunt.config.get('nylasGruntConfig.appFileName')
|
||||||
linuxShareDir = grunt.config.get('nylasGruntConfig.linuxShareDir')
|
|
||||||
|
# NOTE: For Debian packages we use /usr/share instead of /usr/local/share
|
||||||
|
linuxShareDir = path.join(installDir, "share", appFileName)
|
||||||
|
|
||||||
getInstalledSize buildDir, (error, installedSize) ->
|
getInstalledSize buildDir, (error, installedSize) ->
|
||||||
data = {name, version, description, section, arch, maintainer, installDir, iconName, installedSize, appFileName, linuxShareDir}
|
data = {name, version, description, section, arch, maintainer, installDir, iconName, installedSize, appFileName, linuxShareDir}
|
||||||
|
|
Loading…
Add table
Reference in a new issue