electron/lib/renderer/api/crash-reporter.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
342 B
TypeScript
Raw Normal View History

const binding = process._linkedBinding('electron_renderer_crash_reporter');
export default {
addExtraParameter (key: string, value: string) {
binding.addExtraParameter(key, value);
},
removeExtraParameter (key: string) {
binding.removeExtraParameter(key);
},
getParameters () {
return binding.getParameters();
}
};