mirror of
https://github.com/redstrate/Physis.git
synced 2025-04-25 05:47:45 +00:00
Read boot version
This commit is contained in:
parent
e094742690
commit
59913434e6
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ impl BootData {
|
|||
match is_valid(directory) {
|
||||
true => Some(BootData {
|
||||
path: directory.parse().unwrap(),
|
||||
version: String::new()
|
||||
version: fs::read_to_string(format!("{directory}/ffxivboot.ver")).unwrap()
|
||||
}),
|
||||
false => {
|
||||
println!("Boot data is not valid!");
|
||||
|
|
Loading…
Add table
Reference in a new issue