fix(desktop): propagate deno.json version and license into packaged installers (#36577)
Fixes #36503.
Every desktop packaging path hard-coded its metadata: the macOS bundle
always claimed `CFBundleVersion` 1.0.0, the `.deb`/`.rpm`/`.msi`
installers always claimed version 1.0.0, and the `.rpm` License tag
always said MIT regardless of the project's actual license.
The workspace root deno.json `version` field (already baked into the
binary as `app_version` for auto-update) now feeds the macOS Info.plist,
`.deb`, `.rpm` and `.msi` versions, and its `license` field (when a
string) feeds the `.rpm` License tag. Format quirks are handled per
packager:
- deb/rpm: semver prerelease `-` maps to `~` (both formats order `~`
before the release, matching semver intent);
- MSI: reduced to the numeric `major.minor.build` `ProductVersion` form
it requires (prerelease/build suffixes dropped);
- plist: carried verbatim.
Defaults are unchanged when nothing is configured. There's no standard
deno.json field for authors/maintainer, so the `.deb` Maintainer /
`.rpm` Vendor stay synthesized from the app name — if that matters to
the reporter it'd need a new config field, which can be a follow-up.
Covered by a new test building an actual `.rpm` with a configured
version + license, plus `msi_product_version` edge cases; all existing
packaging tests pass unchanged (defaults preserved).