mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-18 06:07:48 +00:00
chore: format codes
This commit is contained in:
parent
6922c716e2
commit
9351f6bc89
73 changed files with 2321 additions and 2321 deletions
|
|
@ -15,11 +15,11 @@ const nativeAlert = (() => {
|
|||
if (process.env.IS_ELECTRON === true) {
|
||||
const {
|
||||
remote: { dialog },
|
||||
} = require("electron");
|
||||
} = require('electron');
|
||||
if (dialog) {
|
||||
return (message) => {
|
||||
return message => {
|
||||
var options = {
|
||||
type: "warning",
|
||||
type: 'warning',
|
||||
detail: message,
|
||||
};
|
||||
dialog.showMessageBoxSync(null, options);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue