added several dev improvements

This commit is contained in:
2023-07-23 23:07:19 +02:00
parent ad05b767d8
commit 6969de8270
9 changed files with 260 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
import remote, { app } from "@electron/remote";
import { app } from "@electron/remote";
import { ipcRenderer, shell } from "electron";
import fs from "fs";
import { globalEvents } from "../../constants/globalEvents";
@@ -107,8 +107,8 @@ function hide() {
* Restart tidal-hifi after changes
*/
function restart() {
remote.app.relaunch();
remote.app.exit();
app.relaunch();
app.exit();
}
/**