Remove iranai ref

This commit is contained in:
cutls 2020-01-23 00:39:06 +09:00
parent 87f4d86587
commit bc11e75d79
2 changed files with 0 additions and 11 deletions

View File

@ -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") {

View File

@ -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') {