Skip to content

Commit 02deaf0

Browse files
committed
fix: 增加 .gitmodules 文件
1 parent ffc533c commit 02deaf0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "NeteaseCloudMusicApi"]
2+
path = NeteaseCloudMusicApi
3+
url = https://github.com/caijinyc/NeteaseCloudMusicApi.git

public/electron.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,14 +133,12 @@ function createWindow() {
133133
backgroundColor: '#021524'
134134
});
135135

136+
// 打包应用的时候使用
136137
// mainWindow.loadURL(`file://${__dirname}/index.html`);
137138

138139
// 加载应用----适用于 react 项目
139140
mainWindow.loadURL('http://localhost:3000/');
140141

141-
// 打开开发者工具,默认不打开
142-
// mainWindow.webContents.openDevTools();
143-
144142
mainWindow.once('ready-to-show', () => {
145143
mainWindow.show();
146144
});
@@ -149,7 +147,6 @@ function createWindow() {
149147

150148
// 关闭window时触发下列事件.
151149
mainWindow.on('close', function(e) {
152-
console.log('closesss');
153150
if (forceQuit) {
154151
app.quit();
155152
} else {

0 commit comments

Comments
 (0)