fix some bugs(icon)
This commit is contained in:
parent
ec2fb97a68
commit
4f82cf00d6
|
@ -59,7 +59,7 @@ function createWindow() {
|
||||||
var platform=process.platform;
|
var platform=process.platform;
|
||||||
var bit=process.arch;
|
var bit=process.arch;
|
||||||
if(platform=="linux"){
|
if(platform=="linux"){
|
||||||
var arg={width:window_size.width,height:window_size.height,x:window_size.x,y:window_size.y,icon: __dirname + '/thedesk.png'}
|
var arg={width:window_size.width,height:window_size.height,x:window_size.x,y:window_size.y,icon: __dirname + '/desk.png'}
|
||||||
}else{
|
}else{
|
||||||
var arg={width:window_size.width,height:window_size.height,x:window_size.x,y:window_size.y,simpleFullscreen:true}
|
var arg={width:window_size.width,height:window_size.height,x:window_size.x,y:window_size.y,simpleFullscreen:true}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user