improv(plugins): Convert web plugin to Rust plugin, with config support
This commit is contained in:
parent
251dcd5b2c
commit
48f09be4c9
15 changed files with 324 additions and 164 deletions
|
|
@ -1,5 +1,5 @@
|
|||
use pop_launcher::*;
|
||||
use crate::*;
|
||||
use pop_launcher::*;
|
||||
|
||||
use flume::Sender;
|
||||
use futures_lite::{AsyncBufReadExt, StreamExt};
|
||||
|
|
@ -75,9 +75,11 @@ impl App {
|
|||
let (path_tx, path_rx) = flume::unbounded::<PathBuf>();
|
||||
|
||||
#[allow(deprecated)]
|
||||
let _ = path_tx.send(std::env::home_dir()
|
||||
.expect("user does not have home dir")
|
||||
.join(LOCAL_PATH));
|
||||
let _ = path_tx.send(
|
||||
std::env::home_dir()
|
||||
.expect("user does not have home dir")
|
||||
.join(LOCAL_PATH),
|
||||
);
|
||||
|
||||
let _ = path_tx.send(Path::new(SYSTEM_ADMIN_PATH).to_owned());
|
||||
let _ = path_tx.send(Path::new(DISTRIBUTION_PATH).to_owned());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue