Skip to content

lemarier/wry_standalone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wry standalone

This is an attempt to bring WRY/Tauri to a standalone compiled binary allowing you to run a project and compile (embed the assets) into the binary without touching rust.

Installation

Shell (Mac, Linux):

curl -fsSL https://raw.githubusercontent.com/lemarier/wry_standalone/main/install/install.sh | sh

PowerShell (Windows):

Github require TLS 1.2 (will be removed once we use our own domain)

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
iwr https://raw.githubusercontent.com/lemarier/wry_standalone/main/install/install.ps1 -useb | iex

Clone sample repo

git clone https://github.com/lemarier/wry_demo.git
cd wry_demo
wry run ./src/main.js

Create self contained binary

For test purpose it shuld generate a self contained binary as compiled-bin-test in the current directory.

wry compile ./src/main.js

Run the self contained binary

./compiled-bin-test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors