mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-10 17:48:50 +08:00
🎨(plugins): Fix line breaks
This commit is contained in:
parent
b7da2c7b86
commit
4f31785a16
1 changed files with 2 additions and 7 deletions
|
@ -229,9 +229,7 @@ const PackagesStore = Reflux.createStore({
|
|||
NylasEnv.packages.installPackageFromPath(filenames[0], (err) => {
|
||||
if (err) return;
|
||||
const packageName = path.basename(filenames[0]);
|
||||
const msg = `${packageName} has been installed and enabled. No need to
|
||||
restart! If you don't see the plugin loaded, check the
|
||||
console for errors.`
|
||||
const msg = `${packageName} has been installed and enabled. No need to restart! If you don't see the plugin loaded, check the console for errors.`
|
||||
this._displayMessage("Plugin installed! 🎉", msg);
|
||||
});
|
||||
});
|
||||
|
@ -242,10 +240,7 @@ const PackagesStore = Reflux.createStore({
|
|||
const btn = dialog.showMessageBox({
|
||||
type: 'warning',
|
||||
message: "Run with debug flags?",
|
||||
detail: `To develop plugins, you should run N1 with debug flags.
|
||||
This gives you better error messages, the debug version of
|
||||
React, and more. You can disable it at any time from the
|
||||
Developer menu.`,
|
||||
detail: `To develop plugins, you should run N1 with debug flags. This gives you better error messages, the debug version of React, and more. You can disable it at any time from the Developer menu.`,
|
||||
buttons: ["OK", "Cancel"],
|
||||
});
|
||||
if (btn === 0) {
|
||||
|
|
Loading…
Reference in a new issue