Remove iranai ref
This commit is contained in:
parent
87f4d86587
commit
bc11e75d79
|
@ -125,10 +125,6 @@ function nowplaying(mode) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function npCore(arg) {
|
function npCore(arg) {
|
||||||
if (arg.cmd) {
|
|
||||||
console.error(arg);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
console.table(arg);
|
console.table(arg);
|
||||||
var content = localStorage.getItem("np-temp");
|
var content = localStorage.getItem("np-temp");
|
||||||
if (!content || content == "" || content == "null") {
|
if (!content || content == "" || content == "null") {
|
||||||
|
|
|
@ -1,13 +1,6 @@
|
||||||
function np(mainWindow) {
|
function np(mainWindow) {
|
||||||
const electron = require('electron')
|
const electron = require('electron')
|
||||||
const join = require('path').join
|
|
||||||
const app = electron.app
|
|
||||||
const fs = require('fs')
|
|
||||||
const fpath = join(app.getPath('userData'), 'npexec')
|
|
||||||
const npExec = fs.readFileSync(fpath, 'utf8')
|
|
||||||
const ipc = electron.ipcMain
|
const ipc = electron.ipcMain
|
||||||
|
|
||||||
const { exec } = require('child_process')
|
|
||||||
ipc.on('itunes', async (e, args) => {
|
ipc.on('itunes', async (e, args) => {
|
||||||
console.log('Access')
|
console.log('Access')
|
||||||
if (args[0] == 'set') {
|
if (args[0] == 'set') {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user