Skip to content

Commit

Permalink
fixed windows compilation...
Browse files Browse the repository at this point in the history
  • Loading branch information
UwUDev committed Aug 19, 2024
1 parent 022c1aa commit 759a950
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/updater.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use crate::core::restart;

Check failure on line 1 in src/updater.rs

View workflow job for this annotation

GitHub Actions / build (windows-latest)

unused import: `crate::core::restart`
#[cfg(any(target_os = "macos", target_os = "linux"))]
use mlua::prelude::LuaResult;

pub fn need_update(current_version: String) -> LuaResult<bool> {

Check failure on line 5 in src/updater.rs

View workflow job for this annotation

GitHub Actions / build (windows-latest)

cannot find type `LuaResult` in this scope
Expand Down

0 comments on commit 759a950

Please sign in to comment.