mirror of
https://github.com/FranP-code/ChatGPT.git
synced 2025-10-13 00:13:25 +00:00
chore: deps
This commit is contained in:
@@ -94,7 +94,7 @@ pub fn control_window(handle: &tauri::AppHandle) {
|
||||
.title("Control Center")
|
||||
.resizable(true)
|
||||
.fullscreen(false)
|
||||
.inner_size(800.0, 600.0)
|
||||
.inner_size(1000.0, 700.0)
|
||||
.min_inner_size(800.0, 600.0)
|
||||
.build()
|
||||
.unwrap();
|
||||
|
||||
@@ -13,7 +13,7 @@ use tauri::api::path;
|
||||
use tauri_plugin_autostart::MacosLauncher;
|
||||
use tauri_plugin_log::{
|
||||
fern::colors::{Color, ColoredLevelConfig},
|
||||
LogTarget, LoggerBuilder,
|
||||
LogTarget,
|
||||
};
|
||||
|
||||
#[tokio::main]
|
||||
@@ -38,9 +38,7 @@ async fn main() {
|
||||
let mut builder = tauri::Builder::default()
|
||||
// https://github.com/tauri-apps/tauri/pull/2736
|
||||
.plugin(
|
||||
LoggerBuilder::new()
|
||||
.level(log::LevelFilter::Debug)
|
||||
.with_colors(colors)
|
||||
tauri_plugin_log::Builder::default()
|
||||
.targets([
|
||||
// LogTarget::LogDir,
|
||||
// LOG PATH: ~/.chatgpt/ChatGPT.log
|
||||
@@ -48,6 +46,8 @@ async fn main() {
|
||||
LogTarget::Stdout,
|
||||
LogTarget::Webview,
|
||||
])
|
||||
.level(log::LevelFilter::Debug)
|
||||
.with_colors(colors)
|
||||
.build(),
|
||||
)
|
||||
.plugin(tauri_plugin_positioner::init())
|
||||
|
||||
Reference in New Issue
Block a user