File tree 3 files changed +8
-8
lines changed
3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 3
3
"displayName" : " %displayName%" ,
4
4
"description" : " %description%" ,
5
5
"publisher" : " gitpod" ,
6
- "version" : " 0.0.26 " ,
6
+ "version" : " 0.0.27 " ,
7
7
"license" : " MIT" ,
8
8
"preview" : true ,
9
9
"icon" : " resources/gitpod.png" ,
Original file line number Diff line number Diff line change 3
3
"displayName" : " %displayName%" ,
4
4
"description" : " %description%" ,
5
5
"publisher" : " gitpod" ,
6
- "version" : " 0.0.26 " ,
6
+ "version" : " 0.0.27 " ,
7
7
"license" : " MIT" ,
8
8
"preview" : true ,
9
9
"icon" : " resources/gitpod.png" ,
Original file line number Diff line number Diff line change @@ -129,23 +129,23 @@ export async function activate(context: vscode.ExtensionContext) {
129
129
130
130
function downloadLocalApp ( gitpodHost : string ) : Promise < Response > {
131
131
let downloadUri = vscode . Uri . parse ( gitpodHost ) ;
132
- let arch = 'amd64 ' ;
132
+ let arch = '' ;
133
133
if ( process . arch === 'arm64' ) {
134
- arch = 'arm64' ;
134
+ arch = '- arm64' ;
135
135
} if ( process . arch === 'x32' && process . platform === 'win32' ) {
136
- arch = '386' ;
136
+ arch = '- 386' ;
137
137
}
138
138
if ( process . platform === 'win32' ) {
139
139
downloadUri = downloadUri . with ( {
140
- path : `/static/bin/gitpod-local-companion-windows- ${ arch } .exe`
140
+ path : `/static/bin/gitpod-local-companion-windows${ arch } .exe`
141
141
} ) ;
142
142
} else if ( process . platform === 'darwin' ) {
143
143
downloadUri = downloadUri . with ( {
144
- path : `/static/bin/gitpod-local-companion-darwin- ${ arch } `
144
+ path : `/static/bin/gitpod-local-companion-darwin${ arch } `
145
145
} ) ;
146
146
} else {
147
147
downloadUri = downloadUri . with ( {
148
- path : `/static/bin/gitpod-local-companion-linux- ${ arch } `
148
+ path : `/static/bin/gitpod-local-companion-linux${ arch } `
149
149
} ) ;
150
150
}
151
151
log ( `fetching the local app from ${ downloadUri . toString ( ) } ` ) ;
You can’t perform that action at this time.
0 commit comments