An open API service indexing awesome lists of open source software.

https://github.com/bsorrentino/tauri-apps

Transform URL to APP using tauri - https://tauri.app
https://github.com/bsorrentino/tauri-apps

Last synced: 26 days ago
JSON representation

Transform URL to APP using tauri - https://tauri.app

Awesome Lists containing this project

README

          

# Transform URL to APP using [tauri]

## Steps

1. create new application
```
npm create tauri-app@latest apps/ --template vanilla
```
2. add `build` and `clean` scripts to package.json
open `apps//package.json` and update scripts as follows:
```json
"scripts": {
"build": "tauri build",
"clean": "cargo clean --manifest-path src-tauri/Cargo.toml",
"tauri": "tauri"
}
```
3. Open `apps//src-tauri/tauri.conf.json` and :
* update `bundle/idenfifier` with an unique name
* Optionally update `windows/title` with the app display name
* add `url` attribute with the initial url to open on launch:

4. Optionally update the application icon replacing the icon file with yours in `apps//src-tauri/icons` folder

5. Build the App

From root folder run
```
npx lerna run build --scope=
```

[tauri]: https://tauri.app