This repository has been archived on 2023-08-30. You can view files and clone it, but cannot push or open issues/pull-requests.
appcat
/
sonist
Archived
1
0
Fork 0

调整目录结构

2.x
宇天 2019-01-19 02:59:52 +08:00
parent ad64f972c8
commit 29671d9e39
59 changed files with 19 additions and 4 deletions

1
.gitignore vendored
View File

@ -2,7 +2,6 @@
.AppleDouble
.LSOverride
.idea
.vscode
._*
.Spotlight-V100
.Trashes

16
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,16 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug Main Process",
"type": "node",
"request": "launch",
"cwd": "${workspaceRoot}",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
"windows": {
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
},
"args": ["."]
}
]
}

View File

@ -2,7 +2,7 @@
"name": "sonist",
"version": "0.1.0",
"description": "Music Player",
"main": "main.js",
"main": "src/main.js",
"scripts": {
"start": "electron ."
},

View File

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

Before

Width:  |  Height:  |  Size: 594 B

After

Width:  |  Height:  |  Size: 594 B

View File

Before

Width:  |  Height:  |  Size: 899 B

After

Width:  |  Height:  |  Size: 899 B

View File

Before

Width:  |  Height:  |  Size: 588 B

After

Width:  |  Height:  |  Size: 588 B

View File

Before

Width:  |  Height:  |  Size: 594 B

After

Width:  |  Height:  |  Size: 594 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 595 B

After

Width:  |  Height:  |  Size: 595 B

View File

Before

Width:  |  Height:  |  Size: 723 B

After

Width:  |  Height:  |  Size: 723 B

View File

Before

Width:  |  Height:  |  Size: 74 KiB

After

Width:  |  Height:  |  Size: 74 KiB

View File

Before

Width:  |  Height:  |  Size: 586 B

After

Width:  |  Height:  |  Size: 586 B

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@ -57,7 +57,7 @@ function createWindow() {
height: 640,
frame: false,
resizable: false,
icon: './images/app.png',
icon: './src/images/app.png',
webPreferences: {
webSecurity: false,
experimentalFeatures: true
@ -88,7 +88,7 @@ app.on('ready', () => {
cb({ data: buf, mimeType: MIME_TYPES[ext] })
})
tray = new Tray('./images/trays/trayTemplate.png')
tray = new Tray('./src/images/trays/trayTemplate.png')
tray.on('click', _ => {
win.show()