vanBassum / Wakatime.Unity

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

Every heartbeat opens a 'Windows Terminal' window for a brief moment #8

Closed buger404 closed 1 year ago

buger404 commented 1 year ago

The issue appears again on Windows 11, plugin version 0.1.0. Every heartbeat opens a 'Windows Terminal' window for a brief moment. Same as #5 I think

vanBassum commented 1 year ago

I don't own a Windows 11 pc personally, so reproducing this issue might be challenging. Although I suspect it's related to #5 like you say. I'll try to get my hands on a Windows 11 machine and look into this problem.

It might be best to use a git package that is natively supported by .net instead of running a process in the background.

buger404 commented 1 year ago

Thank you for taking a look! Hope this wouldn't bother you too much :)

vanBassum commented 1 year ago

I did get my hands on a Windows 11 pc although I wasn't able to reproduce this problem. Just to see if GIT is the source of the problem I added an option that allows you to disable GIT. Would you mind giving this a try?

buger404 commented 1 year ago

I had a try just now. The problem was solved after disable GIT.

buger404 commented 1 year ago

I tried to read the codes and found a solution #9 without disabling GIT.

vanBassum commented 1 year ago

I've merged your pull request. Thanks for the effort

ExerciseBook commented 1 year ago

hint: cat .git/HEAD

buger404 commented 1 year ago

hint: cat .git/HEAD

wait a second, I'd like to try this way, I'll create a new pull request later.

buger404 commented 1 year ago

I've open a new pull request #10 which tries https://github.com/vanBassum/Wakatime.Unity/issues/8#issuecomment-1407638459