so I am trying to make my own games launcher for fun but I was wondering how could I make a button open one of them using electron. eg. minecraft button opens minecraft.exe
Asked
Active
Viewed 211 times
0
-
Yeah kinda but how can i make it open the file with a button because now it's opening automatically when i start the program – Diego Diaz Andres Jan 27 '20 at 00:40
-
I made it work with onclick() but it only opens images or other files but it doesn't open exe files what can i do? – Diego Diaz Andres Jan 27 '20 at 00:56
-
Can you share your code snippet? – tpikachu Jan 27 '20 at 01:17
-
Maybe the exe file path is wrong or permission issue. But mostly exe path is wrong. – tpikachu Jan 27 '20 at 01:18
-
okay so it works but for it to work i need to create a shortcut of the exe file that i want to use and then add it to my folder and run it like that. it wont let me run it externally – Diego Diaz Andres Jan 27 '20 at 01:41