This is definitely not right.
Sublime can delete the file just fine (and write any old file in it's place) Even we can modify the file when running unelevated, which is **B**ad. So there's gotta be some way to allow _us_ to write the file only when elevated
This commit is contained in:
parent
8569211d0f
commit
aef422d5f1
|
@ -124,8 +124,8 @@ namespace winrt::Microsoft::Terminal::Settings::Model::implementation
|
|||
|
||||
Json::StreamWriterBuilder wbuilder;
|
||||
const auto content = Json::writeString(wbuilder, root);
|
||||
// WriteUTF8FileAtomic(_path, content, true);
|
||||
WriteUTF8File(_path, content, true);
|
||||
WriteUTF8FileAtomic(_path, content, true);
|
||||
// WriteUTF8File(_path, content, true);
|
||||
}
|
||||
CATCH_LOG()
|
||||
|
||||
|
|
Loading…
Reference in a new issue