mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-12-20 17:01:47 +03:00
Merge branch 'borderless' into 'main'
borderless window setting See merge request KRypt0n_/an-anime-game-launcher!35
This commit is contained in:
commit
cb82b7a17d
13 changed files with 89 additions and 3 deletions
|
@ -125,6 +125,13 @@ settings:
|
|||
enhancements:
|
||||
title: Verbesserungen
|
||||
items:
|
||||
|
||||
# Borderless Window
|
||||
borderless_window:
|
||||
title: Allow borderless window
|
||||
tooltip: Removes the window borders when playing in windowed mode.
|
||||
To play in a fullscreen borderless window, press alt+enter when playing on fullscreen.
|
||||
|
||||
# HUD
|
||||
hud:
|
||||
title: HUD
|
||||
|
|
|
@ -125,6 +125,13 @@ settings:
|
|||
enhancements:
|
||||
title: Enhancements
|
||||
items:
|
||||
|
||||
# Borderless Window
|
||||
borderless_window:
|
||||
title: Allow borderless window
|
||||
tooltip: Removes the window borders when playing in windowed mode.
|
||||
To play in a fullscreen borderless window, press alt+enter when playing on fullscreen.
|
||||
|
||||
# HUD
|
||||
hud:
|
||||
title: HUD
|
||||
|
|
|
@ -125,6 +125,13 @@ settings:
|
|||
enhancements:
|
||||
title: Mejoras
|
||||
items:
|
||||
|
||||
# Ventana sin bordes
|
||||
borderless_window:
|
||||
title: Permitir ventana sin bordes
|
||||
tooltip: Eliminar los bordes cuando se juega en modo ventana
|
||||
Para jugar a pantalla completa sin bordes, debes presionar alt+enter cuando estés en pantalla completa
|
||||
|
||||
# HUD
|
||||
hud:
|
||||
title: HUD
|
||||
|
|
|
@ -127,6 +127,13 @@ settings:
|
|||
enhancements:
|
||||
title: Améliorations
|
||||
items:
|
||||
|
||||
# Borderless Window
|
||||
borderless_window:
|
||||
title: Allow borderless window
|
||||
tooltip: Removes the window borders when playing in windowed mode.
|
||||
To play in a fullscreen borderless window, press alt+enter when playing on fullscreen.
|
||||
|
||||
# HUD
|
||||
hud:
|
||||
title: Interface
|
||||
|
|
|
@ -125,6 +125,13 @@ settings:
|
|||
enhancements:
|
||||
title: Fejlesztések
|
||||
items:
|
||||
|
||||
# Borderless Window
|
||||
borderless_window:
|
||||
title: Allow borderless window
|
||||
tooltip: Removes the window borders when playing in windowed mode.
|
||||
To play in a fullscreen borderless window, press alt+enter when playing on fullscreen.
|
||||
|
||||
# HUD
|
||||
hud:
|
||||
title: HUD
|
||||
|
|
|
@ -124,6 +124,13 @@ settings:
|
|||
enhancements:
|
||||
title: Peningkatan
|
||||
items:
|
||||
|
||||
# Borderless Window
|
||||
borderless_window:
|
||||
title: Allow borderless window
|
||||
tooltip: Removes the window borders when playing in windowed mode.
|
||||
To play in a fullscreen borderless window, press alt+enter when playing on fullscreen.
|
||||
|
||||
# HUD
|
||||
hud:
|
||||
title: HUD
|
||||
|
|
|
@ -124,6 +124,13 @@ settings:
|
|||
enhancements:
|
||||
title: Miglioramenti
|
||||
items:
|
||||
|
||||
# Borderless Window
|
||||
borderless_window:
|
||||
title: Allow borderless window
|
||||
tooltip: Removes the window borders when playing in windowed mode.
|
||||
To play in a fullscreen borderless window, press alt+enter when playing on fullscreen.
|
||||
|
||||
# HUD
|
||||
hud:
|
||||
title: Interfaccia
|
||||
|
|
|
@ -125,6 +125,13 @@ settings:
|
|||
enhancements:
|
||||
title: Forbedringer
|
||||
items:
|
||||
|
||||
# Borderless Window
|
||||
borderless_window:
|
||||
title: Allow borderless window
|
||||
tooltip: Removes the window borders when playing in windowed mode.
|
||||
To play in a fullscreen borderless window, press alt+enter when playing on fullscreen.
|
||||
|
||||
# HUD
|
||||
hud:
|
||||
title: HUD
|
||||
|
|
|
@ -125,6 +125,13 @@ settings:
|
|||
enhancements:
|
||||
title: Улучшения
|
||||
items:
|
||||
|
||||
# Borderless Window
|
||||
borderless_window:
|
||||
title: Allow borderless window
|
||||
tooltip: Removes the window borders when playing in windowed mode.
|
||||
To play in a fullscreen borderless window, press alt+enter when playing on fullscreen.
|
||||
|
||||
# HUD
|
||||
hud:
|
||||
title: HUD
|
||||
|
|
|
@ -125,6 +125,13 @@ settings:
|
|||
enhancements:
|
||||
title: enhancements
|
||||
items:
|
||||
|
||||
# Borderless Window
|
||||
borderless_window:
|
||||
title: allow bowdewless window
|
||||
tooltip: wemoves the window bowders when playing in windowed mode.
|
||||
to play in a f-fullscween bowdewless window, press alt+entew when playing on fullscween ପ(๑•ᴗ•๑)ଓ.
|
||||
|
||||
# HUD
|
||||
hud:
|
||||
title: h-hud
|
||||
|
|
|
@ -63,10 +63,20 @@ export default new Promise<void>(async (resolve) => {
|
|||
*
|
||||
* Can be "system", "light" and "dark"
|
||||
*
|
||||
* @defaul "system"
|
||||
* @default "system"
|
||||
*/
|
||||
theme: 'system',
|
||||
|
||||
/**
|
||||
* Allow Borderless Window
|
||||
*
|
||||
* Whether the game launches with the parameters "-screen-fullscreen 0 -popupwindow"
|
||||
* This allows the game to be played in a borderless window by selecting fullscreen and pressing alt+enter
|
||||
*
|
||||
* @default false
|
||||
*/
|
||||
borderless_window: false,
|
||||
|
||||
/**
|
||||
* HUD
|
||||
*
|
||||
|
@ -85,7 +95,7 @@ export default new Promise<void>(async (resolve) => {
|
|||
*
|
||||
* Available options: none, esync, fsync
|
||||
*
|
||||
* @defaul "esync"
|
||||
* @default "esync"
|
||||
*/
|
||||
sync: 'esync',
|
||||
|
||||
|
|
|
@ -302,6 +302,12 @@
|
|||
<div class="settings-item" id="enhancements">
|
||||
<h1>{$_('settings.enhancements.title')}</h1>
|
||||
|
||||
<Checkbox
|
||||
lang="settings.enhancements.items.borderless_window.title"
|
||||
tooltip="settings.enhancements.items.borderless_window.tooltip"
|
||||
prop="borderless_window"
|
||||
/>
|
||||
|
||||
<SelectionBox
|
||||
lang="settings.enhancements.items.hud.title"
|
||||
prop="hud"
|
||||
|
|
|
@ -149,7 +149,7 @@ export default (launcher: Launcher): Promise<void> => {
|
|||
|
||||
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'}`;
|
||||
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' : ''}`;
|
||||
|
||||
/**
|
||||
* Gamemode integration
|
||||
|
|
Loading…
Reference in a new issue