Skip to content

Latest commit

 

History

History

nxzr_server

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

nxzr_server

Server daemon application

Prerequisite

  • Protoc: Make sure to install the appropriate protoc binary for your platform.

Installation

# From Alpine Linux
apk add git curl build-base pkgconfig gcompat dbus-glib-dev bluez protoc

# From Ubuntu
apt install libdbus-1-dev pkg-config

Building

cargo build

Topics

Pulling out a binary out of WSL

When you are building a binary from WSL environment, you will want to pull the binary out in order to put it in the GUI application.

You can use wslu to make things easy for working between Windows and WSL such as moving files, etc...

Assuming you are on Ubuntu, to install wslu:

# From Alpine Linux
sudo apk add wslu

# From Ubuntu
sudo add-apt-repository ppa:wslutilities/wslu
sudo apt update
sudo apt install wslu

After building, you can use this command to pull the binary out of the target folder, moves to the Windows.

mkdir -p "$(wslpath $(wslvar USERPROFILE))/.nxzr-out"
cp ../target/release/nxzr_server "$(wslpath $(wslvar USERPROFILE))/.nxzr-out"