How can make root login on electron.app


#1

İ want to access any root file and write they . But they requre root or adminastator mode . İ need start the app like root . Or write file as root .
i try that but not work. when i build .app the app stop

"start": "sudo electron .",