chore: fix build

This commit is contained in:
2025-02-13 16:10:51 +07:00
parent b51ab26105
commit e13517b710
2 changed files with 6 additions and 2 deletions

View File

@@ -60,6 +60,7 @@ jobs:
with: with:
command: release upload ${{ env.CN_APPLICATION }} --framework packager command: release upload ${{ env.CN_APPLICATION }} --framework packager
api-key: ${{ secrets.CN_API_KEY }} api-key: ${{ secrets.CN_API_KEY }}
working-directory: ./crates/app
publish: publish:
needs: build needs: build
@@ -74,3 +75,4 @@ jobs:
with: with:
command: release publish ${{ env.CN_APPLICATION }} --framework packager command: release publish ${{ env.CN_APPLICATION }} --framework packager
api-key: ${{ secrets.CN_API_KEY }} api-key: ${{ secrets.CN_API_KEY }}
working-directory: ./crates/app

View File

@@ -8,9 +8,11 @@ use common::{
profile::NostrProfile, profile::NostrProfile,
}; };
use gpui::{ use gpui::{
actions, point, px, size, App, AppContext, Application, AsyncApp, Bounds, KeyBinding, Menu, actions, px, size, App, AppContext, Application, AsyncApp, Bounds, KeyBinding, Menu, MenuItem,
MenuItem, SharedString, TitlebarOptions, WindowBounds, WindowKind, WindowOptions, WindowBounds, WindowKind, WindowOptions,
}; };
#[cfg(not(target_os = "linux"))]
use gpui::{point, SharedString, TitlebarOptions};
#[cfg(target_os = "linux")] #[cfg(target_os = "linux")]
use gpui::{WindowBackgroundAppearance, WindowDecorations}; use gpui::{WindowBackgroundAppearance, WindowDecorations};
use log::{error, info}; use log::{error, info};