1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-04-23 21:17:45 +00:00

Fix name of base repository

It was misread as "game" when it really should be "ffxiv"
This commit is contained in:
Joshua Goins 2023-07-06 16:01:32 -04:00
parent ef97cfd1ce
commit 89f780c22a

View file

@ -169,15 +169,13 @@ impl Repository {
return None; return None;
} }
let name = String::from(path.file_stem().unwrap().to_str().unwrap());
let mut d = PathBuf::from(dir); let mut d = PathBuf::from(dir);
d.push("ffxivgame.ver"); d.push("ffxivgame.ver");
let version = read_version(d.as_path()); let version = read_version(d.as_path());
if version != None { if version != None {
Some(Repository { Some(Repository {
name, name: "ffxiv".parse().unwrap(),
repo_type: Base, repo_type: Base,
version, version,
}) })