Switch to open based restarting
This commit is contained in:
parent
4ea7a24b93
commit
6e33f33da1
8 changed files with 44 additions and 46 deletions
|
@ -81,6 +81,7 @@ pub trait Platform: Send + Sync {
|
|||
fn app_version(&self) -> Result<AppVersion>;
|
||||
fn os_name(&self) -> &'static str;
|
||||
fn os_version(&self) -> Result<AppVersion>;
|
||||
fn restart(&self);
|
||||
}
|
||||
|
||||
pub(crate) trait ForegroundPlatform {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue