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
- Host: GitHub
- URL: https://github.com/bsorrentino/tauri-apps
- Owner: bsorrentino
- License: mit
- Created: 2023-08-11T19:04:28.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-29T08:17:48.000Z (about 1 year ago)
- Last Synced: 2025-01-19T08:42:50.257Z (9 months ago)
- Language: CSS
- Size: 327 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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