Closed Jibodeah closed 6 years ago
You fixed the paths and added ptb and canary installers? ... ❤️
Will merge once I'm home, add the new files to the Makefile, and re-release working for Linux :)
This doesn't work on my system
% sudo ./install_linux.sh
Could not find node of version v4.2.x, found node version v9.3.0. What would you like to do?
1) Download correct node and install 3) Exit
2) Install using local version
#? 2
Please enter the install directory
/opt/discord
Installing to /opt/discord
{ _: [ '/home/hithroc/Downloads/discord' ], p: '/opt/discord' }
Cannot find discord modules. Please run discord once before installing!
Am I doing something wrong?
Okay, figured this one pretty quickly. Now that paths.js
uses environment variables like HOME
and XDG_CONFIG_HOME
, I needed to preserve them with sudo.
sudo -E ./install_linux.sh
Also adds separate PTB and Canary installer scripts for Linux, much like those that already exist for Mac and Windows.