mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-09-24 00:51:53 +00:00
feat: update electron-builder configuration to include node binary in extraResources for Windows
This commit is contained in:
parent
7c712d25e6
commit
a966627d1b
2 changed files with 4 additions and 7 deletions
|
|
@ -32,12 +32,6 @@ extraResources:
|
|||
- '**/*'
|
||||
- from: '${env.GITNEXUS_DESKTOP_GITNEXUS_PACKAGE_JSON}'
|
||||
to: gitnexus/package.json
|
||||
- from: '${env.GITNEXUS_DESKTOP_NODE_BINARY}'
|
||||
to: runtime/node.exe
|
||||
filter:
|
||||
- '**/*'
|
||||
platform:
|
||||
- win
|
||||
asar: false
|
||||
npmRebuild: false
|
||||
win:
|
||||
|
|
@ -45,6 +39,9 @@ win:
|
|||
icon: build/icon.png
|
||||
target:
|
||||
- nsis
|
||||
extraResources:
|
||||
- from: '${env.GITNEXUS_DESKTOP_NODE_BINARY}'
|
||||
to: runtime/node.exe
|
||||
mac:
|
||||
category: public.app-category.developer-tools
|
||||
icon: build/icon.png
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ function medianTimeRegex(re: RegExp, input: string): number {
|
|||
* keeps the assertion stable while preserving regression coverage.
|
||||
*/
|
||||
function assertNearLinearScaling(elapsedSmall: number, elapsedLarge: number, label: string): void {
|
||||
if (elapsedSmall < RATIO_MEASUREMENT_FLOOR_MS && elapsedLarge < RATIO_MEASUREMENT_FLOOR_MS) {
|
||||
if (elapsedSmall < RATIO_MEASUREMENT_FLOOR_MS) {
|
||||
// Both runs completed below the noise floor — even the median is
|
||||
// dominated by `performance.now()` resolution. The absolute <500ms
|
||||
// cap elsewhere still catches catastrophic backtracking.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue