Skip to content

Commit

Permalink
fix: replaced cancel with ignore in the linux udev rules installation…
Browse files Browse the repository at this point in the history
… tool

Signed-off-by: Alejandro Parcet <alexpargon@gmail.com>
  • Loading branch information
alexpargon committed Oct 4, 2024
1 parent aa1e0c3 commit da47aaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/utils/udev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import fs from "fs";
import * as sudo from "sudo-prompt";
import log from "electron-log/main";

const udevRulesToWrite =`\
const udevRulesToWrite = `\
# Dygma Raise
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="2200", MODE="0660", TAG+="uaccess"
# bootloader mode
Expand Down Expand Up @@ -44,7 +44,7 @@ const installUdev = (mainWindow: BrowserWindow) => {
};
const dialogOpts: MessageBoxOptions = {
type: "question",
buttons: ["Cancel", "Install"],
buttons: ["Ignore", "Install"],
cancelId: 0,
defaultId: 1,
title: "Udev rules Installation",
Expand Down

0 comments on commit da47aaf

Please sign in to comment.