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:
parent
ef97cfd1ce
commit
89f780c22a
1 changed files with 1 additions and 3 deletions
|
@ -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,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue