mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2025-11-13 08:12:44 +10:00
chore: Major refactoring
Still needs a massive go-over because there shouldn't be anything referencing tauri in any of the workspaces except the original one. Process manager has been refactored as an example Signed-off-by: quexeky <git@quexeky.dev>
This commit is contained in:
6
utils/src/app_emit.rs
Normal file
6
utils/src/app_emit.rs
Normal file
@ -0,0 +1,6 @@
|
||||
#[macro_export]
|
||||
macro_rules! app_emit {
|
||||
($app:expr, $event:expr, $p:expr) => {
|
||||
$app.emit($event, $p).expect(&format!("Failed to emit event {}", $event));
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user