RInno icon indicating copy to clipboard operation
RInno copied to clipboard

RInno v 1.0.1 deletes empty folders

Open Tebatu opened this issue 7 years ago • 3 comments

The new version appears to delete empty folders. In my case it deleted a folder which can be populated on user request. It is a simple issue and easy to solve for me, but it can potentially endanger the app architecture.

I did not build the app using Electron UI, I used Chome to display it.

Tebatu avatar Sep 26 '18 13:09 Tebatu

I think I remember running into this as well. It might be easiest to just check for the folder from the app and create if necessary dir.create or pre-populate it with an empty .txt single file

chasemc avatar Sep 26 '18 15:09 chasemc

I think I remember running into this as well. It might be easiest to just check for the folder from the app and create if necessary dir.create or pre-populate it with an empty .txt single file

Hehe, yes, I pre-populated it as well. But it was strange to see a new cannot open the connection error.

Tebatu avatar Sep 26 '18 16:09 Tebatu

If someone is motivated to take a crack at this, I think these are the relevant lines: https://github.com/ficonsulting/RInno/blob/08be4be8f219eaf03fed90a096b8dce09d529a74/R/files_section.R#L30-L37

I'm home alone with my 7-month-old daughter this week, so I will probably not be able to get to it. ;)

Dripdrop12 avatar Sep 26 '18 20:09 Dripdrop12