修复git文件名大小写问题

pull/277/head
lyswhut 2020-07-26 16:25:32 +08:00
parent ac053e9ac9
commit ff05225b56
2 changed files with 29 additions and 0 deletions

14
src/main/events/Tray.js Normal file
View File

@ -0,0 +1,14 @@
const { EventEmitter } = require('events')
const { tray: TRAY_EVENT_NAME } = require('./_name')
class Tray extends EventEmitter {
create() {
this.emit(TRAY_EVENT_NAME.create)
}
destroy() {
this.emit(TRAY_EVENT_NAME.destroy)
}
}
module.exports = Tray

View File

@ -0,0 +1,15 @@
const { EventEmitter } = require('events')
const { winLyric: WIN_LYRIC_EVENT_NAME } = require('./_name')
// const { updateSetting } = require('../utils')
class WinLyric extends EventEmitter {
create() {
this.emit(WIN_LYRIC_EVENT_NAME.create)
}
close() {
this.emit(WIN_LYRIC_EVENT_NAME.close)
}
}
module.exports = WinLyric