office-wakatime icon indicating copy to clipboard operation
office-wakatime copied to clipboard

Fixes problem with OneDrive

Open uiopak opened this issue 2 years ago • 1 comments

Changes fix problem with files on OneDrive. Code based on: https://social.msdn.microsoft.com/Forums/en-US/1331519b-1dd1-4aa0-8f4f-0453e1647f57/how-to-get-physical-path-instead-of-url-onedrive tries to convert URL to local path

User must be logged into OneDrive on computer, otherwise there will not be local “copy” with metadata. After logging out from OneDrive older files should still work.

I think that this fixes: wakatime/office-wakatime#14 wakatime/wakatime-cli#489 wakatime/wakatime-cli#653

Probably change could be made in wakatime/wakatime-cli, to fix this problem with all apps, but all current issues are connected to office plugin.

uiopak avatar May 04 '22 11:05 uiopak

Actually, let's hold off on this PR until the office plugins use the new wakatime-cli because this might not be necessary afterwards.

alanhamlett avatar Nov 26 '22 08:11 alanhamlett