jsastriawan / mc2router-electron

Meshcentral 2 tunneling helper application
Apache License 2.0
7 stars 2 forks source link

make mc2router-electron portable #1

Open merlinweb opened 1 year ago

merlinweb commented 1 year ago

Hi, thanks to your work, i'm using a lot mc2router (early version) helping my staff to solve several little problem in my network (it's quite big) I've even customize it a little bit to my needs, configuring a web browser, vnc, rdp and sql tool, ssms like (heidisql), adding a checkbox for relay to other device in the same network, useful with browser to configure and check printers, routers or switches by web management : image

the great thing was it's completely portable, unzipping package with (portable) application in a computer and was ready to start managing

The question: cani I do the same thing in new version ? (guessing) Now, to play with mc2router-electron on a windows pc, I have to Install npm install electron add mc2router-electron on every machine is it correct or i'm doing wrong ? Is there a way to packetize for easy deployment ?

Thanks a lot and sorry for my poor knowledge about this new project

Cheers

Merlinweb (Luca Levati)

jsastriawan commented 1 year ago

Hi Luca,

I have just added some clarifications in Readme.md and updated dependencies. So, if you perform npm install, you should have node_modules\electron folder. There should be dist\electron.exe.

You can try running it using .\node_modules\electron\dist\electron.exe .

If this works, then you should be able to zip the whole folder, drop on new Windows machine and run it.

I tried just now so please let me know if it works for you.

Regards,

Joko