📝 添加 readme

This commit is contained in:
柚子
2025-03-07 03:51:32 +08:00
parent 1c42f397cc
commit e0ad5b62df

View File

@@ -1,8 +1,63 @@
# Tauri + Solid + Typescript
<p align="center">
<img src="src-tauri/icons/icon.png" alt="Logo" width="80" height="80">
This template should help get you started developing with Tauri, Solid and Typescript in Vite.
<h3 align="center">星火应用商店</h3>
</p>
## Recommended IDE Setup
### 构建
- [VS Code](https://code.visualstudio.com/) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer)
##### 1.2 其他依赖
#### 1 依赖安装
##### 1.1 Rustup
```
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
```
##### 1.2 yarn和nodejs
```
# Download and install fnm:
curl -o- https://fnm.vercel.app/install | bash
# Download and install Node.js:
fnm install 22
# Verify the Node.js version:
node -v # Should print "v22.14.0".
# Download and install Yarn:
corepack enable yarn
# Verify Yarn version:
yarn -v
```
##### 1.3 其他依赖
```
sudo apt install libwebkit2gtk-4.1-dev \
build-essential \
curl \
wget \
file \
libxdo-dev \
libssl-dev \
libayatana-appindicator3-dev \
librsvg2-dev \
libcairo2-dev \
soup3
```
##### 1.4 安装前端依赖
```
yarn
```
##### 1.5 构建安装包
```
yarn tauri build --bundles deb
```