MCPcopy Index your code
hub / github.com/mailvelope/mailvelope / initNativeMessaging

Function initNativeMessaging

src/lib/browser.runtime.js:25–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23 * @return {Promise.<undefined>}
24 */
25export async function initNativeMessaging() {
26 // check for GPGME installation and connect
27 try {
28 gpgme = await gpgmejs.init({timeout: GPGME_INIT_TIMEOUT});
29 } catch (e) {
30 console.log('GPGME is not available.', e.code);
31 }
32}
33
34/**
35 * Register runtime event handlers

Callers 1

initGPGMethod · 0.90

Calls 1

initMethod · 0.45

Tested by

no test coverage detected