Add notice about no self-restarts on windows

This commit is contained in:
Harvey Tindall
2020-09-05 21:52:23 +01:00
parent d31254b18e
commit f5f2a0f190
5 changed files with 33 additions and 2 deletions
+4
View File
@@ -359,7 +359,11 @@
<div class="card-body text-center">
<h5 class="card-title">Finished!</h5>
<p class="card-text">
{{ if .windows }}
Press the button below to submit your settings. Unfortunately you're running on Windows, so jfa-go <a href="https://github.com/golang/go/issues/30662">cannot restart itself.</a> You will manually have to restart.
{{ else }}
Press the button below to submit your settings. The program will restart. Once it's done, refresh this page.
{{ end }}
</p>
<button id="submitButton" class="btn btn-primary">Submit</button>
</div>