Skip to content

Commit

Permalink
lint: fix imports and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
xTVaser committed Sep 22, 2024
1 parent a529fb9 commit ff22bf7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src-tauri/src/commands/binaries.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#[cfg(target_os = "windows")]
use std::os::windows::process::CommandExt;
use std::{
collections::HashMap,
io::ErrorKind,
os::windows::process::CommandExt,
path::{Path, PathBuf},
process::Stdio,
str::FromStr,
Expand Down
7 changes: 6 additions & 1 deletion src/components/games/GameControls.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@
} from "flowbite-svelte";
import { resetGameSettings, uninstallGame } from "$lib/rpc/game";
import { platform } from "@tauri-apps/api/os";
import { getLaunchGameString, launchGame, launchGameWithCustomExecutable, openREPL } from "$lib/rpc/binaries";
import {
getLaunchGameString,
launchGame,
launchGameWithCustomExecutable,
openREPL,
} from "$lib/rpc/binaries";
import {
doesActiveToolingVersionMeetMinimum,
getInstallationDirectory,
Expand Down
2 changes: 1 addition & 1 deletion src/lib/rpc/binaries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export async function launchGameWithCustomExecutable(
if (customExecutable !== null) {
return await invoke_rpc(
"launch_game",
{ gameName, inDebug: false, executableLocation: customExecutable},
{ gameName, inDebug: false, executableLocation: customExecutable },
() => {},
"_mirror_",
);
Expand Down

0 comments on commit ff22bf7

Please sign in to comment.