So far it hasn’t complained yet. :side:
Old HDD drives don’t like having their power cut off like that, but modern SSDs don’t really care.
If you're running an Rpi4 or 5 with a SD card this method has be known to corrupt the SD card. Ca n leave files open and prevents the OS from doing some "clean up" housework.
You can configure the desktop to start shutdown by pressing the ON\OFF switch on the PC or ask you if you want to shutdown, should be under Power Preferences.