expose to Tauri to ensure it works

This commit is contained in:
polv committed 2026-02-23 05:17:51 +07:00
1 parent 62cb1e5902
commit 098ee45b81
12 files changed
+108 -53

No files matched your search

+6 -3
View File
@@ -7,10 +7,13 @@ use std::{
use anyhow::{Context, Ok};
use cjdic2_core::db::Database;
fn main() -> Result<(), anyhow::Error> {
let db = Database::new("test.db")?;
mod common;
use common::get_db_path;
let zip_dir = Path::new("src-tauri/resources/yomitan");
fn main() -> Result<(), anyhow::Error> {
let db = Database::new(get_db_path())?;
let zip_dir = Path::new("tmp/yomitan");
println!("zip_dir: {:?}", absolute(zip_dir)); // Relative to workspace root
for entry in