mirror of
https://github.com/priyanshujain/margin.git
synced 2026-10-02 11:07:04 +00:00
feat(pdf): embed Typst compiler with compile_pdf command
This commit is contained in:
1 parent
29c412849e
commit
e21db2be5d
4 files changed
+7011
No files matched your search
@@ -1,7 +1,10 @@
|
||||
mod pdf;
|
||||
|
||||
#[cfg_attr(mobile, tauri::mobile_entry_point)]
|
||||
pub fn run() {
|
||||
tauri::Builder::default()
|
||||
.plugin(tauri_plugin_opener::init())
|
||||
.invoke_handler(tauri::generate_handler![pdf::compile_pdf])
|
||||
.run(tauri::generate_context!())
|
||||
.expect("error while running margin");
|
||||
}
|
||||
Reference in new issue
Block a user