mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-06 21:17:09 +08:00
When running from the Linux snap, use no-sandbox
This commit is contained in:
parent
4982064fba
commit
02cb922dea
4 changed files with 5 additions and 4 deletions
|
@ -5,6 +5,7 @@ jobs:
|
||||||
- image: circleci/node:12.9.1-stretch
|
- image: circleci/node:12.9.1-stretch
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
- sudo apt-get update && sudo apt-get install libsecret-1-dev
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
name: Restore Package Cache
|
name: Restore Package Cache
|
||||||
keys:
|
keys:
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
Name=<%= productName %>
|
Name=<%= productName %>
|
||||||
Comment=<%= description %>
|
Comment=<%= description %>
|
||||||
GenericName=Mail Client
|
GenericName=Mail Client
|
||||||
Exec=/usr/bin/mailspring %U
|
Exec=mailspring %U
|
||||||
Icon=mailspring
|
Icon=mailspring
|
||||||
Type=Application
|
Type=Application
|
||||||
StartupNotify=true
|
StartupNotify=true
|
||||||
|
@ -109,4 +109,4 @@ Name[zh_CN]=新邮件
|
||||||
Name[zh_TW]=新增郵件
|
Name[zh_TW]=新增郵件
|
||||||
Name[zh]=新信息
|
Name[zh]=新信息
|
||||||
Name[zu]=Umyalezo omusha
|
Name[zu]=Umyalezo omusha
|
||||||
Exec=/usr/bin/mailspring mailto:
|
Exec=mailspring mailto:
|
|
@ -15,7 +15,7 @@ exports.safeExec = function(command, options, callback) {
|
||||||
|
|
||||||
options.stdio = 'inherit';
|
options.stdio = 'inherit';
|
||||||
var child = childProcess.exec(command, options, function(error, stdout, stderr) {
|
var child = childProcess.exec(command, options, function(error, stdout, stderr) {
|
||||||
if (error && !options.ignoreStderr) {
|
if (error && error.code && !options.ignoreStderr) {
|
||||||
console.error(`safeExec: the command exited with ${error} ${error.code}`);
|
console.error(`safeExec: the command exited with ${error} ${error.code}`);
|
||||||
console.error('`------------- stderr ------------');
|
console.error('`------------- stderr ------------');
|
||||||
console.error(stderr);
|
console.error(stderr);
|
||||||
|
|
|
@ -53,7 +53,7 @@ parts:
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
mailspring:
|
mailspring:
|
||||||
command: desktop-launch $SNAP/usr/share/mailspring/mailspring
|
command: desktop-launch $SNAP/usr/share/mailspring/mailspring --no-sandbox
|
||||||
desktop: usr/share/applications/Mailspring.desktop
|
desktop: usr/share/applications/Mailspring.desktop
|
||||||
environment:
|
environment:
|
||||||
# Correct the TMPDIR path for Chromium Framework/Electron to
|
# Correct the TMPDIR path for Chromium Framework/Electron to
|
||||||
|
|
Loading…
Reference in a new issue