Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

Commit

Permalink
fix: always set binpath
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Apr 20, 2018
1 parent d731695 commit 66e5206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/pack/win.ts
Expand Up @@ -34,8 +34,8 @@ export default class PackWin extends Command {
const scripts = {
cmd: (config: Config.IConfig) => `@echo off
set ${config.scopedEnvVarKey('BINPATH')}=%~dp0\\${config.bin}.cmd
if exist "%LOCALAPPDATA%\\${config.dirname}\\client\\bin\\${config.bin}.cmd" (
set ${config.scopedEnvVarKey('BINPATH')}=%~dp0\\${config.bin}.cmd
"%LOCALAPPDATA%\\${config.dirname}\\client\\bin\\${config.bin}.cmd" %*
) else (
"%~dp0\\..\\client\\bin\\node.exe" "%~dp0\\..\\client\\bin\\run" %*
Expand Down

0 comments on commit 66e5206

Please sign in to comment.