WSL2: Tauri is not creating my executable #6207
|
Hi folks, I'm completely new to this and just learning how to create executables with JavaScript. Sorry if this is a more of a WSL issue. I am running on Windows 10. So I just used Is this the proper behavior? Or is there something work with my workspace and I am missing some packages to install? |
Replies: 2 comments 5 replies
|
WSL is basically Linux and since Tauri does not support cross-compilation yet, WSL can only produce Linux app bundles (.deb, .appimage). elibro used windows' plain old powershell in their video, not WSL. |
|
It's funny googling something and someone talking about me in their question.
sudo apt install pkg-config \
libdbus-1-dev \
libgtk-3-dev \
libsoup2.4-dev \
libjavascriptcoregtk-4.0-dev \
libwebkit2gtk-4.0-dev -y
echo "export DISPLAY=:0" >> ~/.bashrcYou may also need vcxsrv installed as I can see the UI on my PC which has it installed and not my laptop which does not have it installed. |
WSL is basically Linux and since Tauri does not support cross-compilation yet, WSL can only produce Linux app bundles (.deb, .appimage).
elibro used windows' plain old powershell in their video, not WSL.