Closed Razoric480 closed 4 years ago
For issue purposes, uname on Git bash gives the string:
MINGW64_NT-10.0-18363 PaleRazor 3.0.7-338.x86_64 2019-11-21 23:07 UTC x86_64 Msys
cut should be able to grab the part before - but the shell might have an issue with the hyphen on windows. I'll process it with grep I guess
Ah actually you have Msys, it's just at the end for some reason. I'll try something
Okay this should work, hopefully. My previous code had a syntax error. But I changed it to avoid cutting on some weird uname
output that would fail
Was a fix pushed or still in progress? I just tried with latest master and it still reports the same error.
I tried a fix in the last commit but seems it didn't work. I just pushed another one. In case it wouldn't work, it's line 82:
platform="$(uname | tr '[:upper:]' '[:lower:]' | cut -d- -f 1)"
Could you check that it outputs mingw64_nt
? There might be something with the syntax of cut -d- -f1
, I don't know.
Successfully installed Krita Batch Exporter in C:\Users\razor\AppData\Roaming/krita/pykrita/krita_batch_exporter
:)
And I can confirm the files are in there.
!!! Thanks for testing this :)
It does not pick up windows as the environment, but mingw64.
I don't have WRT so I can't test what it says there.
(Note: to test this I had to edit the script to saypython
instead ofpython3
, see #35)