Skip to content

Commit 07c5629

Browse files
committed
fix builds on windows
1 parent 75cd9c9 commit 07c5629

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

crates/core/src/mobdap.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ use std::{
55
};
66

77
use crate::github;
8+
use crate::utils;
89
use anyhow::{Context, Result, bail};
910
use version_compare::Version;
1011

@@ -119,8 +120,6 @@ pub fn update_or_install() -> Result<PathBuf> {
119120
use std::os::unix::fs::PermissionsExt;
120121
use tar::Archive;
121122

122-
use crate::utils;
123-
124123
let tar = GzDecoder::new(file);
125124
let mut archive = Archive::new(tar);
126125
archive.unpack(&parent_dir)?;

crates/core/src/neovide.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ use anyhow::{Context, Result, bail};
88
use version_compare::Version;
99

1010
use crate::github;
11+
use crate::utils;
1112

1213
const OWNER: &str = "neovide";
1314
const REPOSITORY: &str = "neovide";
@@ -120,8 +121,6 @@ pub fn update_or_install() -> Result<PathBuf> {
120121
use std::os::unix::fs::PermissionsExt;
121122
use tar::Archive;
122123

123-
use crate::utils;
124-
125124
let tar = GzDecoder::new(file);
126125
let mut archive = Archive::new(tar);
127126
archive.unpack(&parent_dir)?;

0 commit comments

Comments
 (0)