nim_websitecreator
nim_websitecreator copied to clipboard
Improve stability of plugin enabling/disabling
CC @juancarlospaco, what do you think?
Our recompile function is sometimes unstable. Suggestion:
- Activate recompile from the browser UI
-
NimWC launcherstopsnimwc_mainsubrunner -
NimWC launchermovesnimwc_mainto a backup location -
NimWC launcherrunsstartupCheck(), which will recompilenimwc_main - If recompiling fails,
NimWC launcherwill move the backup ofnimwc_mainback and report the output of the compiling error
Using the method above, we will keep the recompling out of the subrunner, and NimWC launcher will be in control.