diff options
author | André Oliveira <37463445+SpecialAro@users.noreply.github.com> | 2022-04-23 09:51:03 -0500 |
---|---|---|
committer | Vijay A <vraravam@users.noreply.github.com> | 2022-04-23 09:51:03 -0500 |
commit | 68fd8ca15d0efbe2eb1257a71dadb529bd20664f (patch) | |
tree | 17c53964659a12767294b671062615085db1c865 | |
parent | Use correct folder separator for windows [skip ci] (diff) | |
download | ferdium-app-68fd8ca15d0efbe2eb1257a71dadb529bd20664f.tar.gz ferdium-app-68fd8ca15d0efbe2eb1257a71dadb529bd20664f.tar.zst ferdium-app-68fd8ca15d0efbe2eb1257a71dadb529bd20664f.zip |
Fix windows build script [skip ci]
Fix changelog url (rebranding fix)
-rw-r--r-- | scripts/build-windows.ps1 | 8 | ||||
-rw-r--r-- | src/lib/Menu.js | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/scripts/build-windows.ps1 b/scripts/build-windows.ps1 index 72f941c05..99ea3d040 100644 --- a/scripts/build-windows.ps1 +++ b/scripts/build-windows.ps1 | |||
@@ -96,7 +96,7 @@ if ($env:CLEAN -eq "true") | |||
96 | # Check python version | 96 | # Check python version |
97 | $EXPECTED_PYTHON_VERSION = "3.10.4" | 97 | $EXPECTED_PYTHON_VERSION = "3.10.4" |
98 | $ACTUAL_PYTHON_VERSION = (python --version).trim("Python ") | 98 | $ACTUAL_PYTHON_VERSION = (python --version).trim("Python ") |
99 | if ([System.Version]$ACTUAL_PYTHON_VERSION -le [System.Version]$EXPECTED_PYTHON_VERSION) { | 99 | if ([System.Version]$ACTUAL_PYTHON_VERSION -ne [System.Version]$EXPECTED_PYTHON_VERSION) { |
100 | fail_with_docs "You are not running the expected version of Python! | 100 | fail_with_docs "You are not running the expected version of Python! |
101 | expected: [$EXPECTED_PYTHON_VERSION] | 101 | expected: [$EXPECTED_PYTHON_VERSION] |
102 | actual : [$ACTUAL_PYTHON_VERSION]" | 102 | actual : [$ACTUAL_PYTHON_VERSION]" |
@@ -106,7 +106,7 @@ if ([System.Version]$ACTUAL_PYTHON_VERSION -le [System.Version]$EXPECTED_PYTHON_ | |||
106 | # Check MSVS Tools through MSVS_VERSION | 106 | # Check MSVS Tools through MSVS_VERSION |
107 | $EXPECTED_MSVST_VERSION = "2015" | 107 | $EXPECTED_MSVST_VERSION = "2015" |
108 | $ACTUAL_MSVST_VERSION = (npm config get msvs_version) | 108 | $ACTUAL_MSVST_VERSION = (npm config get msvs_version) |
109 | if ([double]$ACTUAL_MSVST_VERSION -le [double]$EXPECTED_MSVST_VERSION) { | 109 | if ([double]$ACTUAL_MSVST_VERSION -ne [double]$EXPECTED_MSVST_VERSION) { |
110 | fail_with_docs "You are not running the expected version of MSVS Tools! | 110 | fail_with_docs "You are not running the expected version of MSVS Tools! |
111 | expected: [$EXPECTED_MSVST_VERSION] | 111 | expected: [$EXPECTED_MSVST_VERSION] |
112 | actual : [$ACTUAL_MSVST_VERSION]" | 112 | actual : [$ACTUAL_MSVST_VERSION]" |
@@ -150,7 +150,7 @@ else | |||
150 | & $BASE_CMD run prepare-code | 150 | & $BASE_CMD run prepare-code |
151 | 151 | ||
152 | # ----------------------------------------------------------------------------- | 152 | # ----------------------------------------------------------------------------- |
153 | Write-Host "\n*************** Building recipes ***************\n" | 153 | Write-Host "*************** Building recipes ***************" |
154 | # Note: 'recipes' is already using only pnpm - can switch to $BASE_CMD AFTER both repos are using pnpm | 154 | # Note: 'recipes' is already using only pnpm - can switch to $BASE_CMD AFTER both repos are using pnpm |
155 | Push-Location recipes | 155 | Push-Location recipes |
156 | pnpm i | 156 | pnpm i |
@@ -158,7 +158,7 @@ pnpm package | |||
158 | Pop-Location | 158 | Pop-Location |
159 | 159 | ||
160 | # ----------------------------------------------------------------------------- | 160 | # ----------------------------------------------------------------------------- |
161 | Write-Host "\n*************** Building app ***************\n" | 161 | Write-Host "*************** Building app ***************" |
162 | $TARGET_ARCH="x64" | 162 | $TARGET_ARCH="x64" |
163 | & $BASE_CMD run build -- --$TARGET_ARCH --dir | 163 | & $BASE_CMD run build -- --$TARGET_ARCH --dir |
164 | 164 | ||
diff --git a/src/lib/Menu.js b/src/lib/Menu.js index ed9fd7286..28de1f1c8 100644 --- a/src/lib/Menu.js +++ b/src/lib/Menu.js | |||
@@ -520,7 +520,7 @@ const _titleBarTemplateFactory = (intl, locked) => [ | |||
520 | label: intl.formatMessage(menuItems.changelog), | 520 | label: intl.formatMessage(menuItems.changelog), |
521 | click() { | 521 | click() { |
522 | openExternalUrl( | 522 | openExternalUrl( |
523 | `${GITHUB_FERDIUM_URL}/ferdium/releases/tag/v${ferdiumVersion}`, | 523 | `${GITHUB_FERDIUM_URL}/ferdium-app/releases/tag/v${ferdiumVersion}`, |
524 | true, | 524 | true, |
525 | ); | 525 | ); |
526 | }, | 526 | }, |