Commit 610e09bc authored by zeroleak's avatar zeroleak
Browse files

fix linux icon

parent ced336e6
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -92,6 +92,20 @@ else {
}
});
// fix Linux icon
const os = require('os');
switch (os.platform()) {
case 'darwin':
mainWindow.setIcon('resources/icon.icns');
break;
case 'win32':
mainWindow.setIcon('resources/icon.ico');
break;
default:
mainWindow.setIcon('resources/icon.png');
break;
}
// GUI proxy
try {
const guiProxy = guiConfig.getGuiProxy()
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment