diff --git a/build/resources/linux/debian/lintian-overrides b/build/resources/linux/debian/lintian-overrides index 04a62fb95..0c946dfc0 100644 --- a/build/resources/linux/debian/lintian-overrides +++ b/build/resources/linux/debian/lintian-overrides @@ -2,6 +2,8 @@ nylas: arch-dependent-file-in-usr-share nylas: changelog-file-missing-in-native-package nylas: copyright-file-contains-full-apache-2-license nylas: copyright-should-refer-to-common-license-file-for-apache-2 +nylas: copyright-should-refer-to-common-license-file-for-lgpl nylas: embedded-library nylas: package-installs-python-bytecode nylas: unstripped-binary-or-object +nylas: extra-license-file diff --git a/build/resources/linux/nylas.desktop.in b/build/resources/linux/nylas.desktop.in index 611c25bfb..f8c4dc0d9 100644 --- a/build/resources/linux/nylas.desktop.in +++ b/build/resources/linux/nylas.desktop.in @@ -7,5 +7,5 @@ Icon=<%= iconName %> Type=Application StartupNotify=true StartupWMClass=Nylas N1 -Categories=GNOME;GTK;Utility;EmailClient;Development; +Categories=GNOME;GTK;Email;Utility;Development; MimeType=text/plain;x-scheme-handler/mailto;x-scheme-handler/nylas; diff --git a/script/mkdeb b/script/mkdeb index b84de3137..b306c09be 100755 --- a/script/mkdeb +++ b/script/mkdeb @@ -50,6 +50,9 @@ cp "$TARGET/usr/share/nylas/resources/LICENSE.md" "$TARGET/usr/share/doc/nylas/c mkdir -m $FILE_MODE -p "$TARGET/usr/share/lintian/overrides" cp "$ROOT/build/resources/linux/debian/lintian-overrides" "$TARGET/usr/share/lintian/overrides/nylas" +# Remove group write from all files +chmod -R g-w "$TARGET"; + # Remove executable bit from .node files find "$TARGET" -type f -name "*.node" -exec chmod a-x {} \;