mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-04-10 11:30:13 +03:00
fixup! Don't ship proton dist files in a tarball anymore
This commit is contained in:
parent
8dbe0cc8be
commit
ae997b6a28
@ -158,7 +158,7 @@ static BOOL validate_proton_dist(const char* src)
|
||||
snprintf(buffer, ARRAYSIZE(buffer), "%s/%s", src, "version");
|
||||
allgood = stat(buffer, &st) == 0 && (st.st_mode & S_IFMT) == S_IFREG;
|
||||
|
||||
snprintf(buffer, ARRAYSIZE(buffer), "%s/%s", src, "dist");
|
||||
snprintf(buffer, ARRAYSIZE(buffer), "%s/%s", src, "files");
|
||||
allgood = allgood && stat(buffer, &st) == 0 && (st.st_mode & S_IFMT) == S_IFDIR;
|
||||
|
||||
return allgood;
|
||||
|
Loading…
x
Reference in New Issue
Block a user