1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-08 05:57:02 +09:00

removed header styles for macos 10

This commit is contained in:
Andrew Simachev 2021-10-27 14:49:44 +03:00
parent 8f68cdeeef
commit c36d3d0140
12 changed files with 14 additions and 76 deletions

View file

@ -208,13 +208,7 @@ function createWindow () {
if (process.platform == 'darwin') {
app.dock.setIcon(image);
param.icon = path.join(__dirname, '/electron/icon.icns');
const a = systemVersion.split('.');
if (a.length && (a[0] >= 11)) {
param.trafficLightPosition = { x: 20, y: 18 };
} else {
param.trafficLightPosition = { x: 20, y: 10 };
};
param.trafficLightPosition = { x: 20, y: 18 };
};
if (process.platform == 'win32') {