Closed calejvaldez closed 1 week ago
Fixed in 3ef66313c43773a22022b890757c470111707f73
This was a Linux-only issue since its app_data_dir
leads to ~/.local/share/org.ojosproject.Iris/
and its app_config_dir
leads to ~/.config/org.ojosproject.Iris/
, which is common for Linux but was still a pain to discover that they were two different folders.
Both Windows and macOS' app_data_dir
and app_config_dir
lead to the same folder, so it didn't affect those OS.
Summary
When starting Iris for the first time on macOS, the program crashes because we attempt to create a new folder in this line:
https://github.com/ojosproject/iris/blob/de60ec9cf8c389ab32a6844c2181e371597f0479/src-tauri/src/config.rs#L41
However, if we remove it and start the program on the first time on Linux, the program crashes because the
app_config_dir
was not created.The issue is that on macOS, both
app_data_dir
andapp_config_dir
are the same folder, but on Linux they're not.What is the expected correct behavior?
Folders created without issues, regardless of OS.
Steps to reproduce
app_data_dir
andapp_config_dir
foldersRelevant logs and/or screenshots
Operating System
macOS