httptoolkit / httptoolkit-desktop

Electron wrapper to build and distribute HTTP Toolkit for the desktop
https://httptoolkit.com
GNU Affero General Public License v3.0
593 stars 81 forks source link

httptoolkit-desktop refuses to run via start:dev in Windows 10 #19

Closed rSh4d0w closed 3 years ago

rSh4d0w commented 3 years ago

fixed it...

pimterry commented 3 years ago

@rSh4d0w can you provide any details on how you fixed this? I'm sure it'd be useful to other people doing the same thing!

rSh4d0w commented 3 years ago

Sure! setup-dev.js grafik doesn't work under Win. Windows complains about the shebang, after removal node complains about not finding the module "setInterval". i edited this part into grafik and created a file called run.js with "setInterval(() => {}, 999999999);" inside. script should be placed in the root folder of httptoolkit-desktop. not the cleanest solution, but got the job quickly done, to run the program.