mirror of https://github.com/electron/electron
16 lines
342 B
TypeScript
16 lines
342 B
TypeScript
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();
|
|
}
|
|
};
|