From 08ea54113064210234d3de81533b85f236c4efbb Mon Sep 17 00:00:00 2001 From: lencx Date: Wed, 7 Dec 2022 21:00:19 +0800 Subject: [PATCH] fix: build error --- .github/workflows/release.yml | 2 +- README.md | 2 ++ src-tauri/src/app/setup.rs | 6 +++++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a598742..b6bf105 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -75,7 +75,7 @@ jobs: ${{ runner.os }}-yarn- - name: Install app dependencies and build it - run: yarn && yarn build + run: yarn - uses: tauri-apps/tauri-action@v0.3 env: diff --git a/README.md b/README.md index ffacf50..d231f12 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,8 @@ > ChatGPT Desktop Application +[🚀 Download ChatGPT](https://github.com/lencx/ChatGPT/releases) + ## Features - multi-platform: `macOS` `Linux` `Windows` diff --git a/src-tauri/src/app/setup.rs b/src-tauri/src/app/setup.rs index 7ffbbdd..20e2f1c 100644 --- a/src-tauri/src/app/setup.rs +++ b/src-tauri/src/app/setup.rs @@ -1,5 +1,9 @@ use crate::utils; -use tauri::{utils::config::WindowUrl, window::WindowBuilder, App, TitleBarStyle}; +use tauri::{ + utils::{config::WindowUrl, TitleBarStyle}, + window::WindowBuilder, + App, +}; pub fn init(app: &mut App) -> std::result::Result<(), Box> { let conf = utils::get_tauri_conf().unwrap();