NevermindNilas / TheAnimeScripter

Welcome to TheAnimeScripter – the ultimate tool for Video Upscaling, Interpolating and many more. Available as a CLI, GUI and Adobe Extension.
GNU Affero General Public License v3.0
83 stars 1 forks source link

GUI: Use alternative way to start command than by doing it directly via `cmd` #38

Closed przemoc closed 2 months ago

przemoc commented 2 months ago

Starting via cmd does not work when user uses Legacy Console mode as has been discussed in:

For Windows 10+ users Windows Terminal is possibly predominantly available nowadays (but I don't remember if it was preinstalled from the get go), so using wt cmd instead of cmd may be good enough solution for everyone.

There may be some better ways, but that would possibly require some research.

NevermindNilas commented 2 months ago

WT should only be preinstalled on W11 afaik and a huge portion of the user base is still on W10.

But if it is that easy maybe a try / except could technically work. Will look into it tomorrow.

NevermindNilas commented 2 months ago

Fixed with: https://github.com/NevermindNilas/TheAnimeScripter/commit/afb5d22404dbec4c028ee04420d74a5e258868df

image image

TAS will now dynamically switch between whichever terminal is present with preference for WT for the added benefits of better visuals.