vanBassum / Wakatime.Unity

A Wakatime plugin for Unity
MIT License
41 stars 7 forks source link

Continuous appearance and disappearance of terminal windows #15

Closed AytoMaximo closed 9 months ago

AytoMaximo commented 1 year ago

I use Windows 11 and Unity 2021.3.20f1. When the plugin attempts to send something to the server, it calls a CLI command program. I notice a lot of terminal windows appearing and disappearing quickly, which is really disrupting my work. How can I fix this?

vanBassum commented 1 year ago

This issue has occurred before and fixed before, do you have the latest main?

AytoMaximo commented 1 year ago

This issue has occurred before and fixed before, do you have the latest main?

Yes, I'm sure I'm using the latest version. I've never used this plugin before, so I discovered it on the same day that I wrote this issue. First, I installed it by adding the Git URL to the package manager, so it should have automatically downloaded the latest version. However, I then encountered the problem I described. I attempted to download the repository manually and put it in the assets folder so that I could edit the code (which is not possible if the plugin exists in packages), but I was unable to fix it properly.

vanBassum commented 1 year ago

I'll see if I can fix the issue once I find the time to get around to this. In the meantime, here is all the information that was collected so far for this issue.

I was already afraid this would happen before I created the Wakatime CLI implementation.

For more information and things we have tried before, see:

If you want to try fixing this yourself, the following file is probably where you can find the issue:

This code is based on the example given by Wakatime:

Of course, If you have any questions, I'm glad to help you.

vanBassum commented 1 year ago

@AytoMaximo I can't reproduce this issue on my windows 10 system. I should try this again on a windows 11 system. I did however add another field to the process runner that might help. Would you mind trying this?

vanBassum commented 9 months ago

Merged the fix from @Kryeker to the main