1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-08 05:57:02 +09:00

code review

This commit is contained in:
Andrew Simachev 2025-06-05 19:16:32 +02:00
parent 9f2f54fd74
commit f0c0f3364c
No known key found for this signature in database
GPG key ID: 1DFE44B21443F0EF

View file

@ -200,16 +200,17 @@ app.on('ready', async () => {
if (is.development) {
try {
// Install the extension using electron-devtools-installer
const extension = await installExtension(GRPC_DEVTOOLS_ID, {
await installExtension(GRPC_DEVTOOLS_ID, {
loadExtensionOptions: {
allowFileAccess: true
}
});
console.log(`✅ gRPC DevTools extension installed`);
} catch (err) {
console.error('❌ Failed to install gRPC DevTools extension:', err.message);
}
}
} catch (e) {
console.error('❌ Failed to install gRPC DevTools extension:', e.message);
};
};
ConfigManager.init(waitForLibraryAndCreateWindows);
});