mirror of
https://github.com/patarapolw/cjdic2.git
synced 2026-11-09 17:39:35 +00:00
expose to Tauri to ensure it works
This commit is contained in:
1 parent
62cb1e5902
commit
098ee45b81
12 files changed
+108
-53
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user