-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux version #2
Comments
One way to achieve that would be to provide a version of SDC-E that would be loaded via BetterDiscord. Another would be to simply provide an |
I generally never support Linux (because in my opinion it is a server OS and not a desktop OS), but maybe you can hack it together in this case: So, you would need to create a bash file or something that sets the environment variable NODE_OPTIONS to the NodeLoad.js file (can be found in the installer script somewhere) and you will also have to store The original developer also doesn't seem to care much: https://gitlab.com/An0/SimpleDiscordCrypt/-/issues/2 |
It's possible to do it if Discord is installed via flatpak, but for some reason SDC simply does not load, how would I go about debugging that? The flatpak command to do it is:
|
Maybe you can view the output of the devtools (Ctrl+Shift+I). |
I was wondered about end-to-end encryption in Discord so Google put me there. Thank you @Ceiridge for the extended version of the plugin! I was writing Linux bash script and I need to say that I'm not so familliar with powershell and nodejs syntax. Here is my Linux setup script. However, when I run Discord with NodeJS file on a Linux machine I've got this error. Do you have any suggestions about how to resolve that error? Do I need to read some NodeJS documentation to resolve it on my own? |
@kup1o The Linux install script looks good, but you execute NodeLoad.js with nodejs after/while Discord is running. Instead, it should be executed by the Electron runtime, which can be done with an environment variable called NODE_OPTIONS:
By the way: The error probably occurs, because your NodeJS version is outdated and has some issues with the null coalescing operator ?, but updating wouldn't fix this anyway. |
@Ceiridge Finally got a freetime to work with the plugin. Oh, I didn't even notice how a year had passed through. I installed I got discord successfully running with node_options at electron runtime
As I understand But today plugin did not load either in windows or linux. I opened up my windows virtual machine and ran your SimpleDiscordCryptInstaller.ps1. The log was finished great as expected. NodeLoad.js & SimpleDiscordCryptLoader.js are located in the I should note you that Does the plugin work right now on your machine? If yes, where could I mess up something? |
@kup1o I know. It is (currently) broken. The original https://gitlab.com/An0/SimpleDiscordCrypt/ is also broken, too. I already tried looking into it and the bug is very difficult to solve, which is also why the original repo probably doesn't have a fix (yet). |
Hey there,
thanks for continuing the work on the plugin! I feel like one important thing that's missing is an installer for Linux, especially given the fact that the target audience (people interested in protecting their privacy through encryption) are also highly likely to be Linux users.
The text was updated successfully, but these errors were encountered: