Closed minhe7735 closed 3 weeks ago
Thanks for the PR!
The workaround is a a bit too hacky to be included natively in ACC yet, as it also affects Dropbox and OneDrive and the very way ACChas worked up until now, file-wise. Will have to do some testing and see how we can implement this without breaking anything :)
GDrive seems to cache the file locally to
C:\Users\_user_\AppData\Local\Google\DriveFS\_AccountNumber_\content_cache
.Problem1: They're stored behind 2 sub-folders. Solution: set
IncludeSubdirectories
to true.Problem2: File doesn't have an extension. Solution: Include all files if extension not specified and do further filtering in eventhandler.
So if people wants to use GDrive, they would have to set: Action folderpath to
C:\Users\_user_\AppData\Local\Google\DriveFS\_AccountNumber_\content_cache
. and leave Action file extension empty.For others, they would have to include
.
in Action file extension. So.txt
instead oftxt
.Things like
this.actionFileExtension.Text
andstring listeningInText
are not changed to include/exclude.
in this commit.