197 Commits
Author SHA1 Message Date
dependabot[bot] e95698dd8d chore: bump dsanders11/project-actions from 1.7.0 to 2.0.0 (#183)
Bumps [dsanders11/project-actions](https://github.com/dsanders11/project-actions) from 1.7.0 to 2.0.0.
- [Release notes](https://github.com/dsanders11/project-actions/releases)
- [Commits](https://github.com/dsanders11/project-actions/compare/2134fe7cc71c58b7ae259c82a8e63c6058255678...5767984408ccc6742f83acc8b8d8ea5e09f329af)

---
updated-dependencies:
- dependency-name: dsanders11/project-actions
  dependency-version: 2.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-31 23:23:54 -07:00
dependabot[bot] acadee1941 chore: bump actions/download-artifact from 7.0.0 to 8.0.0 (#178)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 7.0.0 to 8.0.0.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/37930b1c2abaa49bbe596cd826c3c89aef350131...70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: 8.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-12 21:55:26 -07:00
dependabot[bot] 004ab2ecfb chore: bump actions/upload-artifact from 6.0.0 to 7.0.0 (#179)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6.0.0 to 7.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/b7c566a772e6b6bfb58ed0dc250532a479d7789f...bbbca2ddaa5d8feaa63e36b76fdaad77386f024f)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-12 21:54:35 -07:00
dependabot[bot] 3ff5efbf3c chore: bump actions/checkout from 6.0.1 to 6.0.2 (#177)
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/8e8c483db84b4bee98b60c0593521ed34d9990e8...de0fac2e4500dabe0009e67214ff5f5447ce83dd)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-31 21:40:37 -08:00
dependabot[bot] 7363128fbb chore: bump electron/github-app-auth-action from 1.1.1 to 2.0.0 (#176)
Bumps [electron/github-app-auth-action](https://github.com/electron/github-app-auth-action) from 1.1.1 to 2.0.0.
- [Release notes](https://github.com/electron/github-app-auth-action/releases)
- [Commits](https://github.com/electron/github-app-auth-action/compare/384fd19694fe7b6dcc9a684746c6976ad78228ae...e14e47722ed120360649d0789e25b9baece12725)

---
updated-dependencies:
- dependency-name: electron/github-app-auth-action
  dependency-version: 2.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-31 21:38:05 -08:00
dependabot[bot] 4e82e9ea79 chore: bump actions/download-artifact from 6.0.0 to 7.0.0 (#175) 2026-01-02 13:02:24 +00:00
dependabot[bot] ea2555f04d chore: bump actions/upload-artifact from 5.0.0 to 6.0.0 (#173)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/330a01c490aca151604b8cf639adc76d48f6c5d4...b7c566a772e6b6bfb58ed0dc250532a479d7789f)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-02 08:00:15 -05:00
dependabot[bot] a13150faeb chore: bump actions/checkout from 6.0.0 to 6.0.1 (#174)
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/1af3b93b6815bc44a9784bd300feb67ff0d1eeb3...8e8c483db84b4bee98b60c0593521ed34d9990e8)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-02 07:59:53 -05:00
dependabot[bot] 612613d83f chore: bump actions/checkout from 5.0.0 to 6.0.0 (#172)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/08c6903cd8c0fde910a37f88322edcfb5dd907a8...1af3b93b6815bc44a9784bd300feb67ff0d1eeb3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-01 11:26:14 -08:00
dependabot[bot] 086de8cfa0 chore: bump actions/download-artifact from 5.0.0 to 6.0.0 (#170)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/634f93cb2916e3fdff6788551b99b062d0335ce0...018cc2cf5baa6db3ef3c5f8a56943fffe632ef53)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-03 17:48:43 -08:00
dependabot[bot] 4d0d543ff6 chore: bump actions/upload-artifact from 4.6.2 to 5.0.0 (#169)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.6.2 to 5.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/ea165f8d65b6e75b540449e92b4886f43607fa02...330a01c490aca151604b8cf639adc76d48f6c5d4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-31 23:57:11 -07:00
dependabot[bot] 40667ffeae chore: bump amannn/action-semantic-pull-request from 5.5.3 to 6.1.1 (#167)
Bumps [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request) from 5.5.3 to 6.1.1.
- [Release notes](https://github.com/amannn/action-semantic-pull-request/releases)
- [Changelog](https://github.com/amannn/action-semantic-pull-request/blob/main/CHANGELOG.md)
- [Commits](https://github.com/amannn/action-semantic-pull-request/compare/0723387faaf9b38adef4775cd42cfd5155ed6017...48f256284bd46cdaab1048c3721360e808335d50)

---
updated-dependencies:
- dependency-name: amannn/action-semantic-pull-request
  dependency-version: 6.1.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-01 22:11:46 -07:00
dependabot[bot] 47e05b3169 chore: bump actions/download-artifact from 4.3.0 to 5.0.0 (#165)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4.3.0 to 5.0.0.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/d3f86a106a0bac45b974a628896c90dbdf5c8093...634f93cb2916e3fdff6788551b99b062d0335ce0)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-01 13:33:01 -07:00
dependabot[bot] 20b8b04597 chore: bump actions/checkout from 4.2.2 to 5.0.0 (#166)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.2 to 5.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/11bd71901bbe5b1630ceea73d27597364c9af683...08c6903cd8c0fde910a37f88322edcfb5dd907a8)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-01 13:27:45 -07:00
Will Anderson 89caddde11 docs: Update build instructions to match CI (#164) 2025-08-25 17:47:36 -07:00
dependabot[bot] 73e7570923 chore: bump actions/download-artifact from 4.2.1 to 4.3.0 (#160)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4.2.1 to 4.3.0.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/95815c38cf2ff2164869cbab79da8d1f422bc89e...d3f86a106a0bac45b974a628896c90dbdf5c8093)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: 4.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-01 00:20:35 -07:00
dependabot[bot] 1d1bb83160 chore: bump dsanders11/project-actions from 1.5.1 to 1.7.0 (#158)
Bumps [dsanders11/project-actions](https://github.com/dsanders11/project-actions) from 1.5.1 to 1.7.0.
- [Release notes](https://github.com/dsanders11/project-actions/releases)
- [Changelog](https://github.com/dsanders11/project-actions/blob/main/.releaserc.json)
- [Commits](https://github.com/dsanders11/project-actions/compare/9c80cd31f58599941c64f74636bea95ba5d46090...2134fe7cc71c58b7ae259c82a8e63c6058255678)

---
updated-dependencies:
- dependency-name: dsanders11/project-actions
  dependency-version: 1.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-31 23:11:11 -07:00
dependabot[bot] a3e0521025 chore: bump actions/upload-artifact from 4.6.1 to 4.6.2 (#157)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.6.1 to 4.6.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1...ea165f8d65b6e75b540449e92b4886f43607fa02)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: 4.6.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-31 23:11:01 -07:00
dependabot[bot] eabbeb5ae1 chore: bump actions/download-artifact from 4.1.9 to 4.2.1 (#156)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4.1.9 to 4.2.1.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/cc203385981b70ca67e1cc392babf9cc229d5806...95815c38cf2ff2164869cbab79da8d1f422bc89e)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: 4.2.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-31 23:08:30 -07:00
dependabot[bot] 145b0785ab chore: bump actions/download-artifact from 4.1.8 to 4.1.9 (#154)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4.1.8 to 4.1.9.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/fa0a91b85d4f404e444e00e005971372dc801d16...cc203385981b70ca67e1cc392babf9cc229d5806)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-01 00:16:59 -08:00
dependabot[bot] 554d492b78 chore: bump actions/upload-artifact from 4.6.0 to 4.6.1 (#155)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.6.0 to 4.6.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08...4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-28 22:48:56 -08:00
dependabot[bot] 343381add4 chore: bump actions/upload-artifact from 4.5.0 to 4.6.0 (#151)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/6f51ac03b9356f520e9adb1b1b7802705f340c2b...65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-01 00:55:32 -08:00
dependabot[bot] 0bfeb33867 chore: bump dsanders11/project-actions from 1.4.0 to 1.5.1 (#150)
Bumps [dsanders11/project-actions](https://github.com/dsanders11/project-actions) from 1.4.0 to 1.5.1.
- [Release notes](https://github.com/dsanders11/project-actions/releases)
- [Changelog](https://github.com/dsanders11/project-actions/blob/main/.releaserc.json)
- [Commits](https://github.com/dsanders11/project-actions/compare/438b25e007c2f4efec324497fadc6402e7cc61a6...9c80cd31f58599941c64f74636bea95ba5d46090)

---
updated-dependencies:
- dependency-name: dsanders11/project-actions
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-31 22:34:36 -08:00
dependabot[bot] 205dce4755 chore: bump actions/upload-artifact from 4.4.3 to 4.5.0 (#149)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.3 to 4.5.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882...6f51ac03b9356f520e9adb1b1b7802705f340c2b)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-01 16:47:35 -08:00
dependabot[bot] e36b688b42 chore: bump actions/checkout from 4.2.0 to 4.2.2 (#147)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.0 to 4.2.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/d632683dd7b4114ad314bca15554477dd762a938...11bd71901bbe5b1630ceea73d27597364c9af683)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-31 23:48:47 -07:00
dependabot[bot] 2d04a82a41 chore: bump dsanders11/project-actions from 1.3.0 to 1.4.0 (#148)
Bumps [dsanders11/project-actions](https://github.com/dsanders11/project-actions) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/dsanders11/project-actions/releases)
- [Changelog](https://github.com/dsanders11/project-actions/blob/main/.releaserc.json)
- [Commits](https://github.com/dsanders11/project-actions/compare/eb760c48894b5702398529cbb8f6e98378e315d0...438b25e007c2f4efec324497fadc6402e7cc61a6)

---
updated-dependencies:
- dependency-name: dsanders11/project-actions
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-31 23:47:49 -07:00
dependabot[bot] 88957b5269 chore: bump actions/upload-artifact from 4.4.0 to 4.4.3 (#146)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.0 to 4.4.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/50769540e7f4bd5e21e526ee35c689e35e0d6874...b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-31 23:46:54 -07:00
dependabot[bot] 14d46c540c chore: bump actions/checkout from 4.1.7 to 4.2.0 (#144)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.7 to 4.2.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/692973e3d937129bcbf40652eb9f2f61becf3332...d632683dd7b4114ad314bca15554477dd762a938)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-30 23:14:19 -07:00
dependabot[bot] cb3a368eaf chore: bump actions/upload-artifact from 4.3.4 to 4.4.0 (#143)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.4 to 4.4.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/0b2256b8c012f0828dc542b3febcab082c67f72b...50769540e7f4bd5e21e526ee35c689e35e0d6874)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-01 10:43:24 -05:00
dependabot[bot] 5ffdf5b197 chore: bump actions/download-artifact from 4.1.7 to 4.1.8 (#141)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4.1.7 to 4.1.8.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/65a9edc5881444af0b9093a5e628f2fe47ea3b2e...fa0a91b85d4f404e444e00e005971372dc801d16)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-01 11:51:40 -05:00
dependabot[bot] e44f48cfca chore: bump actions/upload-artifact from 4.3.3 to 4.3.4 (#142)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.3 to 4.3.4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/65462800fd760344b1a7b4382951275a0abb4808...0b2256b8c012f0828dc542b3febcab082c67f72b)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-01 10:59:50 -05:00
dependabot[bot] 6af08cd835 chore: bump amannn/action-semantic-pull-request from 5.5.2 to 5.5.3 (#137)
Bumps [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request) from 5.5.2 to 5.5.3.
- [Release notes](https://github.com/amannn/action-semantic-pull-request/releases)
- [Changelog](https://github.com/amannn/action-semantic-pull-request/blob/main/CHANGELOG.md)
- [Commits](https://github.com/amannn/action-semantic-pull-request/compare/cfb60706e18bc85e8aec535e3c577abe8f70378e...0723387faaf9b38adef4775cd42cfd5155ed6017)

---
updated-dependencies:
- dependency-name: amannn/action-semantic-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-30 23:34:23 -07:00
dependabot[bot] 9843285649 chore: bump actions/checkout from 4.1.6 to 4.1.7 (#138)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.6 to 4.1.7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/a5ac7e51b41094c92402da3b24376905380afc29...692973e3d937129bcbf40652eb9f2f61becf3332)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-30 23:21:58 -07:00
dependabot[bot] 08227ad68f chore: bump actions/checkout from 4.1.5 to 4.1.6 (#136)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.5 to 4.1.6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/44c2b7a8a4ea60a981eaca3cf939b5f4305c123b...a5ac7e51b41094c92402da3b24376905380afc29)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-01 09:39:50 +02:00
dependabot[bot] ccea00e588 chore: bump actions/checkout from 4.1.2 to 4.1.5 (#135)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.2 to 4.1.5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/9bb56186c3b09b4f86b1c65136769dd318469633...44c2b7a8a4ea60a981eaca3cf939b5f4305c123b)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-08 16:41:33 -07:00
dependabot[bot] 05fef00312 Bump actions/upload-artifact from 4.3.1 to 4.3.3 (#131)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.1 to 4.3.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/5d5d22a31266ced268874388b861e4b58bb5c2f3...65462800fd760344b1a7b4382951275a0abb4808)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-08 16:41:08 -07:00
dependabot[bot] acd3d9b4e2 Bump amannn/action-semantic-pull-request from 5.4.0 to 5.5.2 (#133)
Bumps [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request) from 5.4.0 to 5.5.2.
- [Release notes](https://github.com/amannn/action-semantic-pull-request/releases)
- [Changelog](https://github.com/amannn/action-semantic-pull-request/blob/main/CHANGELOG.md)
- [Commits](https://github.com/amannn/action-semantic-pull-request/compare/e9fabac35e210fea40ca5b14c0da95a099eff26f...cfb60706e18bc85e8aec535e3c577abe8f70378e)

---
updated-dependencies:
- dependency-name: amannn/action-semantic-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-08 16:35:22 -07:00
dependabot[bot] 4fea46803d Bump actions/download-artifact from 4.1.4 to 4.1.7 (#134)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4.1.4 to 4.1.7.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/c850b930e6ba138125429b7e5c93fc707a7f8427...65a9edc5881444af0b9093a5e628f2fe47ea3b2e)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-08 16:34:35 -07:00
dependabot[bot] 908a942dbc Bump dsanders11/project-actions from 1.2.0 to 1.3.0 (#130)
Bumps [dsanders11/project-actions](https://github.com/dsanders11/project-actions) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/dsanders11/project-actions/releases)
- [Changelog](https://github.com/dsanders11/project-actions/blob/main/.releaserc.json)
- [Commits](https://github.com/dsanders11/project-actions/compare/82e99438bd44a14ad18d92d036dbc25cbfb9a8c4...eb760c48894b5702398529cbb8f6e98378e315d0)

---
updated-dependencies:
- dependency-name: dsanders11/project-actions
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-01 02:26:44 -07:00
dependabot[bot] d14a049f24 Bump dsanders11/project-actions from 1.1.0 to 1.2.0 (#129)
Bumps [dsanders11/project-actions](https://github.com/dsanders11/project-actions) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/dsanders11/project-actions/releases)
- [Changelog](https://github.com/dsanders11/project-actions/blob/main/.releaserc.json)
- [Commits](https://github.com/dsanders11/project-actions/compare/3a81985616963f32fae17d1d1b406c631f3201a1...82e99438bd44a14ad18d92d036dbc25cbfb9a8c4)

---
updated-dependencies:
- dependency-name: dsanders11/project-actions
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-13 12:31:35 -07:00
dependabot[bot] c6bfd11070 Bump actions/download-artifact from 3.0.2 to 4.1.4 (#128)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3.0.2 to 4.1.4.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/9bc31d5ccc31df68ecc42ccf4149144866c47d8a...c850b930e6ba138125429b7e5c93fc707a7f8427)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-13 11:44:10 -05:00
dependabot[bot] 5e90f6efb8 Bump actions/upload-artifact from 3.1.3 to 4.3.1 (#126)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.3 to 4.3.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/a8a3f3ad30e3422c9c7b888a15615d19a852ae32...5d5d22a31266ced268874388b861e4b58bb5c2f3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-13 11:40:35 -05:00
dependabot[bot] b010e00f92 Bump actions/checkout from 4.1.1 to 4.1.2 (#127)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/b4ffde65f46336ab88eb53be808477a3936bae11...9bb56186c3b09b4f86b1c65136769dd318469633)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-13 11:39:05 -05:00
David Sanders befe2c1d0f chore: use Dependabot to update GitHub Actions deps (#125) 2024-03-13 09:32:57 -07:00
David Sanders 28a1319059 chore: migrate default branch to main (#122) 2023-11-15 18:31:07 -08:00
David Sanders 4ea6c4cc58 chore: restore help version format (#121) 2023-11-15 17:36:47 -08:00
David Sanders a7531acc7a ci: another release workflow fix (#120) 2023-11-15 14:53:12 -08:00
David Sanders 0c4394103a ci: fix release workflow (#119) 2023-11-15 14:37:15 -08:00
David Sanders b1f8a3babe feat!: build with CMake and release with semantic-release (#118)
BREAKING CHANGE: Drops Windows XP support

* refactor: code review suggestion

* ci: move print help to build job

* refactor: code review suggestion

* build: fix

* docs: clarify where releases are
2023-11-15 14:03:14 -08:00
David Sanders 824746d522 chore: update version number (#116) 2023-11-08 10:48:18 -08:00
David Sanders 228fcd00f8 chore: set @wg-ecosystem as CODEOWNERS (#117) 2023-11-08 10:38:04 -08:00
David Sanders 9b04a43f6d ci: add new issues and pull requests to project board (#115) 2023-11-02 15:10:10 -07:00
Damien Mascord b807b34a64 Issue #86 - change find execution level logic to handle multiple formatting styles (#88) 2019-07-18 15:57:43 +09:00
Oleg Anikin 3a8e8239da feat: add RCDATA replacing by --set-rcdata key (#77) 2019-07-01 15:53:29 +09:00
actboy168 2034ced86e fix: undefined behavior of SetIcon (#87) 2019-07-01 15:52:03 +09:00
Mark Lee 9243fe7b1b fix: print full paths in error messages (#85)
* Use fwprintf instead of fprintf

* Need a commit

* try %S

* Back to fwprintf, cast the format

* WCHAR, not wchar_t

* Use @MarshallOfSound's suggestion
2019-05-01 08:56:14 +09:00
Cody Tilkins ca7064eb01 Fix typo in README.md (#83) 2019-02-25 19:31:42 +09:00
Cheng Zhao 6daf749a38 To future me 2018-10-01 10:48:28 +09:00
Cheng Zhao 741942e011 Merge pull request #78 from LnsooXD/master
fix: loadwrong chars at head of the manifest.
2018-10-01 10:45:50 +09:00
Lnsoo XD 19f6af7a61 bugfix: loadwrong chars at head of the manifest.
when load manifest from electron exe(2.0.9) on the  windows 10 , there whill be some unexcepted chars at the head.
2018-09-16 18:27:50 +08:00
Cheng Zhao fc54d9fa44 Merge pull request #74 from malept/better-icon-errors
Give more specific errors when rcedit cannot set an icon
2018-05-07 14:33:02 +09:00
Mark Lee 5c4845e577 Give more specific errors when rcedit cannot set an icon 2018-05-01 18:16:47 -07:00
Cheng Zhao 452c0c3ba5 Merge pull request #71 from barkingfoodog/add-get-resource-string
Added --get-resource-string
2018-02-12 15:13:28 +09:00
Charles Kerr 502218fc7c Merge pull request #72 from thmaterna/thmaterna-patch-1
fixed typo in README.md
2018-02-04 19:07:45 -07:00
Thomas Materna 9699f3db51 fixed typo 2018-02-02 15:39:49 -05:00
Alex Clay 9ac081b8a9 Added --get-resource-string. Added an example to --get-version-string, which already existed, to README.md 2017-12-20 14:25:59 -05:00
Cheng Zhao f0043c358e Merge pull request #67 from kumarharsh/clarify-readme
fix(readme): clarify usage of version string
2017-11-28 10:51:08 +09:00
Cheng Zhao 3b991ab711 Fix badge
I should use the one under electron-bot, let's figure out it later.
2017-09-26 16:37:32 +09:00
Cheng Zhao 088a4b4ec7 Merge pull request #63 from electron/create-if-no-exist
Fill default data when resource information is not there
2017-09-26 16:32:03 +09:00
Cheng Zhao ffd28d638d Automatically generate string table 2017-09-26 16:25:14 +09:00
Cheng Zhao bfcd7bac3f Fill default version info 2017-09-26 16:06:38 +09:00
Cheng Zhao 919a0211c8 Merge pull request #62 from electron/abspath
Resolve filepath before load it
2017-09-26 14:54:50 +09:00
Cheng Zhao 06b3188b60 Resolve filepath before load it
This solves some security limitations.
2017-09-26 14:51:40 +09:00
Cheng Zhao 14dcb05376 Fix the names of artifacts in appveyor 2017-09-26 14:40:26 +09:00
Cheng Zhao 2d1526e50b Update github token 2017-09-26 14:03:35 +09:00
Cheng Zhao 0f6dc22896 Merge pull request #61 from electron/upload-releases
Upload binaries to github releases
2017-09-26 12:34:50 +09:00
Cheng Zhao 2114311f28 zip => exe 2017-09-26 12:31:21 +09:00
Cheng Zhao 3d6f449a00 Upload binaries to github releases 2017-09-26 12:30:17 +09:00
Cheng Zhao 5918a2c593 Merge pull request #60 from electron/help
Add help message
2017-09-26 12:26:05 +09:00
Cheng Zhao 1884633086 Add help message for each command 2017-09-26 12:12:53 +09:00
Cheng Zhao eb9bc65991 Better message for unrecognized argument 2017-09-26 11:53:51 +09:00
Cheng Zhao 45ad933db5 Better message for unhandled argument 2017-09-25 11:58:34 +09:00
Cheng Zhao 8e010db92f Add help message 2017-09-25 11:57:11 +09:00
Cheng Zhao 955f140733 Merge pull request #59 from electron/set-empty-icon
Use en-us as langid when can't find one
2017-09-25 11:44:53 +09:00
Cheng Zhao b467f6ae2f Use en-us as langid when can't find one 2017-09-25 11:37:02 +09:00
Cheng Zhao fba8587163 Merge pull request #58 from electron/fix-icon
Fix setting icon
2017-09-15 10:58:40 +09:00
Cheng Zhao 3227fb0e64 Fix setting icon 2017-09-15 10:38:57 +09:00
Cheng Zhao 2a7460d643 Merge pull request #55 from electron/x64
Add x64 support
2017-09-13 15:42:59 +09:00
Cheng Zhao 9fc81a3ce3 x86 platform is named Win32 2017-09-13 15:37:42 +09:00
Cheng Zhao 51b1101d5e Fix pointer truncation in x64 2017-09-13 15:36:12 +09:00
Cheng Zhao f0f648476e Update README with simpler build information 2017-09-13 15:09:46 +09:00
Cheng Zhao 60c5bc8b60 Build x64 on appveyor 2017-09-13 15:04:26 +09:00
Cheng Zhao 784bce6fd9 Add x64 configuration 2017-09-13 15:02:08 +09:00
Cheng Zhao 68216af13b Simplify the gyp file 2017-09-13 14:59:43 +09:00
Cheng Zhao ee46dea54b Merge pull request #54 from electron/code-clean
Clean up the code base
2017-09-13 14:54:58 +09:00
Cheng Zhao 3a6565250e Do not rely on layout of struct 2017-09-13 14:50:36 +09:00
Cheng Zhao af37f5fd36 Improve code readability 2017-09-13 14:07:35 +09:00
Cheng Zhao 99b354ea24 Use _ suffix for private data members 2017-09-13 13:37:26 +09:00
Cheng Zhao 88f6a604d1 Member data names should use camelCase 2017-09-13 13:22:41 +09:00
Cheng Zhao 6c8eaecad9 Reorganize the methods 2017-09-13 13:14:40 +09:00
Cheng Zhao 8a89ca60e9 Fix the compilation warning 2017-09-13 12:50:31 +09:00
Cheng Zhao ecac442ed8 Do not add unnecessary const reference for primary types 2017-09-13 12:38:32 +09:00
Cheng Zhao 1c2aad6389 Be consistent on indentions and braces 2017-09-13 12:34:53 +09:00
Cheng Zhao d65120c631 Merge pull request #53 from electron/require-2015
Require Visual Studio 2015 for building
2017-09-13 12:27:27 +09:00
Cheng Zhao 43c59b1930 Use VS 2017 imagein appveyor 2017-09-13 11:39:23 +09:00
Cheng Zhao 9561cfe7a3 Require VS 2015 for building 2017-09-13 11:35:11 +09:00
Cheng Zhao c9e404d840 Merge pull request #52 from arnavb/master
Refactored second part of parse_version_string
2017-09-13 11:32:03 +09:00
Cheng Zhao 2ee68db2bb Merge pull request #42 from artiomn/master
`--get-version-string` command added.
2017-09-13 11:31:24 +09:00
Cheng Zhao bfbcf0b44d Cleanup the styles
TAB => spaces
\r\n => \n
2017-09-13 11:28:42 +09:00
Artem.Nechiporuk 1b75036134 --get-version-string command added. 2017-09-13 11:15:51 +09:00
Cheng Zhao 6d32fb3b47 Merge pull request #46 from robi-wan/xp_support
Support for Windows XP and Server 2003
2017-09-13 11:05:31 +09:00
Arnav Borborah 50b5dc9f64 Merge pull request #1 from arnavb/refactor-parse-version-string
Refactored second part of parse_version_string
2017-08-24 11:05:51 -04:00
Arnav Borborah 5c03502744 Refactored second part of parse_version_string
Refactored second part of parse_version_string into a one-liner
2017-08-24 11:04:22 -04:00
robi-wan acc9fac63d Support for Windows XP and Server 2003
Use the toolset which compiles a binary suitable for Windows XP and Server 2003.
2017-05-15 22:04:59 +02:00
Kevin Sawicki 00691165b3 Merge pull request #44 from electron/doc-application-manifest-option
Doc --application-manifest option
2017-04-28 11:29:12 -07:00
Kevin Sawicki 807cd825a5 Link to docs for new options 2017-04-28 11:08:13 -07:00
Kevin Sawicki 267a13a81f Tweak appveyor branch build settings 2017-04-28 11:06:00 -07:00
Kevin Sawicki 3559a31b95 🎨 2017-04-28 10:59:40 -07:00
Kevin Sawicki e8db86558e Doc --application-manifest CLI option 2017-04-28 10:59:13 -07:00
Kevin Sawicki e753e4b09d Add missing r to short option 2017-04-28 10:57:48 -07:00
Kevin Sawicki aae556ab2c Merge pull request #39 from dmascord/master
Add functionality to change the executionLevel inside the manifest
2017-04-28 10:56:31 -07:00
Damien Mascord c751dbc071 Change --setRequestedExecutionLevel to be --set-requested-execution-level 2017-04-04 01:34:44 +01:00
Damien Mascord 6ed577e2dd Remove unnecessary includes, wstrings, and add warning for conflicting options 2017-04-04 01:24:36 +01:00
Damien Mascord 0d87bf8446 Merge branch 'master' of https://github.com/dmascord/rcedit 2017-03-31 06:46:18 +01:00
Damien Mascord 9716b4ac84 Add functionality to completely replace manifest 2017-03-31 06:46:02 +01:00
Damien Mascord ab07388700 Add functionality to change the executionLevel inside the manifest 2017-03-31 06:46:01 +01:00
Damien Mascord d573b90d97 Cleanup code, and remove unnecessary wstring 2017-03-31 06:46:00 +01:00
Damien Mascord e3ef835b70 Add documentation for --set-requested-execution-level 2017-03-31 06:46:00 +01:00
Damien Mascord 5db0ae11e1 Add functionality to modify the executionLevel within the manifest 2017-03-31 06:45:59 +01:00
Damien Mascord b20039c01a Revert "Add functionality to change the executionLevel inside the manifest"
This reverts commit f91df6cf1b.
2017-03-31 06:45:59 +01:00
Damien Mascord fece1b32ae Revert "Fix handling of padding"
This reverts commit c68e87b89e.
2017-03-31 06:45:59 +01:00
Damien Mascord be93c980ce Revert "Cleanup code, and remove unnecessary wstring"
This reverts commit a7e50c61d3.
2017-03-31 06:45:58 +01:00
Damien Mascord 3c6427a55a Revert "Fix spelling of execution"
This reverts commit d5409a0c56.
2017-03-31 06:45:58 +01:00
Damien Mascord 8c88d7a762 Fix spelling of execution 2017-03-31 06:45:57 +01:00
Damien Mascord 8850f29821 Cleanup code, and remove unnecessary wstring 2017-03-31 06:45:57 +01:00
Damien Mascord 72158193fb Fix handling of padding 2017-03-31 06:45:57 +01:00
Damien Mascord f6e249df71 Add functionality to change the executionLevel inside the manifest 2017-03-31 06:45:57 +01:00
Damien Mascord 7c30618b5e Add functionality to completely replace manifest 2017-03-31 06:36:56 +01:00
Kevin Sawicki 6a675c6223 Update AppVeyor badge URL 2017-03-14 10:02:06 -07:00
Kevin Sawicki 85dbc87ae5 Merge pull request #38 from malept/fix-version-string-errors
Make version string parsing errors more specific
2017-03-08 14:20:53 -08:00
Kevin Sawicki bdc8e5a6ae Add AppVeyor badge 2017-03-08 14:19:44 -08:00
Kevin Sawicki 80b448db60 Merge pull request #37 from malept/appveyor
Add AppVeyor config
2017-03-08 14:18:48 -08:00
Kevin Sawicki cc3d4ea237 Do a shallow clone of gyp 2017-03-08 14:13:50 -08:00
Damien Mascord d57294d8a2 Add functionality to change the executionLevel inside the manifest 2017-03-06 23:40:23 +00:00
Damien Mascord 2eaec03042 Cleanup code, and remove unnecessary wstring 2017-03-06 23:27:37 +00:00
Damien Mascord 7d35661ce8 Add documentation for --set-requested-execution-level 2017-03-06 23:22:34 +00:00
Damien Mascord 4fefa8b808 Add functionality to modify the executionLevel within the manifest 2017-03-06 23:12:18 +00:00
Damien Mascord be021fff77 Revert "Add functionality to change the executionLevel inside the manifest"
This reverts commit f91df6cf1b.
2017-03-06 23:04:30 +00:00
Damien Mascord bc8d4a8668 Revert "Fix handling of padding"
This reverts commit c68e87b89e.
2017-03-06 23:04:30 +00:00
Damien Mascord e11497ca6e Revert "Cleanup code, and remove unnecessary wstring"
This reverts commit a7e50c61d3.
2017-03-06 23:04:28 +00:00
Damien Mascord b3d1a3a361 Revert "Fix spelling of execution"
This reverts commit d5409a0c56.
2017-03-06 23:04:12 +00:00
Damien Mascord d5409a0c56 Fix spelling of execution 2017-03-06 23:03:11 +00:00
Damien Mascord a7e50c61d3 Cleanup code, and remove unnecessary wstring 2017-03-06 23:00:56 +00:00
Damien Mascord c68e87b89e Fix handling of padding 2017-03-06 12:36:17 +00:00
Damien Mascord f91df6cf1b Add functionality to change the executionLevel inside the manifest 2017-03-06 05:58:13 +00:00
Mark Lee 933a4e818e Make version string parsing errors more specific 2017-02-05 19:52:40 -08:00
Mark Lee 2e15e946c0 Add AppVeyor config 2017-02-05 19:46:28 -08:00
Kevin Sawicki 1c9920ac15 Merge pull request #33 from skyline75489/patch-1
Fix error info
2016-10-27 13:35:30 -07:00
Chester Liu c1964d3c34 Fix error info 2016-10-26 17:06:27 +08:00
Cheng Zhao b80739978f Merge pull request #26 from RaptDept/master
Fixes for SetIcon not removing existing icons, and VersionInfo data being erased on .NET and non-English binaries
2016-08-18 16:13:40 +09:00
Jake Bier c6eb8eb5b0 Fix SetIcon: replacing old icons does not remove the last one 2016-08-03 16:05:45 +08:00
Jake Bier 2bd43d7993 Fix SetIcon: MaxIconId is not correctly initialized 2016-08-03 16:05:03 +08:00
Jake Bier 556a81476d Fix VersionInfo serialization and deserialization 2016-08-02 22:17:08 +08:00
Jake Bier d7579fa326 Deserialize resource on enumeration 2016-08-02 21:44:53 +08:00
Jake Bier 0bc445e783 Use LANGID instead of WORD for language ID 2016-08-02 21:08:44 +08:00
Jake Bier 7e78c6d511 Change void* to BYTE* 2016-08-02 21:04:13 +08:00
Jake Bier f38a43d2c5 Replace if statement to switch in ResourceUpdated::OnEnumResourceLanguage 2016-08-02 19:43:34 +08:00
Jake Bier 5fea0ee980 SetIcon fixes:
- Allow setting icon bundle ID
- Allow setting icon and icon bundle language/codepage pair
- Remove hardcoded language ID/codepage pair
- If no bundle ID and/or language/codepage pair specified, use value from first existing icon bundle
- If new icon is set to an existing bundle, remove old icons from bundle
2016-08-02 19:42:02 +08:00
Jake Bier c6f53439a4 Explicitly use Unicode/UTF-16 Win32 functions and wide char types 2016-08-02 17:21:06 +08:00
Jake Bier 1cd48b7b5d Remove unused Translate instance 2016-08-02 16:35:33 +08:00
Jake Bier 463e59191c Remove unused narrow ResourceUpdater::Load declaration; replace wchar_t with WCHAR for consistency 2016-08-02 16:16:30 +08:00
Jake Bier f6b8dc2ade Remove unused #includes 2016-08-01 21:40:39 +08:00
Jake Bier 65e7188272 Fix typo in LegalTrademarks #define macro 2016-08-01 19:34:29 +08:00
Jake Bier 3123f81bcc Fix FindResourceEx failed if same id but different language. 2016-08-01 19:32:38 +08:00
Cheng Zhao 91664c0b76 Store filename in std::wstring 2016-07-03 10:09:42 +09:00
Cheng Zhao 465d4cdfd3 Merge pull request #23 from develar/master
fix "Unable to load file" when the exe in a Chinese name"
2016-07-03 00:52:48 +00:00
develar 3d7c336b3a fix "Unable to load file" when the exe in a Chinese name" 2016-07-02 17:47:27 +02:00
Cheng Zhao e6d318d9d3 Ignore .suo files in git 2016-05-17 19:45:40 +09:00
Cheng Zhao cef402d5d2 Fix styling issues 2016-05-17 19:45:15 +09:00
Cheng Zhao 5e39647444 Merge pull request #16 from mbragg12/master
Added in code to expose the change string function
2016-05-17 10:41:11 +00:00
mike 4d246f69bc Added in code to expose the change string function 2016-05-12 15:14:25 -04:00
Cheng Zhao df1bc0abdf Merge pull request #14 from muralidharand/master
Visual studio solution file added
2016-05-12 09:33:58 +09:00
Administrator 4b4bd60b89 Visual Studio solution is created to make .net developers life easier. 2016-05-05 11:48:27 +05:30
Muralidharan Deenathayalan a19443d576 gyp information added. 2016-05-05 10:51:49 +05:30
Cheng Zhao eac202c95b Merge pull request #11 from rversteegen/master
Statically link the rtlib, to support, at least, stock Win XP and Win 10
2016-04-07 19:07:35 +09:00
Ralph Versteegen b2fa82960c Statically link the rtlib, to support, at least, stock Win XP and Win 10.
Only increases binary size by 64kB.

Fixes issue #3 "doesn't work on fresh install of windows 10"
2016-03-19 00:42:46 +13:00
Kumar Harsh 35cc864316 fix(readme): clarify usage of version string
Clarified that the `--set-version-string` arg can change any property, and provided a link to the source documentation from MSDN
2016-02-15 14:35:35 +05:30
Cheng Zhao 0ba03d779d Merge pull request #8 from geary/master
Add .editorconfig with two-space indents and Unix newlines
2016-01-30 11:22:23 +08:00
Michael Geary caa99c1ba7 Add .editorconfig with two-space indents and Unix newlines 2016-01-29 00:36:37 -08:00
Cheng Zhao 07745144e9 TAB => spaces 2016-01-29 09:46:13 +08:00
Cheng Zhao 660b80503c Merge pull request #7 from geary/master
Fix issues #5 (compilation error with no MFC) and #6 (truncation of version fields to 8 bits)
2016-01-29 09:44:58 +08:00
Michael Geary ea0a45b564 Fix erroneous truncation of version fields to 8 bits
These fields are actually 16 bits.
2016-01-28 16:38:26 -08:00
Michael Geary 205a2678d7 Fix error RC1015 when MFC was not installed with Visual Studio
rcedit.rc has #include "afxres.h" but this file is not present when Visual Studio was installed without the MFC option.

rcedit does not actually use MFC, so the fix is simply to #include <windows.h> instead.
2016-01-28 16:02:42 -08:00
Cheng Zhao f2e68e8663 Merge pull request #1 from GeertvanHorrik/pr/typo
Fixed typo in ScopedResourceUpdater
2015-03-08 17:37:02 -07:00
Geert van Horrik 371e834e7c Fixed typo in ScopedResourceUpdater 2015-03-08 17:43:00 +01:00
Cheng Zhao 50e9c4c418 Bump v0.2.0. 2013-11-14 10:34:45 +08:00
Cheng Zhao c5ffd08fef Specify English as language when setting icon. 2013-11-14 10:28:07 +08:00
15 changed files with 1250 additions and 525 deletions
+8
View File
@@ -0,0 +1,8 @@
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
+1
View File
@@ -0,0 +1 @@
* @electron/wg-ecosystem
+6
View File
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
+29
View File
@@ -0,0 +1,29 @@
name: Add to Ecosystem WG Project
on:
issues:
types:
- opened
pull_request_target:
types:
- opened
permissions: {}
jobs:
add-to-project:
runs-on: ubuntu-latest
steps:
- name: Generate GitHub App token
uses: electron/github-app-auth-action@e14e47722ed120360649d0789e25b9baece12725 # v2.0.0
id: generate-token
with:
creds: ${{ secrets.ECOSYSTEM_ISSUE_TRIAGE_GH_APP_CREDS }}
org: electron
- name: Add to Project
uses: dsanders11/project-actions/add-item@5767984408ccc6742f83acc8b8d8ea5e09f329af # v2.0.0
with:
field: Opened
field-value: ${{ github.event.pull_request.created_at || github.event.issue.created_at }}
project-number: 89
token: ${{ steps.generate-token.outputs.token }}
+84
View File
@@ -0,0 +1,84 @@
name: Continuous Integration
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
build:
name: Build
runs-on: windows-2022
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 1
- name: Build
run: |
cmake -E make_directory build/x64
cmake -E make_directory build/Win32
cd build/x64
cmake -A x64 ../../
cmake --build . --config RelWithDebInfo
cd ../../build/Win32
cmake -A Win32 ../../
cmake --build . --config RelWithDebInfo
- name: Copy to dist
run: |
cmake -E make_directory dist
cmake -E copy build/x64/RelWithDebInfo/rcedit.exe dist/rcedit-x64.exe
cmake -E copy build/Win32/RelWithDebInfo/rcedit.exe dist/rcedit-x86.exe
- name: Print help
shell: bash
run: |
set -eo pipefail
dist/rcedit-x86.exe -h
dist/rcedit-x64.exe -h
- name: Upload artifacts
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: dist
path: dist/
release:
name: Release
runs-on: windows-2022
needs: build
if: github.ref == 'refs/heads/main'
permissions:
contents: write
steps:
- name: Checkout
id: checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
with:
name: dist
path: dist/
- run: npm install -g semantic-release@22.0.6 semantic-release-export-data@v1.0.1
- run: npx semantic-release@22.0.6 --dry-run
id: get-next-version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Stamp version
if: steps.get-next-version.outputs.new-release-published == 'true'
shell: bash
run: |
set -eo pipefail
dist/rcedit-x64.exe dist/rcedit-x86.exe --set-product-version $VERSION --set-file-version $VERSION
dist/rcedit-x86.exe -h | grep -q "Rcedit v$VERSION"
dist/rcedit-x86.exe dist/rcedit-x64.exe --set-product-version $VERSION --set-file-version $VERSION
dist/rcedit-x64.exe -h | grep -q "Rcedit v$VERSION"
env:
VERSION: ${{ steps.get-next-version.outputs.new-release-version }}
- name: Run semantic release
run: npx semantic-release@22.0.6
if: steps.get-next-version.outputs.new-release-published == 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+26
View File
@@ -0,0 +1,26 @@
name: "Check Semantic Commit"
on:
pull_request:
types:
- opened
- edited
- synchronize
permissions:
contents: read
jobs:
main:
permissions:
pull-requests: read # for amannn/action-semantic-pull-request to analyze PRs
statuses: write # for amannn/action-semantic-pull-request to mark status of analyzed PR
name: Validate PR Title
runs-on: ubuntu-latest
steps:
- name: semantic-pull-request
uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
validateSingleCommit: false
+4 -4
View File
@@ -1,11 +1,11 @@
Default/
ipch/
build/
*.swp
*.sdf
*.opensdf
*.suo
*.vcxproj.user
*.sln
*.vcxproj
*.vcxproj.filters
*.opensdf
*.VC.db
*.VC.VC.opendb
+18
View File
@@ -0,0 +1,18 @@
{
"plugins": [
"semantic-release-export-data",
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/github",
{
"assets": [
{ "path": "dist/rcedit-x64.exe" },
{ "path": "dist/rcedit-x86.exe" }
],
"draftRelease": true
}
]
],
"branches": [ "main" ]
}
+12
View File
@@ -0,0 +1,12 @@
cmake_minimum_required(VERSION 3.15)
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded")
# /Ox, full optimization
# /Os, favour small code
add_compile_options(/Ox /Os)
project(rcedit)
add_executable(rcedit src/main.cc src/rescle.cc src/rcedit.rc)
target_link_libraries(rcedit version.lib)
+55 -4
View File
@@ -1,20 +1,39 @@
# rcedit
Command line tool to edit resources of exe file on Windows
[![Continuous Integration](https://github.com/electron/rcedit/actions/workflows/ci.yml/badge.svg)](https://github.com/electron/rcedit/actions/workflows/ci.yml)
Command line tool to edit resources of exe file on Windows.
## Executables
Prebuilt binaries can be found in the [GitHub releases](https://github.com/electron/rcedit/releases).
## Building
* Clone the repository
* Run `gyp rcedit.gyp --depth .`
* Build rcedit.sln with Visual Studio
To build you need CMake 3.15+ and Visual Studio 2015 or above.
1. Clone the repository
2. Create a build directory: `cmake -E make_directory build`
3. Change to the build directory: `cd build`
4. Make the CMake project: `cmake ..`
5. Build: `cmake --build . --config RelWithDebInfo`
## Docs
Show help:
```bash
$ rcedit -h
```
Set version string:
```bash
$ rcedit "path-to-exe-or-dll" --set-version-string "Comments" "This is an exe"
```
Use this option to change any supported properties, as described in the MSDN documentation [here](https://msdn.microsoft.com/en-us/library/windows/desktop/aa381058(v=vs.85).aspx)
Set file version:
```bash
@@ -33,8 +52,40 @@ Set icon:
$ rcedit "path-to-exe-or-dll" --set-icon "path-to-ico"
```
Set resource string:
```bash
$ rcedit "path-to-exe-or-dll" --set-resource-string id_number "new string value"
```
Set [requested execution level](https://msdn.microsoft.com/en-us/library/6ad1fshk.aspx#Anchor_9) (`asInvoker` | `highestAvailable` | `requireAdministrator`) in the manifest:
```bash
$ rcedit "path-to-exe-or-dll" --set-requested-execution-level "requireAdministrator"
```
Set [application manifest](https://msdn.microsoft.com/en-us/library/windows/desktop/aa374191.aspx):
```bash
$ rcedit "path-to-exe-or-dll" --application-manifest ./path/to/manifest/file
```
And you can change multiple things in one command:
```bash
$ rcedit "path-to-exe-or-dll" --set-icon "path-to-ico" --set-file-version "10.7"
```
Get version string:
```bash
$ rcedit "path-to-exe-or-dll" --get-version-string "property"
```
Use the same properties as `--set-version-string`. Use `"FileVersion"` to get the results of `--set-file-version` and `"ProductVersion"` to get the results of `--get-product-version`.
Get resource string:
```bash
$ rcedit "path-to-exe-or-dll" --get-resource-string id_number
```
-70
View File
@@ -1,70 +0,0 @@
{
'variables': {
'conditions': [
['OS=="win" and (MSVS_VERSION=="2012e" or MSVS_VERSION=="2010e")', {
'msvs_express': 1,
'windows_driver_kit_path%': 'C:/WinDDK/7600.16385.1',
},{
'msvs_express': 0,
}],
],
},
'targets': [
{
'target_name': 'rcedit',
'type': 'executable',
'sources': [
'src/main.cc',
'src/rescle.cc',
'src/rescle.h',
'src/rcedit.rc',
],
'msvs_settings': {
'VCLinkerTool': {
'SubSystem': 1, # console executable
},
'VCCLCompilerTool': {
'Optimization': 3, # /Ox, full optimization
'FavorSizeOrSpeed': 1, # /Os, favour small code
},
},
'conditions': [
# Using Visual Studio Express.
['msvs_express==1', {
'defines!': [
'_SECURE_ATL',
],
'msvs_settings': {
'VCLibrarianTool': {
'AdditionalLibraryDirectories': [
'<(windows_driver_kit_path)/lib/ATL/i386',
],
},
'VCLinkerTool': {
'AdditionalLibraryDirectories': [
'<(windows_driver_kit_path)/lib/ATL/i386',
],
'AdditionalDependencies': [
'atlthunk.lib',
],
'AdditionalOptions': [
# ATL 8.0 included in WDK 7.1 makes the linker to generate following
# warnings:
# - warning LNK4254: section 'ATL' (50000040) merged into
# '.rdata' (40000040) with different attributes
# - warning LNK4078: multiple 'ATL' sections found with
# different attributes
'/ignore:4254',
'/ignore:4078',
],
},
},
'msvs_system_include_dirs': [
'<(windows_driver_kit_path)/inc/atl71',
'<(windows_driver_kit_path)/inc/mfc42',
],
}], # msvs_express==1
],
},
],
}
+174 -22
View File
@@ -3,33 +3,104 @@
// LICENSE file.
#include <string.h>
#include <stdlib.h>
#include <vector>
#include <windows.h>
#include <winver.h>
#include "rescle.h"
namespace {
std::vector<uint8_t> get_file_version_info() {
DWORD zero = 0;
std::vector<wchar_t> filename(MAX_PATH);
SetLastError(ERROR_SUCCESS);
do {
GetModuleFileNameW(NULL, filename.data(), filename.size());
// Double the buffer size in case the path is longer
filename.resize(filename.size() * 2);
} while (GetLastError() == ERROR_INSUFFICIENT_BUFFER);
if (GetLastError() != ERROR_SUCCESS) {
return std::vector<uint8_t>();
}
DWORD file_ver_info_size = GetFileVersionInfoSizeW(filename.data(), &zero);
if (file_ver_info_size == 0) {
return std::vector<uint8_t>();
}
std::vector<uint8_t> file_ver_info(file_ver_info_size);
if (!GetFileVersionInfoW(filename.data(), NULL, file_ver_info.size(), file_ver_info.data())) {
return std::vector<uint8_t>();
}
return file_ver_info;
}
void print_help(VS_FIXEDFILEINFO* file_info) {
fprintf(stdout,
"Rcedit v%d.%d.%d: Edit resources of exe.\n\n"
"Usage: rcedit <filename> [options...]\n\n"
"Options:\n"
" -h, --help Show this message\n"
" --set-version-string <key> <value> Set version string\n"
" --get-version-string <key> Print version string\n"
" --set-file-version <version> Set FileVersion\n"
" --set-product-version <version> Set ProductVersion\n"
" --set-icon <path-to-icon> Set file icon\n"
" --set-requested-execution-level <level> Pass nothing to see usage\n"
" --application-manifest <path-to-file> Set manifest file\n"
" --set-resource-string <key> <value> Set resource string\n"
" --get-resource-string <key> Get resource string\n"
" --set-rcdata <key> <path-to-file> Replace RCDATA by integer id\n",
(file_info->dwProductVersionMS >> 16) & 0xff,
(file_info->dwProductVersionMS >> 0) & 0xff,
(file_info->dwProductVersionLS >> 16) & 0xff);
}
bool print_error(const char* message) {
fprintf(stderr, "Fatal error: %s\n", message);
return 1;
}
bool parse_version_string(const wchar_t* str, int *v1, int *v2, int *v3, int *v4) {
*v1 = *v2 = *v3 = *v4 = 0;
if (swscanf_s(str, L"%d.%d.%d.%d", v1, v2, v3, v4) == 4)
return true;
if (swscanf_s(str, L"%d.%d.%d", v1, v2, v3) == 3)
return true;
if (swscanf_s(str, L"%d.%d", v1, v2) == 2)
return true;
if (swscanf_s(str, L"%d", v1) == 1)
return true;
return false;
bool print_warning(const char* message) {
fprintf(stderr, "Warning: %s\n", message);
return 1;
}
bool parse_version_string(const wchar_t* str, unsigned short *v1, unsigned short *v2, unsigned short *v3, unsigned short *v4) {
*v1 = *v2 = *v3 = *v4 = 0;
return (swscanf_s(str, L"%hu.%hu.%hu.%hu", v1, v2, v3, v4) == 4) ||
(swscanf_s(str, L"%hu.%hu.%hu", v1, v2, v3) == 3) ||
(swscanf_s(str, L"%hu.%hu", v1, v2) == 2) ||
(swscanf_s(str, L"%hu", v1) == 1);
}
} // namespace
int wmain(int argc, const wchar_t* argv[]) {
bool loaded = false;
rescle::ResourceUpdater updater;
if (argc == 1 ||
(argc == 2 && wcscmp(argv[1], L"-h") == 0) ||
(argc == 2 && wcscmp(argv[1], L"--help") == 0)) {
UINT ignored = 0;
VS_FIXEDFILEINFO* file_info = nullptr;
std::vector<uint8_t> file_version_info = get_file_version_info();
if (file_version_info.size() == 0 || !VerQueryValueW(file_version_info.data(), L"\\", (LPVOID*) &file_info, &ignored)) {
return print_error("Could not determine version of rcedit");
}
print_help(file_info);
return 0;
}
for (int i = 1; i < argc; ++i) {
if (wcscmp(argv[i], L"--set-version-string") == 0 ||
wcscmp(argv[i], L"-svs") == 0) {
@@ -41,14 +112,26 @@ int wmain(int argc, const wchar_t* argv[]) {
if (!updater.SetVersionString(key, value))
return print_error("Unable to change version string");
} else if (wcscmp(argv[i], L"--get-version-string") == 0 ||
wcscmp(argv[i], L"-gvs") == 0) {
if (argc - i < 2)
return print_error("--get-version-string requires 'Key'");
const wchar_t* key = argv[++i];
const wchar_t* result = updater.GetVersionString(key);
if (!result)
return print_error("Unable to get version string");
fwprintf(stdout, L"%s", result);
return 0; // no changes made
} else if (wcscmp(argv[i], L"--set-file-version") == 0 ||
wcscmp(argv[i], L"-sfv") == 0) {
if (argc - i < 2)
return print_error("--set-file-version requires a version string");
int v1, v2, v3, v4;
unsigned short v1, v2, v3, v4;
if (!parse_version_string(argv[++i], &v1, &v2, &v3, &v4))
return print_error("Unable to parse version string");
return print_error("Unable to parse version string for FileVersion");
if (!updater.SetFileVersion(v1, v2, v3, v4))
return print_error("Unable to change file version");
@@ -61,12 +144,12 @@ int wmain(int argc, const wchar_t* argv[]) {
if (argc - i < 2)
return print_error("--set-product-version requires a version string");
int v1, v2, v3, v4;
unsigned short v1, v2, v3, v4;
if (!parse_version_string(argv[++i], &v1, &v2, &v3, &v4))
return print_error("Unable to parse version string");
return print_error("Unable to parse version string for ProductVersion");
if (!updater.SetProductVersion(v1, v2, v3, v4))
return print_error("Unable to change file version");
return print_error("Unable to change product version");
if (!updater.SetVersionString(L"ProductVersion", argv[i]))
return print_error("Unable to change ProductVersion string");
@@ -79,13 +162,82 @@ int wmain(int argc, const wchar_t* argv[]) {
if (!updater.SetIcon(argv[++i]))
return print_error("Unable to set icon");
} else if (wcscmp(argv[i], L"--set-requested-execution-level") == 0 ||
wcscmp(argv[i], L"-srel") == 0) {
if (argc - i < 2)
return print_error("--set-requested-execution-level requires asInvoker, highestAvailable or requireAdministrator");
if (updater.IsApplicationManifestSet())
print_warning("--set-requested-execution-level is ignored if --application-manifest is set");
if (!updater.SetExecutionLevel(argv[++i]))
return print_error("Unable to set execution level");
} else if (wcscmp(argv[i], L"--application-manifest") == 0 ||
wcscmp(argv[i], L"-am") == 0) {
if (argc - i < 2)
return print_error("--application-manifest requires local path");
if (updater.IsExecutionLevelSet())
print_warning("--set-requested-execution-level is ignored if --application-manifest is set");
if (!updater.SetApplicationManifest(argv[++i]))
return print_error("Unable to set application manifest");
} else if (wcscmp(argv[i], L"--set-resource-string") == 0 ||
wcscmp(argv[i], L"--srs") == 0) {
if (argc - i < 3)
return print_error("--set-resource-string requires int 'Key' and string 'Value'");
const wchar_t* key = argv[++i];
unsigned int key_id = 0;
if (swscanf_s(key, L"%d", &key_id) != 1)
return print_error("Unable to parse id");
const wchar_t* value = argv[++i];
if (!updater.ChangeString(key_id, value))
return print_error("Unable to change string");
} else if (wcscmp(argv[i], L"--set-rcdata") == 0) {
if (argc - i < 3)
return print_error("--set-rcdata requires int 'Key' and path to resource 'Value'");
const wchar_t* key = argv[++i];
unsigned int key_id = 0;
if (swscanf_s(key, L"%d", &key_id) != 1)
return print_error("Unable to parse id");
const wchar_t* pathToResource = argv[++i];
if (!updater.ChangeRcData(key_id, pathToResource))
return print_error("Unable to change RCDATA");
} else if (wcscmp(argv[i], L"--get-resource-string") == 0 ||
wcscmp(argv[i], L"-grs") == 0) {
if (argc - i < 2)
return print_error("--get-resource-string requires int 'Key'");
const wchar_t* key = argv[++i];
unsigned int key_id = 0;
if (swscanf_s(key, L"%d", &key_id) != 1)
return print_error("Unable to parse id");
const wchar_t* result = updater.GetString(key_id);
if (!result)
return print_error("Unable to get resource string");
fwprintf(stdout, L"%s", result);
return 0; // no changes made
} else {
if (loaded)
return print_error("Unexpected trailing arguments");
if (loaded) {
fprintf(stderr, "Unrecognized argument: \"%ls\"\n", argv[i]);
return 1;
}
loaded = true;
if (!updater.Load(argv[i]))
return print_error("Unable to load file");
if (!updater.Load(argv[i])) {
fprintf(stderr, "Unable to load file: \"%ls\"\n", argv[i]);
return 1;
}
}
}
BIN
View File
Binary file not shown.
+730 -375
View File
File diff suppressed because it is too large Load Diff
+103 -50
View File
@@ -8,11 +8,20 @@
#ifndef VERSION_INFO_UPDATER
#define VERSION_INFO_UPDATER
#ifndef _UNICODE
#define _UNICODE
#endif
#ifndef UNICODE
#define UNICODE
#endif
#include <string>
#include <vector>
#include <map>
#include <windows.h>
#include <memory> // unique_ptr
#define RU_VS_COMMENTS L"Comments"
#define RU_VS_COMPANY_NAME L"CompanyName"
@@ -20,7 +29,7 @@
#define RU_VS_FILE_VERSION L"FileVersion"
#define RU_VS_INTERNAL_NAME L"InternalName"
#define RU_VS_LEGAL_COPYRIGHT L"LegalCopyright"
#define RU_VS_LEGALLRADEMARKS L"LegalTrademarks"
#define RU_VS_LEGAL_TRADEMARKS L"LegalTrademarks"
#define RU_VS_ORIGINAL_FILENAME L"OriginalFilename"
#define RU_VS_PRIVATE_BUILD L"PrivateBuild"
#define RU_VS_PRODUCT_NAME L"ProductName"
@@ -29,19 +38,7 @@
namespace rescle {
class VersionStampValue {
public:
unsigned short wOffset;
unsigned short wLength;
unsigned short wKeyLength;
unsigned short wType;
std::wstring szKey;
std::vector<char> Data;
unsigned short GetLength(const bool& rounding = true) const;
};
class IconsValue {
public:
struct IconsValue {
typedef struct _ICONENTRY {
BYTE width;
BYTE height;
@@ -65,66 +62,122 @@ class IconsValue {
std::vector<BYTE> grpHeader;
};
struct Translate {
LANGID wLanguage;
WORD wCodePage;
};
typedef std::pair<std::wstring, std::wstring> VersionString;
typedef std::pair<const BYTE* const, const size_t> OffsetLengthPair;
struct VersionStringTable {
Translate encoding;
std::vector<VersionString> strings;
};
class VersionInfo {
public:
VersionInfo();
VersionInfo(HMODULE hModule, WORD languageId);
std::vector<BYTE> Serialize() const;
bool HasFixedFileInfo() const;
VS_FIXEDFILEINFO& GetFixedFileInfo();
const VS_FIXEDFILEINFO& GetFixedFileInfo() const;
void SetFixedFileInfo(const VS_FIXEDFILEINFO& value);
std::vector<VersionStringTable> stringTables;
std::vector<Translate> supportedTranslations;
private:
VS_FIXEDFILEINFO fixedFileInfo_;
void FillDefaultData();
void DeserializeVersionInfo(const BYTE* pData, size_t size);
VersionStringTable DeserializeVersionStringTable(const BYTE* tableData);
void DeserializeVersionStringFileInfo(const BYTE* offset, size_t length, std::vector<VersionStringTable>& stringTables);
void DeserializeVarFileInfo(const unsigned char* offset, std::vector<Translate>& translations);
OffsetLengthPair GetChildrenData(const BYTE* entryData);
};
class ResourceUpdater {
public:
typedef std::vector<std::wstring> StringValues;
typedef std::map<UINT,StringValues> StringTable;
typedef std::map<WORD,StringTable> StringTableMap;
typedef std::map<UINT, StringValues> StringTable;
typedef std::map<WORD, StringTable> StringTableMap;
typedef std::map<LANGID, VersionInfo> VersionStampMap;
typedef std::map<UINT, std::unique_ptr<IconsValue>> IconTable;
typedef std::vector<BYTE> RcDataValue;
typedef std::map<ptrdiff_t, RcDataValue> RcDataMap;
typedef std::map<LANGID, RcDataMap> RcDataLangMap;
typedef std::vector<VersionStampValue> VersionStampValues;
typedef std::map<UINT,VersionStampValues> VersionStampTable;
typedef std::map<WORD,VersionStampTable> VersionStampMap;
struct IconResInfo {
UINT maxIconId = 0;
IconTable iconBundles;
};
typedef std::map<LANGID, IconResInfo> IconTableMap;
ResourceUpdater();
~ResourceUpdater();
bool Load(const WCHAR* filename);
bool Load(const char* filename);
bool SetVersionString(const WORD& languageId, const WCHAR* name, const WCHAR* value);
bool SetVersionString(WORD languageId, const WCHAR* name, const WCHAR* value);
bool SetVersionString(const WCHAR* name, const WCHAR* value);
bool SetProductVersion(const WORD& languageId, const UINT& id, const unsigned char& v1, const unsigned char& v2, const unsigned char& v3, const unsigned char& v4);
bool SetProductVersion(const unsigned char& v1, const unsigned char& v2, const unsigned char& v3, const unsigned char& v4);
bool SetFileVersion(const WORD& languageId, const UINT& id, const unsigned char& v1, const unsigned char& v2, const unsigned char& v3, const unsigned char& v4);
bool SetFileVersion(const unsigned char& v1, const unsigned char& v2, const unsigned char& v3, const unsigned char& v4);
bool ChangeString(const WORD& languageId, const UINT& id, const WCHAR* value);
bool ChangeString(const UINT& id, const WCHAR* value);
const WCHAR* GetVersionString(WORD languageId, const WCHAR* name);
const WCHAR* GetVersionString(const WCHAR* name);
bool SetProductVersion(WORD languageId, UINT id, unsigned short v1, unsigned short v2, unsigned short v3, unsigned short v4);
bool SetProductVersion(unsigned short v1, unsigned short v2, unsigned short v3, unsigned short v4);
bool SetFileVersion(WORD languageId, UINT id, unsigned short v1, unsigned short v2, unsigned short v3, unsigned short v4);
bool SetFileVersion(unsigned short v1, unsigned short v2, unsigned short v3, unsigned short v4);
bool ChangeString(WORD languageId, UINT id, const WCHAR* value);
bool ChangeString(UINT id, const WCHAR* value);
bool ChangeRcData(UINT id, const WCHAR* pathToResource);
const WCHAR* GetString(WORD languageId, UINT id);
const WCHAR* GetString(UINT id);
bool SetIcon(const WCHAR* path, const LANGID& langId, UINT iconBundle);
bool SetIcon(const WCHAR* path, const LANGID& langId);
bool SetIcon(const WCHAR* path);
bool SetExecutionLevel(const WCHAR* value);
bool IsExecutionLevelSet();
bool SetApplicationManifest(const WCHAR* value);
bool IsApplicationManifestSet();
bool Commit();
static bool UpdateRaw(const char* filename, const WORD& languageId, const char* type, const UINT& id, const void* data, const size_t& dataSize, const bool& deleteOld);
static bool GetResourcePointer(const HMODULE& hModule, const WORD& languageId, const int& id, const char* type, void*& data, size_t& dataSize);
private:
bool SerializeStringTable(const StringValues& values, UINT blockId, std::vector<char>* out);
private:
bool Deserialize(const void* data, const size_t& dataSize, VersionStampValues& values);
bool SerializeVersionInfo(VersionStampValues& values, std::vector<char>& out);
bool SerializeStringTable(const StringValues& values, const UINT& blockId, std::vector<char>& out);
static BOOL CALLBACK OnEnumResourceName(HMODULE hModule, LPCWSTR lpszType, LPWSTR lpszName, LONG_PTR lParam);
static BOOL CALLBACK OnEnumResourceManifest(HMODULE hModule, LPCWSTR lpszType, LPWSTR lpszName, LONG_PTR lParam);
static BOOL CALLBACK OnEnumResourceLanguage(HANDLE hModule, LPCWSTR lpszType, LPCWSTR lpszName, WORD wIDLanguage, LONG_PTR lParam);
// not thread-safe
static BOOL CALLBACK OnEnumResourceName(HMODULE hModule, LPCTSTR lpszType, LPTSTR lpszName, LONG_PTR lParam);
// not thread-safe
static BOOL CALLBACK OnEnumResourceLanguage(HANDLE hModule, LPCTSTR lpszType, LPCTSTR lpszName, WORD wIDLanguage, LONG_PTR lParam);
HMODULE hModule;
std::string filename;
VersionStampMap versionStampMap;
StringTableMap stringTableMap;
IconsValue icon;
HMODULE module_;
std::wstring filename_;
std::wstring executionLevel_;
std::wstring originalExecutionLevel_;
std::wstring applicationManifestPath_;
std::wstring manifestString_;
VersionStampMap versionStampMap_;
StringTableMap stringTableMap_;
IconTableMap iconBundleMap_;
RcDataLangMap rcDataLngMap_;
};
class ScopedResoueceUpdater {
class ScopedResourceUpdater {
public:
ScopedResoueceUpdater(const char* filename, const bool& deleteOld);
~ScopedResoueceUpdater();
ScopedResourceUpdater(const WCHAR* filename, bool deleteOld);
~ScopedResourceUpdater();
HANDLE Get() const;
bool Commit();
private:
bool EndUpdate(const bool& doesCommit);
bool EndUpdate(bool doesCommit);
HANDLE handle;
bool commited;
HANDLE handle_;
bool commited_ = false;
};
} // namespace rescle