Created
December 28, 2021 17:40
-
-
Save SG60/537b7c7638f67fe4d5564bd101848c36 to your computer and use it in GitHub Desktop.
Neovide WSL Launcher Script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| param($p1) | |
| C:\Path\To\neovide.exe --wsl "$(wsl wslpath -ua $p1)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| pwsh -F C:\Path\To\neovide-launcher-pwsh.ps1 %1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can do it all within batch, I'm sure someone who knows the language can do better. But I managed a mostly working version. It even handles files with
'in their names and the~shortcut for the user's home directory.neovide.bat