mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-11-27 20:36:50 -08:00
Remove write permission on openvr manifest
This commit is contained in:
1 parent
64d36a7927
commit
2dd30c4fae
1 file changed
+1
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user