Include optional dependency in asar when built
This commit is contained in:
parent
287d7e70e5
commit
73fd1a5dfb
2 changed files with 4 additions and 0 deletions
|
@ -26,6 +26,9 @@ try {
|
|||
// eslint-disable-next-line global-require, import/no-extraneous-dependencies
|
||||
xattr = require('fs-xattr');
|
||||
} catch (e) {
|
||||
if (process.platform === 'darwin') {
|
||||
throw e;
|
||||
}
|
||||
window.SignalContext.log?.info('x-attr dependency did not load successfully');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue