DEV Community

Pacharapol Withayasakpunt
Pacharapol Withayasakpunt

Posted on

Cross-platform building instructions, using GitHub workflows (for webview/webview)

I adapted from tauri-action, but for Golang.

GitHub logo patarapolw / go-webview-launcher

Proof of concept for cross-platform cross-build WebView launcher

Proof of concept for cross-platform cross-build WebView launcher

Usage

  • Download OS-specific release from https://github.com/patarapolw/go-webview-launcher/releases
  • Unzip, if applicable
  • Edit and place webview.yaml alongside webview-launcher.exe / webview-launcher.app / webview-launcher-linux
  • Open webview-launcher.exe / webview-launcher.app / webview-launcher-linux



Why GitHub Action? Because xgo not only doesn't always work / outdated (failed with gojieba), but also that webkit2gtk-4.0 is required in addition to xgo.

I need to do this, because Neutralino.js documentation is currently broken, and webview/webview documentation sucks; and I don't know how to maximize in Tauri.

Otherwise, the guidance on security from Tauri is quite understandable.

Oldest comments (0)