mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
feat(env): added DISABLE_GIT_LFS_CHECK
This commit is contained in:
parent
4498cece46
commit
aa556ba4b3
@ -30,6 +30,7 @@ fn main() {
|
||||
Err(e) => panic!("failed to retrieve current git commit hash: {}", e),
|
||||
}
|
||||
// Check if git-lfs is working
|
||||
if std::env::var("DISABLE_GIT_LFS_CHECK").is_err() {
|
||||
let asset_path: PathBuf = ["..", "assets", "voxygen", "background", "bg_main.png"]
|
||||
.iter()
|
||||
.collect();
|
||||
@ -59,3 +60,4 @@ fn main() {
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user