mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-28 11:24:11 +08:00
fix(linux-build): Move the license file out of app so it works with ASAR
This commit is contained in:
parent
310f8ba062
commit
3e0e3a88e7
2 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ module.exports = (grunt) ->
|
|||
|
||||
licenseText = getLicenseText(dependencyLicenses)
|
||||
if mode is 'save'
|
||||
targetPath = path.join(grunt.config.get('atom.appDir'), 'LICENSE.md')
|
||||
targetPath = path.resolve(grunt.config.get('atom.appDir'), '..', 'LICENSE.md')
|
||||
fs.writeFileSync(targetPath, licenseText)
|
||||
else
|
||||
console.log licenseText
|
||||
|
|
|
@ -33,7 +33,7 @@ cp "$ICON_FILE" "$TARGET/usr/share/pixmaps"
|
|||
|
||||
# Copy generated LICENSE.md to /usr/share/doc/nylas/copyright
|
||||
mkdir -m $FILE_MODE -p "$TARGET/usr/share/doc/nylas"
|
||||
cp "$TARGET/usr/share/nylas/resources/app/LICENSE.md" "$TARGET/usr/share/doc/nylas/copyright"
|
||||
cp "$TARGET/usr/share/nylas/resources/LICENSE.md" "$TARGET/usr/share/doc/nylas/copyright"
|
||||
|
||||
# Add lintian overrides
|
||||
mkdir -m $FILE_MODE -p "$TARGET/usr/share/lintian/overrides"
|
||||
|
|
Loading…
Reference in a new issue