-1

When I run my electronjs app (electron . or electron electron.js) instead of opening a electron tab it opens the electron.js file in my browser (opera) as if it were a text file

I figured out that the file assosiation is causing this issue but I don't want all my js file to run with the electron binary, does anyone know how I would fix this

Edit: as a temporary fix I made a batch script that points to the binary directly and uses it to open the file

1
  • What does where electron output?
    – CherryDT
    Commented Jul 8 at 3:25

0

Browse other questions tagged or ask your own question.