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