63 lines
923 B
Markdown
63 lines
923 B
Markdown
<p align="center">
|
|
<img src="src-tauri/icons/icon.png" alt="Logo" width="80" height="80">
|
|
|
|
<h3 align="center">星火应用商店</h3>
|
|
</p>
|
|
|
|
### 构建
|
|
|
|
#### 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 \
|
|
libsoup-3.0-dev
|
|
```
|
|
|
|
##### 1.4 安装前端依赖
|
|
|
|
```
|
|
yarn
|
|
```
|
|
|
|
##### 1.5 构建安装包
|
|
|
|
```
|
|
yarn tauri build --bundles deb
|
|
``` |