tc-hib / go-winres

Command line tool for adding Windows resources to executable files
BSD Zero Clause License
319 stars 16 forks source link

feature request: `--in-dir` and `--out-dir` #14

Closed jxsl13 closed 1 year ago

jxsl13 commented 1 year ago

allow to pass a root directory where the application starts looking for all of its files.

default value would be . (current directory)

go run github.com/tc-hib/go-winres@latest make --product-version=git-tag --in-dir "./cmd/my-application" would then start tro look for winres/winres.json in ./cmd/my-application (= ./cmd/my-application/winres/winres.json )

--out-dir would allow to put the resulting files in the specified directory and not in the current working directory. By default it might be set to . as well.

go run github.com/tc-hib/go-winres@latest make --product-version=git-tag --in-dir "./cmd/my-application" --out-dir "./cmd/my-application" would put the resulting files into --out-dir