mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-05 06:31:57 -07:00
internal: embed example config (#10608)
This commit is contained in:
@@ -849,7 +849,7 @@ std::optional<std::string> CConfigManager::generateConfig(std::string configPath
|
||||
Debug::log(WARN, "No config file found; attempting to generate.");
|
||||
std::ofstream ofs;
|
||||
ofs.open(configPath, std::ios::trunc);
|
||||
ofs << AUTOCONFIG;
|
||||
ofs << AUTOGENERATED_PREFIX << EXAMPLE_CONFIG;
|
||||
ofs.close();
|
||||
|
||||
if (!std::filesystem::exists(configPath))
|
||||
|
Reference in New Issue
Block a user