Skip to content

Commit

Permalink
Disable agreement to placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
jwbonner committed Oct 22, 2024
1 parent c3ada05 commit 64dbd98
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -339,11 +339,11 @@ async function handleHubMessage(window: BrowserWindow, message: NamedMessage) {
})
.then((response) => resolve(response))
);
if (response.checkboxChecked) {
prefs.ctreLicenseAccepted = true;
jsonfile.writeFileSync(PREFS_FILENAME, prefs);
sendAllPreferences();
}
// if (response.checkboxChecked) {
// prefs.ctreLicenseAccepted = true;
// jsonfile.writeFileSync(PREFS_FILENAME, prefs);
// sendAllPreferences();
// }
}
if (!prefs.ctreLicenseAccepted) {
errorMessage = "Hoot log files cannot be decoded without agreeing to CTRE's terms and conditions.";
Expand Down

0 comments on commit 64dbd98

Please sign in to comment.