From ec6da905108f6947df0734ca4164c4c878fbd94c Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Sat, 18 Feb 2023 19:09:56 -0800 Subject: [PATCH] Re-add cfg_attr --- src-tauri/src/main.rs | 5 +++++ src/App.tsx | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index 9c131c2d..1281ae67 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -1,3 +1,8 @@ +#![cfg_attr( + all(not(debug_assertions), target_os = "windows"), + windows_subsystem = "windows" +)] + mod commands; mod runtime; diff --git a/src/App.tsx b/src/App.tsx index 2d8f30d3..71fbee45 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -41,7 +41,6 @@ function App() {
-

Welcome, Friend!