Skip to content

Commit

Permalink
Remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Legend-Master committed Mar 12, 2024
1 parent 6d23f17 commit 67e12d7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions plugins/updater/src/updater.rs
Original file line number Diff line number Diff line change
Expand Up @@ -512,15 +512,13 @@ impl Update {
// Update server can provide a custom EXE (installer) who can run any task.
#[cfg(windows)]
fn install_inner(&self, bytes: Vec<u8>) -> Result<()> {
use std::{fs, process::Command};
use std::fs;

use windows::{
core::{w, HSTRING},
Win32::UI::{Shell::ShellExecuteW, WindowsAndMessaging::SW_SHOW},
};

use crate::config::WindowsUpdateInstallMode;

// FIXME: We need to create a memory buffer with the MSI and then run it.
// (instead of extracting the MSI to a temp path)
//
Expand Down

0 comments on commit 67e12d7

Please sign in to comment.