TheAshenWolf / WakaTimeForUE

As all the other versions of Wakatime plugins for Unreal Engine lead to blank repos, I decided to make a plugin that actually has some code in it. I am no longer working on this plugin, but the community is, so feel free to contribute!
MIT License
45 stars 11 forks source link

it's working, however there's something else failing after we check for whether `wakatime` exists #9

Closed simonSlamka closed 3 years ago

simonSlamka commented 3 years ago

I believe that we should call the binary directly and without the use of cmd, just like we would in Linux.

Please test this before merging, as it crashes my engine, so just in case.

The problem is very likely with the use of cmd. We need to figure out a way around it. Perhaps just use system or the Windows native APIs to call the binary directly every time we want to push a heartbeat out. This way it would work basically on the same principle as Linux wakatime extensions.

I found out that the root of the problem is not with cmd, however all should be working with the latest commit, including the changed config file.