gabrielrobert / xavtool

Xplat Automating Version Tool
https://gabrielrobert.github.io/xavtool/
MIT License
35 stars 2 forks source link

Current command #10

Closed jerone closed 6 years ago

jerone commented 6 years ago

The current command is not consistent in returning the value. Currently it returns...

My suggestion is to make this consistent for both platforms. And return both values (version and friendly version name).

(Windows has only one version type)

gabrielrobert commented 6 years ago

Example:

1.0.1 [1000100] - com.example.xavtool (test\AndroidManifest.xml)
1.0.1 [1.0.1] - xavtool (test\Info.plist)
1.0.1.0 [---] - xavtool (test\Package.appxmanifest)

Format: "%Version [%InternalVersion] - %Name (%Path)"

Reopen it if you have another idea @jerone :)

It will be part of 1.2.0. Code is here -> #16

jerone commented 6 years ago

I've not been able to install the development version, but what you suggest here looks great!

What about aligning the values (not sure about it)...

1.0.1   [1000100] - com.example.xavtool (test\AndroidManifest.xml)
1.0.1   [1.0.1]   - xavtool (test\Info.plist)
1.0.1.0 [---]     - xavtool (test\Package.appxmanifest)
jerone commented 6 years ago

Not sure if this is also fixed by #16, but I also noticed an inconsistency with %name; sometimes the display name is used (e.g. for iOS) and for the rest the package identifier is used.