IDEMSInternational / R-Instat

A statistics software package powered by R
http://r-instat.org/
GNU General Public License v3.0
38 stars 102 forks source link

Fixed problem with R-instat start up #9049

Closed derekagorhom closed 3 days ago

derekagorhom commented 5 days ago

Fixes #9042 @rdstern , @N-thony this PR is ready for review

N-thony commented 3 days ago

@rdstern @derekagorhom we are no longer deleting the backup files. The message was to check if R-Instat has previously crushed. So, with the new change made in the code, I created a new file called app_marker.log in the log folder, This contains a text Running and change to CleanExit when R-Instat was properly closed otherwise the text remains Running and when you run again R-Instat, we always check the text in app_marker, if Running the pop up message will show to ask for recovery because R-Instat crushed in the previous session. I'm using this file as a flag to save the status of R-Instat in different way it was previously closed i.e. CleanExit or Running then crushed. @derekagorhom you can pull the changes I made from my branch start_up into this PR and test.

derekagorhom commented 3 days ago

@N-thony Thanks for this, I have pulled the changes