Devsfy/wiregui

How to build exe from source code

Opened this issue · 20 comments

i want to build my own exe with the source code, how to do that ?

zlElo commented

Hello, my name is zlElo.
You don't have to build an own .exe file! You find all installers for your System/OS in the Releases. The newest Release is the Version 1.8.1, here is the Link:

https://github.com/Devsfy/wiregui/releases/tag/1.8.1

I hope I can help you :)

I wanna build it from source but npm output shows critical vulnerabilities

zlElo commented

For which OS?

Windows 11

zlElo commented

Is all Up-to-date?

npm outdated // run to check outdated npm packages

npx npm-check-updates -u // run to check updates outdated npm packages

npm install // run to update npm packages

Can you help me compile? Because i want to add autoconnect feature and custom gui... is this an electon app?

Which version of node do I need?

zlElo commented

Run the commands below and update all, if you have some packages they are older than others, you might get some errors

zlElo commented

Does it help @RishoDEV ?

Here is the output after running commands you posted

Screenshot 2023-02-24 113836

zlElo commented

Hm. You should check your package.json and version up if needed.

zlElo commented

And update all libarys

Like how... i updated all its missing some plugins idk im not electron dev

zlElo commented

I'm a python dev :) But whatever. Have you tried to run 'npm audit fix'?

Yes bruh heres output

Screenshot 2023-02-24 120927

zlElo commented

There are some big issues, but no fixes. I think the problem is, that the project is dead.

Nvm thx for help

wuzi commented

you should be able to generate a .exe running

yarn install
yarn make

the output should be in Project/out/make/squirrel.windows/x64/wiregui-x.x.x Setup.exe

it's been a while since i last used wireguard, that's why there was no more updates

wuzi commented

hey @zlElo, i see that you're very active in many issues here, drop me a message if you ever have interest in maintaining wiregui, I don't need to use wireguard anymore so it's hard for me to keep updating it

zlElo commented

Hi @wuzi thanks for your message :) Thank you for the great opportunity to continue such a project, but TypeScript isn't my programming language… I'm a python programmer and I don't have TypeScript skills. And unfortunately I don't have time to learn it either. But thanks again for this chance.
Greets