Closed xyloflake closed 5 months ago
@xyloflake Please rebase this branch onto main.
@staniel359 it's not ready, plus I don't get what you mean.
@staniel359 gotchu
@gamersi not ready yet
Hey @gamersi @staniel359 ready for merging, just need a verification from @gamersi that it works.
yarn package:all
Sorry guys, need some time to figure something out.
Sorry guys, need some time to figure something out.
Should i still test it or wait
Please test it @gamersi
Please test it @gamersi yeah its currently building
Sure!
Theoretically, there should be some error
Sure!
It doesnt work. it breaks at electron builder
What does it show?
Mine doesn't create a problem at building
Sure!
It doesnt work. it breaks at electron builder
oh, i just read through the log, its a permission error, let me restart as admin (im in windows currenlty)
building works, let me test the harmful switches rq
Hmm it should give an electron error (theoretically)
oh wait i forgot the env, stashed the test changes and didnt readd it
no i have the .env and stillg et the invalid json error, weird
Can you provide a screenshot?
Did you add VITE_APP before ANONYMOUS_TOKEN?
Did you add VITE_APP before ANONYMOUS_TOKEN?
yes
Also, this was caused by node_env, follow the SO link @staniel359 sent
Also, this was caused by node_env, follow the SO link @staniel359 sent
but the node env thing was for development builds
Have you tried it tho?
Have you tried it tho?
with it set i get a different error:
What is that lol
What is that lol
it says that something in not a direcotry
Electron store problem, doesn't happen with me tho
i am currently rebuilding it with the axios dev url updated
I have to go sleep tho, I'll see tomorrow.
ill try the installer
good night
Did it build?
yes it did build this error only comes when i start it
when the installer is finished it also gives the JSON error
Can you build the OG branch @gamersi ?
Can you build the OG branch @gamersi ?
No, main does not work either
Can you build the OG branch @gamersi ?
No, main does not work either
Maybe a problem with the stuff @staniel359 pushed
@gamersi I built it with the updated stuff, it builds fine. Installs fine. Runs fine. Wth?
@staniel359 can you try building it?
@xyloflake Please rebase this branch onto main. (You merged it, I asked for rebase). Also please squash all your commits into a single one.
@staniel359 will not be squashing commits, as discussed on discord and telegram. Ready to merge after updating harmful switches list, confirmed by @gamersi that it works.
@staniel359 @gamersi ready for review.
@staniel359 @gamersi FINALLY successfully rebased to main (thank god). Please review.
@xyloflake Also please don't forget to run yarn lint
.
@gamersi need you to test the build with HTTPToolkit and check if the fix works or not. Theoretically speaking, it should.
I dived into the source code and found out they're using the proxy-server
flag, which we've listed.
I've added one more flag that they were using.
I'm very proud to announce that the fix applies to every other interceptor out there specifically targeting muffon. I've tested the packaged app with HTTPToolkit.
@gamersi @staniel359 Please review, I'll not be visiting github (probably) for a few months/days.
The executables, when accessed via command line can be used to set harmful switches. This fix makes sure specified command line switches don't allow the app to open.