From e0ad5b62df367a4180ba08f75ce345c92dcca4a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9F=9A=E5=AD=90?= <40852301+uiYzzi@users.noreply.github.com> Date: Fri, 7 Mar 2025 03:51:32 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20=E6=B7=BB=E5=8A=A0=20readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 60 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7a95582..2396379 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,63 @@ -# Tauri + Solid + Typescript +

+ Logo -This template should help get you started developing with Tauri, Solid and Typescript in Vite. +

星火应用商店

+

-## 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 +``` \ No newline at end of file