Remove write permission on openvr manifest
This commit is contained in:
@@ -104,6 +104,7 @@ active_runtime::active_runtime() :
|
|||||||
std::ofstream manifest_file(openvr_manifest.c_str());
|
std::ofstream manifest_file(openvr_manifest.c_str());
|
||||||
manifest_file.exceptions(std::ofstream::failbit);
|
manifest_file.exceptions(std::ofstream::failbit);
|
||||||
manifest_file << manifest;
|
manifest_file << manifest;
|
||||||
|
std::filesystem::permissions(openvr_manifest, std::filesystem::perms(0400), std::filesystem::perm_options::replace);
|
||||||
this->openvr_manifest = openvr_manifest;
|
this->openvr_manifest = openvr_manifest;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user