cozy / ACH

Import/Export data from your Cozy
4 stars 5 forks source link

Fix: Make ACH work on Windows #131

Closed Ldoppea closed 2 years ago

Ldoppea commented 2 years ago

On Windows OS, /tmp/ folder does not exist and may be considered as relative path

To fix this we want to use os.tmpdir() to point to the OS specified path for temp files

This modification change the macOS behavior as the used folder for storing token is not /tmp/ anymore but /var/folders/<SOME_UNIQUE_PATH>/T/ which is the per-user temporary folder (see https://magnusviri.com/what-is-var-folders.html)

Fixes: #74


This PR also adds some securities in code to check that folders exist


This PR also improves project documentation and tooling

cozy-bot commented 2 years ago

:tada: This PR is included in version 1.46.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: