659e79fc08
* refactor: prevent consistent early exception * Use _linkedBinding where possible * Remove dead electronBinding
8 lines
176 B
TypeScript
8 lines
176 B
TypeScript
const { fromPartition } = process._linkedBinding('electron_browser_session');
|
|
|
|
export default {
|
|
fromPartition,
|
|
get defaultSession () {
|
|
return fromPartition('');
|
|
}
|
|
};
|