mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2026-03-22 12:16:15 +00:00
Use JSON.pretty_generate when saving json (settings, app cache, and asterisk)
This commit is contained in:
@@ -78,7 +78,7 @@ class W3DHub
|
||||
end
|
||||
|
||||
def save_settings
|
||||
File.write(SETTINGS_FILE_PATH, @settings.to_json)
|
||||
File.write(SETTINGS_FILE_PATH, JSON.pretty_generate(@settings))
|
||||
end
|
||||
|
||||
def save_application_cache(json)
|
||||
|
||||
Reference in New Issue
Block a user