Barre / privaxy

Privaxy is the next generation tracker and advertisement blocker. It blocks ads and trackers by MITMing HTTP(s) traffic. Also check out my new project, https://www.merklemap.com/
https://www.merklemap.com/
GNU Affero General Public License v3.0
2.36k stars 103 forks source link

Windows Build? #19

Closed Darthagnon closed 2 years ago

Darthagnon commented 2 years ago

It seems to work fine. Looks like the beauty of Rust :)

image

Originally posted by @shirshak55 in https://github.com/Barre/privaxy/issues/2#issuecomment-1132441928

Darthagnon commented 2 years ago

I tried building using Git Bash to get around the No sh errors; had to tinker with trunk.toml, as trunk doesn't like the npx command's paths (which you can't put in "quotes" in the toml). Still haven't managed to build it, as it then throws up another error.

shirshak55 commented 2 years ago

@Darthagnon Hey :)

I installed OpenSSL using the StackOverflow Post [1]. I went with the second answer (Using precompiled Binary). And, everything was straightforward. I installed Rust Toolchain, Wasm, Trunk, etc.. normally using Powershell. I was using the fluent terminal as you can see in the screenshot.

Regarding the trunk, it is frontend only. It shouldn't be challenging to fix. If you can provide detailed errors, I can help you.

[1] https://stackoverflow.com/questions/55912871/how-to-work-with-openssl-for-rust-within-a-windows-development-environment

Barre commented 2 years ago

Hi,

I just implemented windows builds through CI in #20 and also published a new release https://github.com/Barre/privaxy/releases/tag/v0.2.0

Darthagnon commented 2 years ago

Thank you so much, Barre!