Skip to content

on macOS, like on tvOS use the caches folder #108

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 19, 2022

Conversation

diederich
Copy link
Contributor

@diederich diederich commented Jan 12, 2022

On macOS, if the app is not sandboxed, the folder for events storage ends up in the user's ~/Documents/ directory, which potentially gets synced via iCloud Documents.

Let's also use the caches directory (~/Library/Caches/) on macOS, same as tvOS.

(I had a previous patch which moved all platforms to caches directory, given the documents folder on iOS might also be synced across devices. WDYT?)

on macOS, if the app is not sandboxed, the folder for events
storage ends up in the user's `~/Documents/` directory,
which potentially gets synced via iCloud Documents.
Let's also use the caches directory on macOS.
@bsneed
Copy link
Contributor

bsneed commented Jan 19, 2022

Great catch @diederich ! Thanks so much! Will go out with the next release.

@bsneed bsneed merged commit ce9a9d7 into segmentio:main Jan 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants