Skip to content

Commit bf6f4c0

Browse files
committed
Switching from rcedit to mt.exe for adding manifest to exe #2
1 parent 7933a95 commit bf6f4c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.gitlab-ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ windows-builder-x64:
110110
- $EXE_PATH = "$CI_PROJECT_DIR\build\exe.mingw-" + $PY_ABI + "\openshot-qt.exe"
111111
- $manifestPath = "installer/windows.manifest"
112112
- (Get-Content $manifestPath) -creplace "ARCHITECTURE", "amd64" | Set-Content $manifestPath
113-
- mt.exe -manifest installer/windows.manifest
113+
- mt.exe -manifest installer/windows.manifest -validate_manifest
114114
- mt.exe -manifest installer/windows.manifest -outputresource:$EXE_PATH;1
115115
- python3 -u installer/build_server.py "$SLACK_TOKEN" "$WINDOWS_KEY" "$WINDOWS_PASSWORD" "$GITHUB_USER" "$GITHUB_PASS" "False" "$CI_COMMIT_REF_NAME" "$MAC_PASSWORD"
116116
when: always
@@ -153,7 +153,7 @@ windows-builder-x86:
153153
- editbin /LARGEADDRESSAWARE "$EXE_PATH"
154154
- $manifestPath = "installer/windows.manifest"
155155
- (Get-Content $manifestPath) -creplace "ARCHITECTURE", "x86" | Set-Content $manifestPath
156-
- mt.exe -manifest installer/windows.manifest
156+
- mt.exe -manifest installer/windows.manifest -validate_manifest
157157
- mt.exe -manifest installer/windows.manifest -outputresource:$EXE_PATH;1
158158
- python3 -u installer/build_server.py "$SLACK_TOKEN" "$WINDOWS_KEY" "$WINDOWS_PASSWORD" "$GITHUB_USER" "$GITHUB_PASS" "True" "$CI_COMMIT_REF_NAME" "$MAC_PASSWORD"
159159
when: always

0 commit comments

Comments
 (0)