mirror of
https://github.com/ente-io/ente.git
synced 2025-08-05 05:24:26 +00:00
Handle update
This commit is contained in:
parent
ac06f67891
commit
4427352f51
@ -38,6 +38,13 @@ export default ts.config(
|
||||
ignoreArrowShorthand: true,
|
||||
},
|
||||
],
|
||||
// Allow free standing ternary expressions.
|
||||
"@typescript-eslint/no-unused-expressions": [
|
||||
"error",
|
||||
{
|
||||
allowTernary: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
);
|
||||
|
@ -295,9 +295,8 @@ const createMainWindow = () => {
|
||||
// On macOS, also hide the dock icon on macOS.
|
||||
if (process.platform == "darwin") app.dock.hide();
|
||||
} else {
|
||||
// Show our window otherwise.
|
||||
//
|
||||
// If we did not give it an explicit size, maximize it
|
||||
// Show our window otherwise, maximizing it if we're not asked to set it
|
||||
// to a specific size.
|
||||
bounds ? window.show() : window.maximize();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user