update
parent
cabfa462a4
commit
55bdea11bb
|
@ -19,10 +19,6 @@
|
|||
"music-metadata": "^7.5.0",
|
||||
"sqlite3": "^5.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"electron": "^10.0.0",
|
||||
"electron-builder": "^22.1.0"
|
||||
},
|
||||
"build": {
|
||||
"appId": "top.yutent.sonist",
|
||||
"productName": "Sonist",
|
||||
|
|
|
@ -8,13 +8,13 @@ import Anot from '/js/lib/anot.js'
|
|||
import '/js/lib/scroll/index.js'
|
||||
|
||||
import Keyboard from '/js/lib/keyboard/index.js'
|
||||
import app from '/js/lib/socket.js'
|
||||
// import app from '/js/lib/socket.js'
|
||||
import fetch from '/js/lib/fetch/index.js'
|
||||
import Api from '/js/api.js'
|
||||
|
||||
import Player from '/js/lib/audio/index.js'
|
||||
|
||||
const id3 = require('music-metadata')
|
||||
// const id3 = require('music-metadata')
|
||||
|
||||
const MODE_DICT = { 1: 'all', 2: 'single', 3: 'random' }
|
||||
|
||||
|
|
|
@ -23,13 +23,13 @@ exports.createMainWindow = function(icon) {
|
|||
resizable: false,
|
||||
maximizable: false,
|
||||
icon,
|
||||
transparent: true,
|
||||
// transparent: true,
|
||||
vibrancy: 'dark',
|
||||
visualEffectState: 'active',
|
||||
webPreferences: {
|
||||
webSecurity: false,
|
||||
experimentalFeatures: true,
|
||||
nodeIntegration: true
|
||||
preload: '../js/lib/socket.js'
|
||||
},
|
||||
show: false
|
||||
})
|
||||
|
|
Reference in New Issue