@@ -99,11 +99,11 @@ function resolveVersionedPath(binPath: string, relativePath: string): string {
9999function writeBatchScriptCLITrampoline ( binPath : string ) : Promise < void > {
100100 const versionedPath = resolveVersionedPath (
101101 binPath ,
102- 'resources/app/static/github-desktop- plus-cli .bat'
102+ 'resources/app/static/github-plus.bat'
103103 )
104104
105105 const trampoline = `@echo off\n"%~dp0\\${ versionedPath } " %*`
106- const trampolinePath = Path . join ( binPath , 'github-desktop- plus-cli .bat' )
106+ const trampolinePath = Path . join ( binPath , 'github-plus.bat' )
107107
108108 return writeFile ( trampolinePath , trampoline )
109109}
@@ -115,13 +115,13 @@ function writeShellScriptCLITrampoline(binPath: string): Promise<void> {
115115 // to resolve it. See https://github.com/desktop/desktop/issues/4998
116116 const versionedPath = resolveVersionedPath (
117117 binPath ,
118- 'resources/app/static/github-desktop- plus-cli .sh'
118+ 'resources/app/static/github-plus.sh'
119119 ) . replace ( / \\ / g, '/' )
120120
121121 const trampoline = `#!/usr/bin/env bash
122122 DIR="$( cd "$( dirname "\$\{BASH_SOURCE[0]\}" )" && pwd )"
123123 sh "$DIR/${ versionedPath } " "$@"`
124- const trampolinePath = Path . join ( binPath , 'github-desktop- plus-cli ' )
124+ const trampolinePath = Path . join ( binPath , 'github-plus' )
125125
126126 return writeFile ( trampolinePath , trampoline , { encoding : 'utf8' , mode : 755 } )
127127}
0 commit comments