leif icon indicating copy to clipboard operation
leif copied to clipboard

./install.sh not working

Open UpBeat25 opened this issue 1 year ago • 4 comments

Hi, I am trying to set it up on my windows machine. I tried git-bash, wsl but I am not able to run the ./install.sh. This is the error: └─$ bash ./install.sh ./install.sh: line 2: $'\r': command not found ./install.sh: line 3: $'\r': command not found ./install.sh: line 5: syntax error near unexpected token $'{\r'' '/install.sh: line 5: install_with_apt() {

UpBeat25 avatar Jun 13 '24 10:06 UpBeat25

use sh instead of bash

PatchByte avatar Jun 13 '24 17:06 PatchByte

btw if dont have a desktop environment installed in your wsl, it won't work.

PatchByte avatar Jun 13 '24 17:06 PatchByte

also on a windows machine and same here the command does not install leif's library. I suspect bc its written for linux? creator did mention he was going to make a port to windows.

Katalizatori avatar Jun 16 '24 06:06 Katalizatori

It is mainly written for Linux but you can try to compile it with mingw

PatchByte avatar Jun 17 '24 06:06 PatchByte