1
0
mirror of https://github.com/lencx/ChatGPT.git synced 2024-10-01 01:06:13 -04:00

fix: build error

This commit is contained in:
lencx 2022-12-07 21:00:19 +08:00
parent d390d85cf7
commit 08ea541130
3 changed files with 8 additions and 2 deletions

View File

@ -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:

View File

@ -5,6 +5,8 @@
> ChatGPT Desktop Application
[🚀 Download ChatGPT](https://github.com/lencx/ChatGPT/releases)
## Features
- multi-platform: `macOS` `Linux` `Windows`

View File

@ -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<dyn std::error::Error>> {
let conf = utils::get_tauri_conf().unwrap();