Open AyoungDukie opened 5 months ago
Hi there! As you're new to this repo, please make sure you've used an appropriate issue template and searched for duplicates (it helps us focus on actual development!). We'd also like to suggest that you read our contribution guidelines and our code of conduct. Thanks a bunch for opening your first issue! 🙏
After a discussion with Erik on Discord, the issue comes down to how the default Windows directory for ActivityWatch is
%LocalAppData%\activitywatch\activitywatch\
compared to the other platforms that simply use an overall./activitywatch/
folder.the aw-server-rust module uses the crate call below from
appdirs
to find the desired configuration directory:This works as expected for other platforms, but seems to be the culprit of the below resultant folder structure: compared to the main (sub)folder:
The code for the first run legacy import uses a modified call to ensure the correct location is selected:
This can probably be broken up into pieces as
-Any Windows:
Additional context
Any changes decided here should be coordinated with updates to the documentation about the folder configurations as needed. https://docs.activitywatch.net/en/latest/directories.html