merge: Fix path in comments #33

This commit is contained in:
Marie 2023-06-14 01:24:45 +02:00 committed by GitHub
commit a45a4ff5d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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");
}