浏览代码

Rename app to VSCodium (#12)

Peter Squicciarini 6 年之前
父节点
当前提交
ee1cf86ff7
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. 2 0
      .travis.yml
  2. 1 1
      build.sh

+ 2 - 0
.travis.yml

@@ -21,6 +21,8 @@ before_deploy:
 deploy:
 deploy:
   provider: releases
   provider: releases
   skip_cleanup: true
   skip_cleanup: true
+  overwrite: true
+  name: $LATEST_MS_TAG
   api_key: $GITHUB_TOKEN
   api_key: $GITHUB_TOKEN
   file_glob: true
   file_glob: true
   file:
   file:

+ 1 - 1
build.sh

@@ -4,7 +4,7 @@ if [[ "$SHOULD_BUILD" == "yes" ]]; then
   cd vscode
   cd vscode
   yarn
   yarn
   mv product.json product.json.bak
   mv product.json product.json.bak
-  cat product.json.bak | jq 'setpath(["extensionsGallery"]; {"serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery", "cacheUrl": "https://vscode.blob.core.windows.net/gallery/index", "itemUrl": "https://marketplace.visualstudio.com/items"})' > product.json
+  cat product.json.bak | jq 'setpath(["extensionsGallery"]; {"serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery", "cacheUrl": "https://vscode.blob.core.windows.net/gallery/index", "itemUrl": "https://marketplace.visualstudio.com/items"}) | setpath(["nameShort"]; "VSCodium") | setpath(["nameLong"]; "VSCodium") | setpath(["applicationName"]; "vscodium") | setpath(["win32MutexName"]; "vscodium") | setpath(["win32DirName"]; "VSCodium") | setpath(["win32NameVersion"]; "VSCodium") | setpath(["win32RegValueName"]; "VSCodium") | setpath(["win32AppUserModelId"]; "Microsoft.VSCodium") | setpath(["win32ShellNameShort"]; "V&SCodium") | setpath(["urlProtocol"]; "vscodium")' > product.json
   cat product.json
   cat product.json
   export NODE_ENV=production
   export NODE_ENV=production