<%= install? 'User path': 'Instance selection' %>
Type of install
Ports and address
Passwords
<%= install? 'Install': 'Update' %>
<% if (install) { %> Select a DCS path to install Olympus to. <% } else { %> Select an Olympus instance to edit. <% } %> <% if (install) { %> We have automatically detected the following DCS installations under your Saved Games / DCS folder. <% } else { %> These are the DCS instances in which Olympus has already been installed. <% } %> <% if (install) { %> Please select which DCS installations you want to add Olympus to. <% } else { %> Please select which Olympus installations you want to edit. <% } %>
<% for (let i = 0; i < instances.length; i++) {%>
<%= instances[i].name %> <%= instances[i].folder %> <%= instances[i].installed? (instances[i].error? 'Corrupted/outdated Olympus installation': 'Olympus installed'): 'Olympus not installed' %>
<% } %>
<% if (install) { %> Cancel installation <% } else { %> Cancel editing <% } %>