2020-06-23 03:32:45 +00:00
|
|
|
const binding = process._linkedBinding('electron_renderer_crash_reporter');
|
2020-05-07 20:31:26 +00:00
|
|
|
|
|
|
|
export default {
|
|
|
|
addExtraParameter (key: string, value: string) {
|
|
|
|
binding.addExtraParameter(key, value);
|
|
|
|
},
|
|
|
|
|
|
|
|
removeExtraParameter (key: string) {
|
|
|
|
binding.removeExtraParameter(key);
|
|
|
|
},
|
|
|
|
|
|
|
|
getParameters () {
|
|
|
|
return binding.getParameters();
|
|
|
|
}
|
|
|
|
};
|