mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-21 21:26:03 +01:00
Don't ship proton dist files in a tarball anymore
This commit is contained in:
parent
ab1db897be
commit
3d5022de71
4 changed files with 34 additions and 55 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue