mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-27 10:28:31 +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'
|
||||
|
||||
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) ->
|
||||
data = {name, version, description, section, arch, maintainer, installDir, iconName, installedSize, appFileName, linuxShareDir}
|
||||
|
|
Loading…
Reference in a new issue