feat: flatpak and flutter build

This commit is contained in:
Kingtous
2022-09-08 18:21:17 +08:00
parent 1c170366e7
commit 2d93460873
9 changed files with 96 additions and 4 deletions

View File

@@ -39,7 +39,7 @@ use crate::ui_interface::{
mod cm;
#[cfg(feature = "inline")]
mod inline;
pub mod inline;
#[cfg(target_os = "macos")]
mod macos;
pub mod remote;

View File

@@ -680,7 +680,7 @@ impl<T: InvokeUiSession> Session<T> {
pub fn get_chatbox(&self) -> String {
#[cfg(feature = "inline")]
return super::inline::get_chatbox();
return crate::ui::inline::get_chatbox();
#[cfg(not(feature = "inline"))]
return "".to_owned();
}