fix: Try to make github actions test happy
This commit is contained in:
parent
dbd489bd93
commit
7592f0be21
3 changed files with 7 additions and 5 deletions
|
@ -424,14 +424,15 @@ function createMainWindow() {
|
|||
transparencyOption !== "none" && {
|
||||
transparent: true
|
||||
}),
|
||||
|
||||
...(staticTitle && { title: "Vesktop" }),
|
||||
...(process.platform === "darwin" && titleBar !== "shown" && getDarwinOptions()), // Show/Hide titlebar depending on settings on Mac
|
||||
...getWindowBoundsOptions(),
|
||||
autoHideMenuBar: enableMenu
|
||||
}));
|
||||
win.setMenuBarVisibility(false);
|
||||
if (process.platform === "darwin" && titleBar === "custom") { win.setWindowButtonVisibility(false); } // Hide the traffic lights
|
||||
if (process.platform === "darwin" && titleBar === "custom") {
|
||||
win.setWindowButtonVisibility(false); // Hide the traffic lights
|
||||
}
|
||||
|
||||
win.on("close", e => {
|
||||
const useTray = !isDeckGameMode && Settings.store.minimizeToTray !== false && Settings.store.tray !== false;
|
||||
|
|
|
@ -55,7 +55,7 @@ const SettingsOptions: Record<string, Array<BooleanSetting | SettingsComponent>>
|
|||
defaultValue: false,
|
||||
invisible: () => isMac,
|
||||
disabled: () => Settings.store.titleBar === "custom" ?? isWindows
|
||||
},
|
||||
}
|
||||
],
|
||||
"User Interface": [
|
||||
{
|
||||
|
|
|
@ -16,6 +16,7 @@ export const TitleBarPicker: SettingsComponent = ({ settings }) => {
|
|||
<Forms.FormText className={Margins.bottom8}>
|
||||
Customize apps title bar. Pick Discord if you want to use Discord's custom title bar. Requires a full restart
|
||||
</Forms.FormText>
|
||||
|
||||
<Select
|
||||
placeholder="Hidden"
|
||||
options={[
|
||||
|
|
Loading…
Reference in a new issue