Skip to content

Commit

Permalink
SDA-4552 - Set file-name flag to true
Browse files Browse the repository at this point in the history
  • Loading branch information
KiranNiranjan committed Apr 22, 2024
1 parent fd68bcd commit 102d855
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/build-win64.bat
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ echo %SS_FOLDER%
call smctl sign --fingerprint %DIGICERT_FINGERPRINT% --input %SCREENSHARE_INDICATOR_PATH% --tool signtool --verbose
smctl sign verify --input node_modules\screen-share-indicator-frame\ScreenShareIndicatorFrame.exe

smctl sign --tool signtool --fingerprint %DIGICERT_FINGERPRINT% --input %NATIVE_WINDOW_HANDLE_PATH% --file-name
smctl sign --tool signtool --fingerprint %DIGICERT_FINGERPRINT% --input %NATIVE_WINDOW_HANDLE_PATH% --file-name="true"
smctl sign verify --input %NATIVE_WINDOW_HANDLE_PATH%

IF %errorlevel% neq 0 (
echo "Signing failed"
exit /b -1
)

smctl sign --tool signtool --fingerprint %DIGICERT_FINGERPRINT% --input %SCREEN_SNIPPET_PATH% --file-name
smctl sign --tool signtool --fingerprint %DIGICERT_FINGERPRINT% --input %SCREEN_SNIPPET_PATH% --file-name="true"
smctl sign verify --input %SCREEN_SNIPPET_PATH%

IF %errorlevel% neq 0 (
Expand Down Expand Up @@ -117,15 +117,15 @@ set rootDir="%CD%"
cd %installerDir%

echo "Signing Symphony.exe file.."
smctl sign --tool signtool --fingerprint %DIGICERT_FINGERPRINT% --input %SYMPHONY_EXE_PATH% --file-name="Symphony"
smctl sign --tool signtool --fingerprint %DIGICERT_FINGERPRINT% --input %SYMPHONY_EXE_PATH% --file-name="true"
smctl sign verify --input %SYMPHONY_EXE_PATH%
IF %errorlevel% neq 0 (
echo "Signing failed"
exit /b -1
)

echo "Signing Symphony-SYMVER-win.exe file.."
smctl sign --tool signtool --fingerprint %DIGICERT_FINGERPRINT% --input %SYMPHONY_SYMVER_EXE_PATH% --file-name
smctl sign --tool signtool --fingerprint %DIGICERT_FINGERPRINT% --input %SYMPHONY_SYMVER_EXE_PATH% --file-name="true"
smctl sign verify --input %SYMPHONY_SYMVER_EXE_PATH%
IF %errorlevel% neq 0 (
echo "Signing failed"
Expand All @@ -139,7 +139,7 @@ echo "Building new installer with Wix Sharp"
call "BuildWixSharpInstaller.bat"

echo "Signing MSI file.."
smctl sign --tool signtool --fingerprint %DIGICERT_FINGERPRINT% --input %SYMPHONY_MSI_PATH% --file-name="Symphony"
smctl sign --tool signtool --fingerprint %DIGICERT_FINGERPRINT% --input %SYMPHONY_MSI_PATH% --file-name="true"
smctl sign verify --input %SYMPHONY_MSI_PATH%
IF %errorlevel% neq 0 (
echo "Failed to sign installer"
Expand Down

0 comments on commit 102d855

Please sign in to comment.