mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2026-03-22 04:06:18 +00:00
Use JSON.pretty_generate when saving json (settings, app cache, and asterisk)
This commit is contained in:
@@ -76,7 +76,7 @@ class W3DHub
|
||||
end
|
||||
|
||||
def save_config(config = @config)
|
||||
File.write(CONFIG_PATH, config.to_json)
|
||||
File.write(CONFIG_PATH, JSON.pretty_generate(config))
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user