Remove write permission on openvr manifest

This commit is contained in:
Patrick Nicolas committed 2024-11-23 13:37:44 +01:00
1 parent 64d36a7927
commit 2dd30c4fae
1 file changed
+1
+1
View File
@@ -104,6 +104,7 @@ active_runtime::active_runtime() :
std::ofstream manifest_file(openvr_manifest.c_str());
manifest_file.exceptions(std::ofstream::failbit);
manifest_file << manifest;
std::filesystem::permissions(openvr_manifest, std::filesystem::perms(0400), std::filesystem::perm_options::replace);
this->openvr_manifest = openvr_manifest;
}
}