mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2025-01-01 22:47:19 +03:00
Add window-mode flag
disable FSR Option if borderless enabled
This commit is contained in:
parent
238b6fa132
commit
5f2d532cbb
2 changed files with 2 additions and 2 deletions
|
@ -342,7 +342,7 @@
|
||||||
lang: 'settings.enhancements.wine.items.fsr.tooltip'
|
lang: 'settings.enhancements.wine.items.fsr.tooltip'
|
||||||
}}
|
}}
|
||||||
prop="wine.fsr"
|
prop="wine.fsr"
|
||||||
disabled={winevdSettings['enabled']}
|
disabled={winevdSettings['enabled'] || Configs.get('borderless_window')}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Checkbox
|
<Checkbox
|
||||||
|
|
|
@ -158,7 +158,7 @@ export default (launcher: Launcher): Promise<void> => {
|
||||||
|
|
||||||
const virtual_desktop = await Configs.get('wine.virtual_desktop') as object;
|
const virtual_desktop = await Configs.get('wine.virtual_desktop') as object;
|
||||||
|
|
||||||
let command = `"${path.addSlashes(wineExeutable)}" ${virtual_desktop['enabled'] ? `explorer /desktop=animegame,${virtual_desktop['width']}x${virtual_desktop['height']}` : ''} ${await Configs.get('fps_unlocker') ? 'unlockfps.bat' : 'launcher.bat'} ${await Configs.get('borderless_window') ? '-screen-fullscreen 0 -popupwindow' : ''}`;
|
let command = `"${path.addSlashes(wineExeutable)}" ${virtual_desktop['enabled'] ? `explorer /desktop=animegame,${virtual_desktop['width']}x${virtual_desktop['height']}` : ''} ${await Configs.get('fps_unlocker') ? 'unlockfps.bat' : 'launcher.bat'} ${await Configs.get('borderless_window') ? '-screen-fullscreen 0 -popupwindow' : ''} ${await Configs.get('wine.fsr') ? '-window-mode exclusive' : ''}`;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gamemode integration
|
* Gamemode integration
|
||||||
|
|
Loading…
Reference in a new issue