aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorLibravatar André Oliveira <oliveira.andrerodrigues95@gmail.com>2022-04-23 18:54:54 -0500
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2022-04-23 18:54:54 -0500
commitf63e4f817f8940e289b04407cdca06f57b5c668c (patch)
tree74d8b652e78eb22ab0209bd1d5f586c11173af41 /scripts
parentUpgrade 'electron-builder' to '23.0.7' (diff)
downloadferdium-app-f63e4f817f8940e289b04407cdca06f57b5c668c.tar.gz
ferdium-app-f63e4f817f8940e289b04407cdca06f57b5c668c.tar.zst
ferdium-app-f63e4f817f8940e289b04407cdca06f57b5c668c.zip
Fix: Windows build script [skip ci]
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build-windows.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build-windows.ps1 b/scripts/build-windows.ps1
index 3c17d60ae..1f4a890c3 100644
--- a/scripts/build-windows.ps1
+++ b/scripts/build-windows.ps1
@@ -127,7 +127,7 @@ if ($EXPECTED_NPM_VERSION -ne $ACTUAL_NPM_VERSION) {
127 127
128# Check pnpm version 128# Check pnpm version
129$EXPECTED_PNPM_VERSION = (Get-Content recipes\package.json | ConvertFrom-Json).engines.pnpm 129$EXPECTED_PNPM_VERSION = (Get-Content recipes\package.json | ConvertFrom-Json).engines.pnpm
130$ACTUAL_PNPM_VERSION = (pnpm --version || true) # in case the pnpm executable itself is not present 130$ACTUAL_PNPM_VERSION = Get-Command pnpm --version -ErrorAction SilentlyContinue # in case the pnpm executable itself is not present
131if ($ACTUAL_PNPM_VERSION -ne $EXPECTED_PNPM_VERSION) { 131if ($ACTUAL_PNPM_VERSION -ne $EXPECTED_PNPM_VERSION) {
132 npm i -gf pnpm@$EXPECTED_PNPM_VERSION 132 npm i -gf pnpm@$EXPECTED_PNPM_VERSION
133} 133}