Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: replaced cancel with ignore in the linux udev rules installation… #896

Merged
merged 1 commit into from
Oct 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading