Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
0728b594
V
vscode
项目概览
xxadev
/
vscode
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vscode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
0728b594
编写于
11月 24, 2020
作者:
D
deepak1556
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: upload-vscode-configuration task for macOS
上级
f645a8d8
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
5 addition
and
2 deletion
+5
-2
build/azure-pipelines/darwin/product-build-darwin.yml
build/azure-pipelines/darwin/product-build-darwin.yml
+1
-0
build/gulpfile.vscode.js
build/gulpfile.vscode.js
+4
-2
未找到文件。
build/azure-pipelines/darwin/product-build-darwin.yml
浏览文件 @
0728b594
...
@@ -315,6 +315,7 @@ steps:
...
@@ -315,6 +315,7 @@ steps:
-
script
:
|
-
script
:
|
AZURE_STORAGE_ACCESS_KEY="$(ticino-storage-key)" \
AZURE_STORAGE_ACCESS_KEY="$(ticino-storage-key)" \
VSCODE_ARCH="$(VSCODE_ARCH)" \
yarn gulp upload-vscode-configuration
yarn gulp upload-vscode-configuration
displayName
:
Upload configuration (for Bing settings search)
displayName
:
Upload configuration (for Bing settings search)
condition
:
and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'))
condition
:
and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'))
...
...
build/gulpfile.vscode.js
浏览文件 @
0728b594
...
@@ -456,8 +456,10 @@ const generateVSCodeConfigurationTask = task.define('generate-vscode-configurati
...
@@ -456,8 +456,10 @@ const generateVSCodeConfigurationTask = task.define('generate-vscode-configurati
const
userDataDir
=
path
.
join
(
os
.
tmpdir
(),
'
tmpuserdata
'
);
const
userDataDir
=
path
.
join
(
os
.
tmpdir
(),
'
tmpuserdata
'
);
const
extensionsDir
=
path
.
join
(
os
.
tmpdir
(),
'
tmpextdir
'
);
const
extensionsDir
=
path
.
join
(
os
.
tmpdir
(),
'
tmpextdir
'
);
const
appName
=
process
.
env
.
VSCODE_QUALITY
===
'
insider
'
?
'
Visual
\\
Studio
\\
Code
\\
-
\\
Insiders.app
'
:
'
Visual
\\
Studio
\\
Code.app
'
;
const
arch
=
process
.
env
[
'
VSCODE_ARCH
'
];
const
appPath
=
path
.
join
(
buildDir
,
`VSCode-darwin/
${
appName
}
/Contents/Resources/app/bin/code`
);
const
appRoot
=
path
.
join
(
buildDir
,
`VSCode-darwin-
${
arch
}
`
);
const
appName
=
product
.
nameLong
+
'
.app
'
;
const
appPath
=
path
.
join
(
appRoot
,
appName
,
'
Contents
'
,
'
Resources
'
,
'
app
'
,
'
bin
'
,
'
code
'
);
const
codeProc
=
cp
.
exec
(
const
codeProc
=
cp
.
exec
(
`
${
appPath
}
--export-default-configuration='
${
allConfigDetailsPath
}
' --wait --user-data-dir='
${
userDataDir
}
' --extensions-dir='
${
extensionsDir
}
'`
,
`
${
appPath
}
--export-default-configuration='
${
allConfigDetailsPath
}
' --wait --user-data-dir='
${
userDataDir
}
' --extensions-dir='
${
extensionsDir
}
'`
,
(
err
,
stdout
,
stderr
)
=>
{
(
err
,
stdout
,
stderr
)
=>
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录