Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ English (US) release notes, mirroring CHANGELOG.md (Brazilian Portuguese). Befor

## [Unreleased]

## [1.6.0-beta.6]
### Heads-up: beta version, not the stable one
- This is a test version of 1.6. The stable version is still 1.5.1, and people on it don't get this update automatically: only those who turned on Settings → "Receive test versions (alpha and beta)" or are already on an alpha/beta. If something breaks, go back to 1.5.1 and report it with the feedback button (attach `consolemode.log`).

### Fixes
- Session menu: after installing ControlFS from the "File explorer" row, the menu stays in front and the row says "Installed · press to open"; ControlFS opens on the next A. Before, it opened by itself behind the game and the menu went away. (#137)

## [1.6.0-beta.5]
### Heads-up: beta version, not the stable one
- This is a test version of 1.6. The stable version is still 1.5.1, and people on it don't get this update automatically: only those who turned on Settings → "Receive test versions (alpha and beta)" or are already on an alpha/beta. If something breaks, go back to 1.5.1 and report it with the feedback button (attach `consolemode.log`).
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ Notas em português do Brasil; a versão em inglês (Estados Unidos) fica em `CH

## [Unreleased]

## [1.6.0-beta.6]
### Atenção: versão beta, não é a estável
- Esta é uma versão de teste da 1.6. A versão estável continua sendo a 1.5.1, e quem está nela não recebe esta atualização automaticamente: só quem ligou Ajustes → "Receber versões de teste (alpha e beta)" ou já está numa alpha/beta. Se algo falhar, volte para a 1.5.1 e conte pelo botão de feedback (anexe o `consolemode.log`).

### Correções
- Menu da sessão: depois de instalar o ControlFS pela linha "Explorador de arquivos", o menu continua na frente e a linha diz "Instalado · aperte para abrir"; o ControlFS abre no próximo A. Antes ele abria sozinho atrás do jogo e o menu sumia. (#137)

## [1.6.0-beta.5]
### Atenção: versão beta, não é a estável
- Esta é uma versão de teste da 1.6. A versão estável continua sendo a 1.5.1, e quem está nela não recebe esta atualização automaticamente: só quem ligou Ajustes → "Receber versões de teste (alpha e beta)" ou já está numa alpha/beta. Se algo falhar, volte para a 1.5.1 e conte pelo botão de feedback (anexe o `consolemode.log`).
Expand Down
2 changes: 1 addition & 1 deletion docs/TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ Pré-condição: ControlFS instalado (https://github.com/nextestudios/ControlFS)
- [ ] Com o ControlFS já aberto: A só o traz para a frente (não abre uma segunda instância). Resultado: ______
- [ ] A sessão **não** termina nem restaura a mesa enquanto o ControlFS está na frente; ao sair dele (Menu do ControlFS → Sair) volta-se ao jogo. Resultado: ______
- [ ] Select + Y com o ControlFS na frente abre o menu por cima dele (saída de emergência). Resultado: ______
- [ ] **Instalar pelo menu** (desinstale o ControlFS antes): a linha diz "Não instalado · aperte para baixar e instalar". A começa o download: a linha mostra "Baixando… N%" com a barra enchendo, depois "Instalando…" com a barra em movimento, sem nenhuma janela de instalador nem pedido de administrador. Ao terminar, o menu fecha e o ControlFS abre em tela cheia na tela da sessão. Resultado: ______
- [ ] **Instalar pelo menu** (desinstale o ControlFS antes): a linha diz "Não instalado · aperte para baixar e instalar". A começa o download: a linha mostra "Baixando… N%" com a barra enchendo, depois "Instalando…" com a barra em movimento, sem nenhuma janela de instalador nem pedido de administrador. Ao terminar, o menu continua aberto na frente e a linha diz "Instalado · aperte para abrir"; o ControlFS **não** abre sozinho. O A seguinte abre o ControlFS em tela cheia na tela da sessão, já na frente. Resultado: ______
- [ ] Durante o download o menu continua respondendo (direcional, volume); apertar A de novo na linha não começa um segundo download. Resultado: ______
- [ ] Fechar o menu durante a instalação: ela termina em segundo plano e o ControlFS **não** abre por cima do jogo; ao reabrir o menu a linha já diz "Navegue pelos seus arquivos com o controle". Resultado: ______
- [ ] Sem internet (cabo/Wi-Fi desligado): A na linha mostra "Não deu para instalar · aperte para abrir a página de download" e o log registra `ControlFS: instalar: ...`; o A seguinte abre a página de releases no navegador. Reabrindo o menu, a linha volta a oferecer a instalação. Resultado: ______
Expand Down
4 changes: 2 additions & 2 deletions src/ConsoleMode/ConsoleMode.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion>
<Platform Condition="'$(Platform)' == ''">x64</Platform>
<Version>1.6.0-beta.5</Version>
<Version>1.6.0-beta.6</Version>
<AssemblyVersion>1.6.0.0</AssemblyVersion>
<FileVersion>1.6.0.0</FileVersion>
<InformationalVersion>1.6.0-beta.5</InformationalVersion>
<InformationalVersion>1.6.0-beta.6</InformationalVersion>
<AssemblyTitle>Console Mode</AssemblyTitle>
<Product>Console Mode</Product>
<Authors>lippdev</Authors>
Expand Down
1 change: 1 addition & 0 deletions src/ConsoleMode/Resources/Strings.en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
"ControlFsDownloading": "Downloading… {0}%",
"ControlFsInstalling": "Installing…",
"ControlFsInstallFailed": "Couldn't install · press to open the download page",
"ControlFsInstalled": "Installed · press to open",
"ControlFsMissingNote": "ControlFS is not installed. Opening its download page in the browser.",
"SessionWindowsCard": "Windows",
"SessionWindowsCount": "{0} open",
Expand Down
1 change: 1 addition & 0 deletions src/ConsoleMode/Resources/Strings.es-ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
"ControlFsDownloading": "Descargando… {0}%",
"ControlFsInstalling": "Instalando…",
"ControlFsInstallFailed": "No se pudo instalar · pulsa para abrir la página de descarga",
"ControlFsInstalled": "Instalado · pulsa para abrir",
"ControlFsMissingNote": "ControlFS no está instalado. Abriendo su página de descarga en el navegador.",
"SessionWindowsCard": "Ventanas",
"SessionWindowsCount": "{0} abiertas",
Expand Down
1 change: 1 addition & 0 deletions src/ConsoleMode/Resources/Strings.pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
"ControlFsDownloading": "Baixando… {0}%",
"ControlFsInstalling": "Instalando…",
"ControlFsInstallFailed": "Não deu para instalar · aperte para abrir a página de download",
"ControlFsInstalled": "Instalado · aperte para abrir",
"ControlFsMissingNote": "O ControlFS não está instalado. Abrindo a página de download no navegador.",
"SessionWindowsCard": "Janelas",
"SessionWindowsCount": "{0} abertas",
Expand Down
1 change: 1 addition & 0 deletions src/ConsoleMode/Services/LocalizationService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ internal void NotifyAll()
public string ControlFsMissing => LocalizationService.Get(nameof(ControlFsMissing));
public string ControlFsInstalling => LocalizationService.Get(nameof(ControlFsInstalling));
public string ControlFsInstallFailed => LocalizationService.Get(nameof(ControlFsInstallFailed));
public string ControlFsInstalled => LocalizationService.Get(nameof(ControlFsInstalled));
public string SessionWindowsCard => LocalizationService.Get(nameof(SessionWindowsCard));
public string SwitcherEmpty => LocalizationService.Get(nameof(SwitcherEmpty));
public string SwitcherOpen => LocalizationService.Get(nameof(SwitcherOpen));
Expand Down
11 changes: 8 additions & 3 deletions src/ConsoleMode/ViewModels/MainViewModel.SessionMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ public void ToggleSessionMenu()
ControlFsInstalled = ControlFsService.FindExe() is not null;
// A failed install is offered again each time the menu opens (the connection may be back).
if (!ControlFsInstalling) ControlFsInstallFailed = false;
ControlFsJustInstalled = false;
RefreshSessionHeader();
StartSessionClock();
_sessionMenu.Activate();
Expand Down Expand Up @@ -323,10 +324,13 @@ private async Task RunSessionActionAsync(Action action)
[ObservableProperty, NotifyPropertyChangedFor(nameof(ControlFsRowText))] private bool _controlFsSetupRunning;
/// <summary>The install failed: the row says so and the next press opens the download page instead.</summary>
[ObservableProperty, NotifyPropertyChangedFor(nameof(ControlFsRowText))] private bool _controlFsInstallFailed;
/// <summary>Installed from the row while this menu was open: the row says it is ready to open.</summary>
[ObservableProperty, NotifyPropertyChangedFor(nameof(ControlFsRowText))] private bool _controlFsJustInstalled;

public string ControlFsRowText =>
ControlFsSetupRunning ? Texts.ControlFsInstalling
: ControlFsInstalling ? LocalizationService.Get("ControlFsDownloading", (int)ControlFsProgress)
: ControlFsJustInstalled ? Texts.ControlFsInstalled
: ControlFsInstalled ? Texts.ControlFsOpen
: ControlFsInstallFailed ? Texts.ControlFsInstallFailed
: Texts.ControlFsMissing;
Expand All @@ -335,7 +339,7 @@ private async Task RunSessionActionAsync(Action action)
/// <summary>
/// The pinned "File explorer (ControlFS)" row: the menu closes and ControlFS (a separate app, controller-first)
/// opens or comes to the front. Without it installed, the same press downloads and installs it (the row shows
/// the progress) and then opens it; if that fails, the next press opens its download page. Outside a session it
/// the progress) and the next press opens it; if that fails, the next press opens its download page. Outside a session it
/// works the same, so it can be tried in the preview.
/// </summary>
[RelayCommand]
Expand Down Expand Up @@ -376,6 +380,7 @@ private async Task InstallControlFsAsync()
await Task.Run(() => ControlFsInstaller.InstallAsync(progress));
AppLog.Write("ControlFS: instalado");
ControlFsInstalled = true;
ControlFsJustInstalled = true;
}
catch (Exception ex)
{
Expand All @@ -387,8 +392,8 @@ private async Task InstallControlFsAsync()
ControlFsSetupRunning = false;
ControlFsInstalling = false;
}
// Open it only if the menu that asked is still there: never pop it over a game the user went back to.
if (ControlFsInstalled && IsSessionMenuOpen) OpenControlFs();
// Not opened from here: by now the menu may have lost the foreground (or be gone), and ControlFS would come up
// behind the game. The row says it is installed; the next A opens it like any other time.
}

[RelayCommand]
Expand Down
Loading