BIGWIP(android): trying to make an android release

fucking stupid shit why is it so hard
This commit is contained in:
2025-04-20 13:14:31 +01:00
parent 78fe25497b
commit 7e31af27f1
44 changed files with 963 additions and 9 deletions

View File

@@ -29,7 +29,6 @@ pub fn run() {
])
.setup(|app| {
setup_window(app)?;
shortcut::enable_shortcut(app);
Ok(())
})

View File

@@ -2,10 +2,10 @@ use tauri::App;
use tauri::{WebviewUrl, WebviewWindowBuilder};
pub fn setup_window(app: &mut App) -> Result<(), Box<dyn std::error::Error>> {
let win_builder = WebviewWindowBuilder::new(app, "main", WebviewUrl::default())
.inner_size(480.0, 360.0)
.title("Haystack")
.resizable(false);
let win_builder = WebviewWindowBuilder::new(app, "main", WebviewUrl::default());
//.inner_size(480.0, 360.0)
//.title("Haystack")
//.resizable(false);
#[cfg(target_os = "macos")]
{