discord-sandboxed icon indicating copy to clipboard operation
discord-sandboxed copied to clipboard

Linux building.

Open B00daW opened this issue 3 years ago • 2 comments

hey, khlam! thank you SOOO much for implementing this for people who are concerned about discord snooping on apps. there are so many requests that people have put in to discord that they have ignored in regard to their personal data and privacy. this seems to be the only solution.

discord-sandboxed works pretty well in linux using wine. that's great! however, the fonts are not easily installed through winetricks to get japanese/chinese/arabic/emojis working.

are you able to add linux-building (or potentially macos) framework to your client? thank you!

B00daW avatar Apr 24 '21 17:04 B00daW

i got it to build in linux in an arch-linux environment.

first i had to use pacman to install the packages "nodejs" and "npm"

at the moment iohook is broken for linux when npm updates. this patch needs to be added to get keyboard function working:

https://github.com/wilix-team/iohook/pull/314/commits/41fc3f2ded6dc3ea0a7b7fd998675e02d2d79a84

after "npm i && npm i -d" delete the *.so files from "./node_modules/iohook/builds/electron-v80-linux-x64/build/Release" then go back into the root directory of discord-sandboxed and run "npm i -d" and then "npm start disable-devtools"

discord-sandboxed will run. it will bring up a login screen. log in correctly with the credentials. however, the login screen will not proceed. close the client and open it back up. the correct credentials will save and discord will open up.

B00daW avatar May 17 '21 16:05 B00daW

Tried that, problem is that if you have 2FA enabled, it doesn't work like you said ;(, but you can log in with scanning QR code if you have mobile version

KleIKKK avatar Oct 10 '21 16:10 KleIKKK