Skip to content

Incorrect path being made in .cmd wrapper on windows.  #68

@rwaldron

Description

@rwaldron

Following the execution path:

this.targetRelPath = `engines/${engine}`;

jsvu/shared/installer.js

Lines 131 to 132 in 853836d

const wrapperPath = process.platform === 'win32' ?
`%~dp0${this.targetRelPath}` :

const contents = generateScript(wrapperPath)

Which results in this:

@echo off
"%~dp0engines/v8\v8.exe" --natives_blob="%~dp0engines/v8\natives_blob.bin" --snapshot_blob="%~dp0engines/v8\snapshot_blob.bin" %*

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions