Devsfy / wiregui

A graphical user interface for wireguard (client-side) for linux and windows
MIT License
295 stars 17 forks source link

How to build exe from source code #26

Open sogofast opened 1 year ago

sogofast commented 1 year ago

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

zlElo commented 1 year ago

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 :)

RishoDEV commented 1 year ago

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

zlElo commented 1 year ago

For which OS?

RishoDEV commented 1 year ago

Windows 11

zlElo commented 1 year ago

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
RishoDEV commented 1 year ago

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

RishoDEV commented 1 year ago

Which version of node do I need?

zlElo commented 1 year ago

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

zlElo commented 1 year ago

Does it help @RishoDEV ?

RishoDEV commented 1 year ago

Here is the output after running commands you posted

Screenshot 2023-02-24 113836

zlElo commented 1 year ago

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

zlElo commented 1 year ago

And update all libarys

RishoDEV commented 1 year ago

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

zlElo commented 1 year ago

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

RishoDEV commented 1 year ago

Yes bruh heres output

Screenshot 2023-02-24 120927

zlElo commented 1 year ago

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

RishoDEV commented 1 year ago

Nvm thx for help

wuzi commented 1 year ago

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 1 year ago

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 1 year ago

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