Customize JSON files with code-server name
This commit is contained in:
parent
5677ff2edf
commit
f8f4bfd76f
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"name": "code-server"
|
||||||
|
}
|
|
@ -0,0 +1,19 @@
|
||||||
|
{
|
||||||
|
"nameShort": "code-server",
|
||||||
|
"nameLong": "code-server",
|
||||||
|
"applicationName": "code-server",
|
||||||
|
"dataFolderName": ".code-server",
|
||||||
|
"win32MutexName": "codeserver",
|
||||||
|
"win32DirName": "Code Server",
|
||||||
|
"win32NameVersion": "Code Server",
|
||||||
|
"win32RegValueName": "CodeServer",
|
||||||
|
"win32AppId": "",
|
||||||
|
"win32x64AppId": "",
|
||||||
|
"win32UserAppId": "",
|
||||||
|
"win32x64UserAppId": "",
|
||||||
|
"win32AppUserModelId": "CodeServer",
|
||||||
|
"win32ShellNameShort": "C&ode Server",
|
||||||
|
"darwinBundleIdentifier": "com.code.server",
|
||||||
|
"linuxIconName": "com.code.server",
|
||||||
|
"urlProtocol": "code-server"
|
||||||
|
}
|
|
@ -56,7 +56,8 @@ function build-code-server() {
|
||||||
mkdir -p "${codeServerBuildPath}"
|
mkdir -p "${codeServerBuildPath}"
|
||||||
|
|
||||||
cp -r "${vscodeBuildPath}/resources/app/extensions" "${codeServerBuildPath}"
|
cp -r "${vscodeBuildPath}/resources/app/extensions" "${codeServerBuildPath}"
|
||||||
cp -r "${vscodeBuildPath}/resources/app/"*.json "${codeServerBuildPath}"
|
jq -s '.[0] * .[1]' "${vscodeBuildPath}/resources/app/package.json" "${rootPath}/scripts/package.json" > "${codeServerBuildPath}/package.json"
|
||||||
|
jq -s '.[0] * .[1]' "${vscodeBuildPath}/resources/app/product.json" "${rootPath}/scripts/product.json" > "${codeServerBuildPath}/product.json"
|
||||||
cp -r "${vscodeSourcePath}/out" "${codeServerBuildPath}"
|
cp -r "${vscodeSourcePath}/out" "${codeServerBuildPath}"
|
||||||
rm -rf "${codeServerBuildPath}/out/vs/server/node_modules"
|
rm -rf "${codeServerBuildPath}/out/vs/server/node_modules"
|
||||||
cp -r "${vscodeSourcePath}/remote/node_modules" "${codeServerBuildPath}"
|
cp -r "${vscodeSourcePath}/remote/node_modules" "${codeServerBuildPath}"
|
||||||
|
|
Loading…
Reference in New Issue