chore: fix build
This commit is contained in:
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -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
|
||||||
|
|||||||
@@ -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};
|
||||||
|
|||||||
Reference in New Issue
Block a user