Include optional dependency in asar when built
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user