File tree 5 files changed +267
-7
lines changed
5 files changed +267
-7
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"appId" : " com.electron.container-ps" ,
3
3
"productName" : " Container PS" ,
4
- "compression" : " maximum " ,
4
+ "compression" : " normal " ,
5
5
"copyright" : " Copyright @Toinane" ,
6
6
"asar" : true ,
7
7
"directories" : {
26
26
},
27
27
"linux" : {
28
28
"icon" : " src/assets" ,
29
- "synopsis" : " Docker PS" ,
29
+ "synopsis" : " Container PS" ,
30
30
"category" : " Development"
31
31
},
32
32
"win" : {
Original file line number Diff line number Diff line change 1
1
const { spawn } = require ( 'child_process' )
2
2
3
- // const trayIcon = nativeImage.createFromPath(path.join(dirname, 'assets/loadingTemplate.png'));
4
- // tray.setImage(trayIcon);
5
-
6
3
class Command {
7
4
static run ( cmd , options = [ ] ) {
8
5
return new Promise ( ( resolve , reject ) => {
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ class Container {
13
13
this . image = container [ 6 ] || 'no image found'
14
14
this . size = container [ 7 ] || 'no size found'
15
15
} else {
16
- this . ports = 'no ports used '
16
+ this . ports = ''
17
17
this . image = container [ 5 ] || 'no image found'
18
18
this . size = container [ 6 ] || 'no size found'
19
19
}
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ require('fix-path')()
6
6
7
7
app . on ( 'will-finish-launching' , ( ) => {
8
8
app . disableHardwareAcceleration ( )
9
- app . dock . hide ( )
9
+ if ( process . platform === 'darwin' ) app . dock . hide ( )
10
10
} )
11
11
12
12
app . on ( 'ready' , async ( ) => {
You can’t perform that action at this time.
0 commit comments