Closed DiegcD closed 1 month ago
The error (from stable) indicates that your settings file is not in the directory the script expects it to be.
May I suggest looking if the settings.json exists in one of following directories:
Terminal (stable / general release):
%LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json
Terminal (preview release): - %LOCALAPPDATA%\Packages\Microsoft.WindowsTerminalPreview_8wekyb3d8bbwe\LocalState\settings.json
Terminal (unpackaged: Scoop, Chocolately, etc): %LOCALAPPDATA%\Microsoft\Windows Terminal\settings.json
according to stackoverflow and microsoft learn
The error (from stable) indicates that your settings file is not in the directory the script expects it to be.
May I suggest looking if the settings.json exists in one of following directories:
Terminal (stable / general release):
* `%LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json` Terminal (preview release): - `%LOCALAPPDATA%\Packages\Microsoft.WindowsTerminalPreview_8wekyb3d8bbwe\LocalState\settings.json` Terminal (unpackaged: Scoop, Chocolately, etc): * `%LOCALAPPDATA%\Microsoft\Windows Terminal\settings.json`
according to stackoverflow and microsoft learn
The file is not there in any of those locations, I don't have those folders.
@MyDrift-user I used everything search and it didn't find a settings.json file related to any terminal folder. Only from other software I have installed. The file doesn't exist on my system.
You seem to have the standard terminal application set to windows console host. Have you uninstalled the terminal? Terminal in question:
The default/required Win11 a Terminal app can be installed via winutil and is called "Windows Terminal" on the application page. Alternatively you have to start "pwsh" instead of "Powershell" to use the Powershell 7.
You seem to have the standard terminal application set to windows console host. Have you uninstalled the terminal? Terminal in question:
I did not delete it. My windows iso was created by microwin and i have windows terminal on system32 folder
The default/required Win11 a Terminal app can be installed via winutil and is called "Windows Terminal" on the application page. Alternatively you have to start "pwsh" instead of "Powershell" to use the Powershell 7.
I have the default terminal on system32
Interesting, I think microwin is the culprit again. Nevertheless, could you try uninstalling, reinstalling the windows terminal app and then rerunning the tweak :) Would be nice to know if a clean terminal app installation fixes the problem
This issue was marked as stale because it has been inactive for 7 days
This issue was closed because it has been inactive for 7 days since it was marked as stale
Describe the bug
Today I tried with dev branch and stable branch, neither works. I used the tweak to change powershell and it doesn't work, Windows still uses powershell 5 as default. When executing the tweak the powershell status displays:
Dev branch shows
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Executing $PSVersionTable should show Powershell 7
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Windows 11 23h2 64bits