From adb883266b1be531bc8b0b245faf02e27d2dc412 Mon Sep 17 00:00:00 2001 From: Andrew Hopkinson <64254061+toxophilist@users.noreply.github.com> Date: Wed, 4 Dec 2024 14:51:17 +0000 Subject: [PATCH] build: change windows upload to remove wildcard on file name --- .github/workflows/build-desktop-application.yml | 3 ++- ocd/packages/desktop/src/main.ts | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-desktop-application.yml b/.github/workflows/build-desktop-application.yml index 0de54c02..a2302538 100644 --- a/.github/workflows/build-desktop-application.yml +++ b/.github/workflows/build-desktop-application.yml @@ -92,7 +92,8 @@ jobs: if: matrix.os == 'windows-latest' run: | ls ./ocd/dist/make/squirrel.windows/x64 - gh release upload ${{ env.RELEASE_TAG }} ./ocd/dist/make/squirrel.windows/x64/ocd-${{ env.OCD_VERSION }}*.exe --clobber + gh release upload ${{ env.RELEASE_TAG }} ./ocd/dist/make/squirrel.windows/x64/ocd-${{ env.OCD_VERSION }}-Setup.exe --clobber + ls ./ocd/dist/make/squirrel.windows/x64 # gh release upload ${{ env.RELEASE_TAG }} ./ocd/dist/win/ocd-${{ env.OCD_VERSION }}-x64.exe --clobber - name: Upload Linux Artifact to Release if: matrix.os == 'ubuntu-latest' diff --git a/ocd/packages/desktop/src/main.ts b/ocd/packages/desktop/src/main.ts index d9df54ba..570be965 100644 --- a/ocd/packages/desktop/src/main.ts +++ b/ocd/packages/desktop/src/main.ts @@ -14,8 +14,8 @@ import { OcdDesign } from '@ocd/model' import { OcdCache, OcdConsoleConfiguration } from '@ocd/react' // import { unescape } from 'querystring' -// app.commandLine.appendSwitch('ignore-certificate-errors') // Temporary work around for not being able to add additional certificates -// process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0' // Temporary work around for not being able to add additional certificates +app.commandLine.appendSwitch('ignore-certificate-errors') // Temporary work around for not being able to add additional certificates +process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0' // Temporary work around for not being able to add additional certificates // Get Environment information const isDev = process.env.OCD_DEV === 'true';