forked from mirrors/akkoma
suggestion
This commit is contained in:
parent
03843a5386
commit
4cd34d0197
|
@ -282,7 +282,7 @@ defp migrate_from_db(opts) do
|
|||
else
|
||||
_ ->
|
||||
shell_error("Impossible to save settings to this directory #{Path.dirname(config_path)}")
|
||||
tmp_config_path = Path.join("/tmp", filename)
|
||||
tmp_config_path = Path.join(System.tmp_dir!(), filename)
|
||||
file = File.open!(tmp_config_path)
|
||||
|
||||
shell_info(
|
||||
|
|
Loading…
Reference in a new issue