wslopenproxy

package module
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2024 License: MIT Imports: 0 Imported by: 0

README

wsl-open-proxy

wsl-open-proxy is a Windows application that can be registered as default application handlers in WSL environments.

It launches the application registered as a default application in the Windows side.

Installation

Installation using Go

You need to have Go installed in your WSL environment up front.

$ go run github.com/qnighy/wsl-open-proxy/cmd/setup-wsl-open@latest

To configure the proxy for other filetypes than HTML, do for example:

$ go run github.com/qnighy/wsl-open-proxy/cmd/setup-wsl-open@latest -t image
Installing a prebuilt executable

Download the prebuilt setup command setup-wsl-open from the Releases page.

$ ./setup-wsl-open
# Or, for configuring the proxy for other filetypes than HTML:
$ ./setup-wsl-open -t image

To be filled later

Development tips

When developing setup-wsl-open in Linux using VS Code, the following configuration might be useful:

// .vscode/settings.json
{
    "go.toolsEnvVars": {
        "GOOS": "windows"
    }
}

Releasing

  1. Update version.go
  2. Tag the version using v0.0.0 format
  3. Push the tag and wait for the automatic release to complete

License

Licensed under the MIT License.

wsl-open achieves the same purpose.

Documentation

Index

Constants

View Source
const Version = "0.1.2"

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
cmd
setup-wsl-open command
wsl-open-proxy command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL