mirror of
https://github.com/ByteAtATime/raycast-linux.git
synced 2025-09-12 08:56:23 +00:00
feat(snippets): add import snippet feature
Currently, our application does not support snippets without keywords. We will have to figure out why it's possible to have a text replacement item without the text to replace.
This commit is contained in:
parent
15dbf0692a
commit
56813684e1
16 changed files with 433 additions and 114 deletions
|
@ -175,6 +175,8 @@ fn setup_input_listener(app: &tauri::AppHandle) {
|
|||
#[cfg_attr(mobile, tauri::mobile_entry_point)]
|
||||
pub fn run() {
|
||||
tauri::Builder::default()
|
||||
.plugin(tauri_plugin_fs::init())
|
||||
.plugin(tauri_plugin_dialog::init())
|
||||
.plugin(tauri_plugin_http::init())
|
||||
.manage(WsState::default())
|
||||
.plugin(tauri_plugin_single_instance::init(|app, args, _cwd| {
|
||||
|
@ -239,7 +241,8 @@ pub fn run() {
|
|||
snippets::create_snippet,
|
||||
snippets::list_snippets,
|
||||
snippets::update_snippet,
|
||||
snippets::delete_snippet
|
||||
snippets::delete_snippet,
|
||||
snippets::import_snippets
|
||||
])
|
||||
.setup(|app| {
|
||||
let app_handle = app.handle().clone();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue