Open IgorKrupenja opened 5 years ago
Since 0.6.1, the recommended way to configure Marta is to use the embedded configuration editor. It supports symbolic links and preferences re-loading, so I think this issue can be postponed. If you can't use the embedded editor for some reason, please create a separate issue.
Today the two configuration files conf.marco
and favorites.marco
are both in
~/../org.yanex.marta/
This means that you have to choose between:
You could try a Marta
test build with a split to different folders, example:
~/../org.yanex.marta/user/favorites.marco
and
~/../org.yanex.marta/local/conf.marco
.
Instead of symlinking to the file itself, symlink instead to the folder containing the config file.
Factory
> Local
> Cloud
> User
Consider the following alternative configuration hierarchy:
Factory
Marco.app/conf/Library/config.marco
Marco.app/conf/Library/favorites.marco
Local
/Library/Application Support/org.y.m/config.marco
/Library/Application Support/org.y.m/favorites.marco
Cloud
☁/Library/Application Support/org.y.m/config.marco
☁/Library/Application Support/org.y.m/favorites.marco
User
~/Library/Application Support/org.y.m/config.marco
~/Library/Application Support/org.y.m/favorites.marco
dateFormat
in the System
-domain, and so:
dateFormat
is set in the Local
domain it is applied to all users of devicedateFormat
is found in the Cloud
domain, it is applied.dateFormat
i also found in the User
domain, this takes top precendence.dateFormat
is not found anywhere or is invalid; the Factory
domain default setting is set.macOS Priority | macOS Domain | Folder | Marta config | Marta priority | Marta Domain |
---|---|---|---|---|---|
1. | System |
/System/Library/ |
Marta factory configuration | 4. | Factory |
2. | Local |
/Library/ |
Marta config for all users on local mac | 3. | Local |
N/A | N/A | N/A | Current logged-in user config - for all accounts | 2. | Cloud / iCloud |
3. | User |
~/Library/ |
Current logged-in user config - on this local account | 1. | User |
Favorites.marco
Local
, Cloud
and User
domains will easily be merged with implicit sync conflict resolution based on the domain hierarchy.
Marta theme stays the same until you restart it. If conf.json is not symlinked, theme change is instant with no restart needed.