Skip to content

Commit ff05225

Browse files
committed
修复git文件名大小写问题
1 parent ac053e9 commit ff05225

2 files changed

Lines changed: 29 additions & 0 deletions

File tree

src/main/events/Tray.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
const { EventEmitter } = require('events')
2+
const { tray: TRAY_EVENT_NAME } = require('./_name')
3+
4+
class Tray extends EventEmitter {
5+
create() {
6+
this.emit(TRAY_EVENT_NAME.create)
7+
}
8+
9+
destroy() {
10+
this.emit(TRAY_EVENT_NAME.destroy)
11+
}
12+
}
13+
14+
module.exports = Tray

src/main/events/WinLyric.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
const { EventEmitter } = require('events')
2+
const { winLyric: WIN_LYRIC_EVENT_NAME } = require('./_name')
3+
// const { updateSetting } = require('../utils')
4+
5+
class WinLyric extends EventEmitter {
6+
create() {
7+
this.emit(WIN_LYRIC_EVENT_NAME.create)
8+
}
9+
10+
close() {
11+
this.emit(WIN_LYRIC_EVENT_NAME.close)
12+
}
13+
}
14+
15+
module.exports = WinLyric

0 commit comments

Comments
 (0)