From 224d1e67d00078fb1e71a7f5acb369060338da37 Mon Sep 17 00:00:00 2001 From: FichteFoll Date: Mon, 12 Jun 2023 23:33:43 +0200 Subject: [PATCH] Fix path references --- src/main.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main.rs b/src/main.rs index c25ce60..9463fef 100644 --- a/src/main.rs +++ b/src/main.rs @@ -43,26 +43,26 @@ lazy_static::lazy_static! { pub static ref GAME: Game = Game::new(CONFIG.game.path.for_edition(CONFIG.launcher.edition), CONFIG.launcher.edition); - /// Path to launcher folder. Standard is `$HOME/.local/share/anime-game-launcher` + /// Path to launcher folder. Standard is `$HOME/.local/share/honkers-railway-launcher` pub static ref LAUNCHER_FOLDER: PathBuf = launcher_dir().expect("Failed to get launcher folder"); - /// Path to launcher's cache folder. Standard is `$HOME/.cache/anime-game-launcher` + /// Path to launcher's cache folder. Standard is `$HOME/.cache/honkers-railway-launcher` pub static ref CACHE_FOLDER: PathBuf = cache_dir().expect("Failed to get launcher's cache folder"); - /// Path to `debug.log` file. Standard is `$HOME/.local/share/anime-game-launcher/debug.log` + /// Path to `debug.log` file. Standard is `$HOME/.local/share/honkers-railway-launcher/debug.log` pub static ref DEBUG_FILE: PathBuf = LAUNCHER_FOLDER.join("debug.log"); - /// Path to `background` file. Standard is `$HOME/.cache/anime-game-launcher/background` + /// Path to `background` file. Standard is `$HOME/.cache/honkers-railway-launcher/background` pub static ref BACKGROUND_FILE: PathBuf = CACHE_FOLDER.join("background"); /// Path to `.keep-background` file. Used to mark launcher that it shouldn't update background picture - /// - /// Standard is `$HOME/.local/share/anime-game-launcher/.keep-background` + /// + /// Standard is `$HOME/.local/share/honkers-railway-launcher/.keep-background` pub static ref KEEP_BACKGROUND_FILE: PathBuf = LAUNCHER_FOLDER.join(".keep-background"); /// Path to `.first-run` file. Used to mark launcher that it should run FirstRun window - /// - /// Standard is `$HOME/.local/share/anime-game-launcher/.first-run` + /// + /// Standard is `$HOME/.local/share/honkers-railway-launcher/.first-run` pub static ref FIRST_RUN_FILE: PathBuf = LAUNCHER_FOLDER.join(".first-run"); }