From 4c4da71f6aa776c94e324c55130f564754616789 Mon Sep 17 00:00:00 2001 From: mxve <68632137+mxve@users.noreply.github.com> Date: Tue, 15 Aug 2023 13:02:32 +0200 Subject: [PATCH] v0.4.0 --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/main.rs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b3777f1..988cc90 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -13,7 +13,7 @@ dependencies = [ [[package]] name = "alterware-launcher" -version = "0.3.1" +version = "0.4.0" dependencies = [ "http_req", "mslnk", diff --git a/Cargo.toml b/Cargo.toml index 0c0034c..b77f65e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "alterware-launcher" -version = "0.3.1" +version = "0.4.0" edition = "2021" build = "res/build.rs" diff --git a/src/main.rs b/src/main.rs index 67f3642..baa134e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -3,7 +3,7 @@ mod http; use mslnk::ShellLink; use semver::Version; use std::time::{SystemTime, UNIX_EPOCH}; -use std::{fs, path::Path, path::PathBuf}; +use std::{fs, path::PathBuf}; #[cfg(not(windows))] use std::{thread, time}; #[cfg(windows)] @@ -134,7 +134,7 @@ fn get_installed_games(games: &Vec) -> Vec<(u32, PathBuf)> { } #[cfg(windows)] -fn setup_client_links(game: &Game, game_dir: &Path) { +fn setup_client_links(game: &Game, game_dir: &PathBuf) { if game.client.len() > 1 { println!("Multiple clients installed, use the shortcuts (launch-.lnk in the game directory or desktop shortcuts) to launch a specific client."); }