mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-10-30 07:11:05 +00:00
* Implemented Windows registry read/write * Simplify registry API and handle path writes * Linux SetWorkingDirectory * Implement reading path and unicode string from windows registry * Use string_view value names for registry * Use RegGetValueW * Paths adjustments * / * Update working directory update failure message * Updated linux SetWorkingDirectory * Update flatpak define * Remove RootDirectoryPath and save registry at startup * dont save registry on exit * Slight formatting update --------- Co-authored-by: Sajid <sajidur78@gmail.com>
14 lines
240 B
C++
14 lines
240 B
C++
#include "registry.h"
|
|
#include <os/process.h>
|
|
#include <os/registry.h>
|
|
#include <user/config.h>
|
|
|
|
void Registry::Load()
|
|
{
|
|
|
|
}
|
|
|
|
void Registry::Save()
|
|
{
|
|
os::registry::WriteValue(STR(ExecutableFilePath), os::process::GetExecutablePath());
|
|
}
|