mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-16 20:52:06 +00:00
remove redundant dialog import
This commit is contained in:
3
index.js
3
index.js
@ -2,7 +2,6 @@
|
|||||||
const path = require("path");
|
const path = require("path");
|
||||||
|
|
||||||
const electron = require("electron");
|
const electron = require("electron");
|
||||||
const { dialog } = require("electron");
|
|
||||||
const is = require("electron-is");
|
const is = require("electron-is");
|
||||||
const unhandled = require("electron-unhandled");
|
const unhandled = require("electron-unhandled");
|
||||||
const { autoUpdater } = require("electron-updater");
|
const { autoUpdater } = require("electron-updater");
|
||||||
@ -327,7 +326,7 @@ function showUnresponsiveDialog(win, details) {
|
|||||||
if (!!details) {
|
if (!!details) {
|
||||||
console.log("Unresponsive Error!\n"+JSON.stringify(details, null, "\t"))
|
console.log("Unresponsive Error!\n"+JSON.stringify(details, null, "\t"))
|
||||||
}
|
}
|
||||||
dialog.showMessageBox(win, {
|
electron.dialog.showMessageBox(win, {
|
||||||
type: "error",
|
type: "error",
|
||||||
title: "Window Unresponsive",
|
title: "Window Unresponsive",
|
||||||
message: "The Application is Unresponsive",
|
message: "The Application is Unresponsive",
|
||||||
|
|||||||
Reference in New Issue
Block a user