Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
掘金者说
vscode
提交
d3dafbf7
V
vscode
项目概览
掘金者说
/
vscode
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vscode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
d3dafbf7
编写于
5月 26, 2020
作者:
J
João Moreno
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
publish setup for win32-arm64
上级
74939c05
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
32 addition
and
30 deletion
+32
-30
build/azure-pipelines/win32/product-build-win32-arm64.yml
build/azure-pipelines/win32/product-build-win32-arm64.yml
+18
-18
build/azure-pipelines/win32/publish.ps1
build/azure-pipelines/win32/publish.ps1
+3
-7
build/gulpfile.vscode.win32.js
build/gulpfile.vscode.win32.js
+9
-5
product.json
product.json
+2
-0
未找到文件。
build/azure-pipelines/win32/product-build-win32-arm64.yml
浏览文件 @
d3dafbf7
...
...
@@ -157,24 +157,24 @@ steps:
]
SessionTimeout
:
120
#
- task: NuGetCommand@2
#
displayName: Install ESRPClient.exe
#
inputs:
#
restoreSolution: 'build\azure-pipelines\win32\ESRPClient\packages.config'
#
feedsToUse: config
#
nugetConfigPath: 'build\azure-pipelines\win32\ESRPClient\NuGet.config'
#
externalFeedCredentials: 3fc0b7f7-da09-4ae7-a9c8-d69824b1819b
#
restoreDirectory: packages
#
- task: ESRPImportCertTask@1
#
displayName: Import ESRP Request Signing Certificate
#
inputs:
#
ESRP: 'ESRP CodeSign'
#
- powershell: |
#
$ErrorActionPreference = "Stop"
#
.\build\azure-pipelines\win32\import-esrp-auth-cert.ps1 -AuthCertificateBase64 $(esrp-auth-certificate) -AuthCertificateKey $(esrp-auth-certificate-key)
#
displayName: Import ESRP Auth Certificate
-
task
:
NuGetCommand@2
displayName
:
Install ESRPClient.exe
inputs
:
restoreSolution
:
'
build\azure-pipelines\win32\ESRPClient\packages.config'
feedsToUse
:
config
nugetConfigPath
:
'
build\azure-pipelines\win32\ESRPClient\NuGet.config'
externalFeedCredentials
:
3fc0b7f7-da09-4ae7-a9c8-d69824b1819b
restoreDirectory
:
packages
-
task
:
ESRPImportCertTask@1
displayName
:
Import ESRP Request Signing Certificate
inputs
:
ESRP
:
'
ESRP
CodeSign'
-
powershell
:
|
$ErrorActionPreference = "Stop"
.\build\azure-pipelines\win32\import-esrp-auth-cert.ps1 -AuthCertificateBase64 $(esrp-auth-certificate) -AuthCertificateKey $(esrp-auth-certificate-key)
displayName
:
Import ESRP Auth Certificate
-
powershell
:
|
. build/azure-pipelines/win32/exec.ps1
...
...
build/azure-pipelines/win32/publish.ps1
浏览文件 @
d3dafbf7
...
...
@@ -3,11 +3,7 @@ $ErrorActionPreference = "Stop"
$Arch
=
"
$
env
:
VSCODE_ARCH
"
if
(
"
$Arch
"
-eq
"arm64"
)
{
exec
{
yarn
gulp
"vscode-win32-
$Arch
-archive"
}
}
else
{
exec
{
yarn
gulp
"vscode-win32-
$Arch
-archive"
"vscode-win32-
$Arch
-system-setup"
"vscode-win32-
$Arch
-user-setup"
--sign
}
}
exec
{
yarn
gulp
"vscode-win32-
$Arch
-archive"
"vscode-win32-
$Arch
-system-setup"
"vscode-win32-
$Arch
-user-setup"
--sign
}
$Repo
=
"
$(
pwd
)
"
$Root
= "
$Repo
\..
"
...
...
@@ -32,9 +28,9 @@ $Version = $PackageJson.version
$AssetPlatform
= if ("
$Arch
" -eq "
ia32
") { "
win32
" } else { "
win32-
$Arch
" }
exec { node build/azure-pipelines/common/createAsset.js "
$AssetPlatform
-archive
" archive "
VSCode-win32-
$Arch
-
$Version
.
zip
"
$Zip
}
exec { node build/azure-pipelines/common/createAsset.js "
$AssetPlatform
" setup "
VSCodeSetup-
$Arch
-
$Version
.
exe
"
$SystemExe
}
exec { node build/azure-pipelines/common/createAsset.js "
$AssetPlatform
-user
" setup "
VSCodeUserSetup-
$Arch
-
$Version
.
exe
"
$UserExe
}
if ("
$Arch
" -ne "
arm64
") {
exec { node build/azure-pipelines/common/createAsset.js "
$AssetPlatform
" setup "
VSCodeSetup-
$Arch
-
$Version
.
exe
"
$SystemExe
}
exec { node build/azure-pipelines/common/createAsset.js "
$AssetPlatform
-user
" setup "
VSCodeUserSetup-
$Arch
-
$Version
.
exe
"
$UserExe
}
exec { node build/azure-pipelines/common/createAsset.js "
server-
$AssetPlatform
" archive "
vscode-server-win32-
$Arch
.
zip
"
$ServerZip
}
}
build/gulpfile.vscode.win32.js
浏览文件 @
d3dafbf7
...
...
@@ -65,6 +65,7 @@ function buildWin32Setup(arch, target) {
return
cb
=>
{
const
ia32AppId
=
target
===
'
system
'
?
product
.
win32AppId
:
product
.
win32UserAppId
;
const
x64AppId
=
target
===
'
system
'
?
product
.
win32x64AppId
:
product
.
win32x64UserAppId
;
const
arm64AppId
=
target
===
'
system
'
?
product
.
win32arm64AppId
:
product
.
win32arm64UserAppId
;
const
sourcePath
=
buildPath
(
arch
);
const
outputPath
=
setupDir
(
arch
,
target
);
...
...
@@ -88,12 +89,12 @@ function buildWin32Setup(arch, target) {
ShellNameShort
:
product
.
win32ShellNameShort
,
AppMutex
:
product
.
win32MutexName
,
Arch
:
arch
,
AppId
:
arch
===
'
ia32
'
?
ia32AppId
:
x64AppId
,
IncompatibleTargetAppId
:
arch
===
'
ia32
'
?
product
.
win32AppId
:
product
.
win32x64AppId
,
IncompatibleArchAppId
:
arch
===
'
ia32
'
?
x64AppId
:
ia32AppId
,
AppId
:
{
'
ia32
'
:
ia32AppId
,
'
x64
'
:
x64AppId
,
'
arm64
'
:
arm64AppId
}[
arch
]
,
IncompatibleTargetAppId
:
{
'
ia32
'
:
product
.
win32AppId
,
'
x64
'
:
product
.
win32x64AppId
,
'
arm64
'
:
product
.
win32arm64AppId
}[
arch
]
,
IncompatibleArchAppId
:
{
'
ia32
'
:
x64AppId
,
'
x64
'
:
ia32AppId
,
'
arm64
'
:
ia32AppId
}[
arch
]
,
AppUserId
:
product
.
win32AppUserModelId
,
ArchitecturesAllowed
:
arch
===
'
ia32
'
?
''
:
'
x64
'
,
ArchitecturesInstallIn64BitMode
:
arch
===
'
ia32
'
?
''
:
'
x64
'
,
ArchitecturesAllowed
:
{
'
ia32
'
:
''
,
'
x64
'
:
'
x64
'
,
'
arm64
'
:
'
arm64
'
}[
arch
]
,
ArchitecturesInstallIn64BitMode
:
{
'
ia32
'
:
''
,
'
x64
'
:
'
x64
'
,
'
arm64
'
:
'
arm64
'
}[
arch
]
,
SourceDir
:
sourcePath
,
RepoDir
:
repoPath
,
OutputDir
:
outputPath
,
...
...
@@ -112,8 +113,10 @@ function defineWin32SetupTasks(arch, target) {
defineWin32SetupTasks
(
'
ia32
'
,
'
system
'
);
defineWin32SetupTasks
(
'
x64
'
,
'
system
'
);
defineWin32SetupTasks
(
'
arm64
'
,
'
system
'
);
defineWin32SetupTasks
(
'
ia32
'
,
'
user
'
);
defineWin32SetupTasks
(
'
x64
'
,
'
user
'
);
defineWin32SetupTasks
(
'
arm64
'
,
'
user
'
);
function
archiveWin32Setup
(
arch
)
{
return
cb
=>
{
...
...
@@ -145,6 +148,7 @@ function updateIcon(executablePath) {
gulp
.
task
(
task
.
define
(
'
vscode-win32-ia32-inno-updater
'
,
task
.
series
(
copyInnoUpdater
(
'
ia32
'
),
updateIcon
(
path
.
join
(
buildPath
(
'
ia32
'
),
'
tools
'
,
'
inno_updater.exe
'
)))));
gulp
.
task
(
task
.
define
(
'
vscode-win32-x64-inno-updater
'
,
task
.
series
(
copyInnoUpdater
(
'
x64
'
),
updateIcon
(
path
.
join
(
buildPath
(
'
x64
'
),
'
tools
'
,
'
inno_updater.exe
'
)))));
gulp
.
task
(
task
.
define
(
'
vscode-win32-arm64-inno-updater
'
,
task
.
series
(
copyInnoUpdater
(
'
arm64
'
),
updateIcon
(
path
.
join
(
buildPath
(
'
arm64
'
),
'
tools
'
,
'
inno_updater.exe
'
)))));
// CodeHelper.exe icon
...
...
product.json
浏览文件 @
d3dafbf7
...
...
@@ -11,8 +11,10 @@
"win32RegValueName"
:
"CodeOSS"
,
"win32AppId"
:
"{{E34003BB-9E10-4501-8C11-BE3FAA83F23F}"
,
"win32x64AppId"
:
"{{D77B7E06-80BA-4137-BCF4-654B95CCEBC5}"
,
"win32arm64AppId"
:
"{{D1ACE434-89C5-48D1-88D3-E2991DF85475}"
,
"win32UserAppId"
:
"{{C6065F05-9603-4FC4-8101-B9781A25D88E}"
,
"win32x64UserAppId"
:
"{{C6065F05-9603-4FC4-8101-B9781A25D88E}"
,
"win32arm64UserAppId"
:
"{{3AEBF0C8-F733-4AD4-BADE-FDB816D53D7B}"
,
"win32AppUserModelId"
:
"Microsoft.CodeOSS"
,
"win32ShellNameShort"
:
"C&ode - OSS"
,
"darwinBundleIdentifier"
:
"com.visualstudio.code.oss"
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录