How to use the GetElectronProcessType function from util

Find comprehensive JavaScript util.GetElectronProcessType code examples handpicked from public code repositorys.

4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GetElectronProcessType = void 0;
const util = require("../electron-process-type-util");
function GetElectronProcessType() {
    const electronProcessType = util.GetElectronProcessType();
    switch (electronProcessType) {
        case util.ElectronProcessType.ElectronMainNode:
            return 'main';
        case util.ElectronProcessType.Node:
fork icon0
star icon0
watch icon1

+ 5 other calls in file