For our Rust, C++, and Node.js templates, recommend the use of a zip archive download instead of git

This removes any git history of ours from the download, and removes the need to have git installed.
This commit is contained in:
Simon Hausmann 2024-09-18 10:14:48 +02:00 committed by Simon Hausmann
parent 902cb17865
commit ddfbd1821a
4 changed files with 21 additions and 11 deletions

View file

@ -49,8 +49,12 @@ contains more advanced examples and alternative ways to use this crate.
To quickly get started, use the [Template Repository](https://github.com/slint-ui/slint-rust-template) with
the code of a minimal application using Slint as a starting point for your program.
1. Download and extract the [ZIP archive of the Rust Template](https://github.com/slint-ui/slint-rust-template/archive/refs/heads/main.zip).
2. Rename the extracted directory and change into it:
```bash
git clone https://github.com/slint-ui/slint-rust-template my-project
mv slint-rust-template-main my-project
cd my-project
```
## More examples

View file

@ -98,8 +98,12 @@ fn main() {
Use our [Template Repository](https://github.com/slint-ui/slint-rust-template) to create a skeleton file
hierarchy that uses this method:
1. Download and extract the [ZIP archive of the Rust Template](https://github.com/slint-ui/slint-rust-template/archive/refs/heads/main.zip).
2. Rename the extracted directory and change into it:
```bash
git clone https://github.com/slint-ui/slint-rust-template my-project
mv slint-rust-template-main my-project
cd my-project
```
## Generated components