File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1+ [submodule "NeteaseCloudMusicApi "]
2+ path = NeteaseCloudMusicApi
3+ url = https://github.com/caijinyc/NeteaseCloudMusicApi.git
Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments