fix checkbox

This commit is contained in:
2023-11-24 07:26:42 +01:00
parent 58fa4a6329
commit 9307d7709c
2 changed files with 5 additions and 5 deletions

View File

@@ -48,7 +48,7 @@ window.addEventListener('DOMContentLoaded', () => {
case "up-to-date":
$("#launch-btn").attr('disabled', true);
$('#launch-btn').html('Launching...');
const result = await ipcRenderer.invoke("launch", { patch: true });
const result = await ipcRenderer.invoke("launch", { patch: $('#enablePatching').is(':checked') });
if (!result) {
Swal.fire({
title: 'Uh oh!',