mtkennerly / shawl

Windows service wrapper for arbitrary commands

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

adding version to shawl.exe properties

dreamflow opened this issue · comments

hi , i'm a user of shawl.exe .

could please the version of shawl be added to the shawl.exe properties
like on the picture below .
this would make it easier to manually and programatically
see the different shawl.exe versions on different machines ,
where shawl is installed on .

shawl exe properties with version

Sure, that sounds like a good idea 👍

Looks like it's not possible to include those properties in the exectuable while this is still open: rust-lang/rfcs#721

@mklinke From what I see that can be done using the cargo build script embed-resource.`

I went with winres since it seemed more straightforward:

image

Great :)

thank you @mtkennerly for implementing this feature
and thank you all others in this thread .

i'm already making use of this feature in my application
and can confirm that it's super easy now to programatically
read the shawl.exe version .

for those interessed , now i read the shawl.exe version
with a one-liner in AutoIt
FileGetVersion( '...path_to...\shawl.exe' , 'ProductVersion' )