Merge branch 'next' of https://github.com/an-anime-team/the-honkers-railway-launcher into next
This commit is contained in:
commit
5543423882
1 changed files with 8 additions and 8 deletions
16
src/main.rs
16
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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue