27 How to use, run and compile
FatKiwi edited this page 3 weeks ago

How to use (Windows)

Interactive:

Double click the exe :)

CLI:

SMLoadr-win-x64.exe -q "MP3_128" "http://www.deezer.com/album|artist|playlist|profile|track/0123456789"

How to use (Linux/MacOS)

Interactive:

chmod +x SMLoadr-linux-x64
./SMLoadr-linux-x64

CLI:

chmod +x SMLoadr-linux-x64
./SMLoadr-linux-x64 -q "MP3_128" "http://www.deezer.com/album|artist|playlist|profile|track/0123456789"

With macOS Mojave and up, Apple introduced stronger security measures. It's best if you put SMLoadr in folder with proper permissions, else it can be stuck on “checking for updates” and it will put it's files in the user's folder. In such case it's advised you delete all the configs and move SMLoadr to a proper location.

If bash: operation not permitted occurs after chmod: xattr -d com.apple.quarantine SMLoadr-macos-x64

How to use (Android)

Manual method

How to run (from source)

To run it from source you have to install Node.js first (>= 8.0.0 is required). Node.js 9.11.2 is recommended. Node.js 10 and up is unstable and causes crashes and visual bugs. Same applies for compiling. pkg module must be v4.3.1 (Node.js 9) if you want stable experience.

After that clone the repo and execute the following commands in the directory:

# Install dependencies
npm install

# Run the app
node SMLoadr.js

How to compile to executable

Windows:

# Install dependencies
npm install

# Run the build script
BUILD.cmd

Linux:

# Install dependencies
npm install

# Run the build script
./BUILD.sh linux

# Run './BUILD.sh -h' for help