[marketplace] Add logs and notification if we have problem with manually plugins intalling.

This commit is contained in:
Alexey Matveev
2024-05-02 13:34:29 +03:00
parent 0151ae5a37
commit 1414bc0a15
2 changed files with 8 additions and 2 deletions

View File

@ -43,4 +43,8 @@
## 1.0.7
* Add new language for translations.
* Add new language for translations.
## 1.0.8
* Add logs and notification if we have problem with manually plugins intalling.

View File

@ -16,7 +16,7 @@
*
*/
const version = '1.0.7'; // version of store (will change it when update something in store)
const version = '1.0.8'; // version of store (will change it when update something in store)
let start = Date.now();
const isLocal = ( (window.AscDesktopEditor !== undefined) && (window.location.protocol.indexOf('file') !== -1) ); // desktop detecting
let isPluginLoading = false; // flag plugins loading
@ -1628,6 +1628,8 @@ function installPluginManually() {
if (result) {
// нужно обновить список установленных плагинов
sendMessage({ type: 'getInstalled', updateInstalled: true }, '*');
} else {
createError(new Error('Problem with plugin installation.'), false);
}
});
};