mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-18 05:34:41 +10:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e0c124d19e | ||
|
|
2b1a4ff693 | ||
|
|
05819c1f79 | ||
|
|
4782bb2ead | ||
|
|
3909371fa4 |
13
.github/workflows/macos.yml
vendored
13
.github/workflows/macos.yml
vendored
@@ -12,6 +12,7 @@ jobs:
|
|||||||
runs-on: macOS-latest
|
runs-on: macOS-latest
|
||||||
env:
|
env:
|
||||||
OS_NAME: "osx"
|
OS_NAME: "osx"
|
||||||
|
VSCODE_ARCH: "x64"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
@@ -43,8 +44,8 @@ jobs:
|
|||||||
CERTIFICATE_OSX_ID: ${{ secrets.CERTIFICATE_OSX_ID }}
|
CERTIFICATE_OSX_ID: ${{ secrets.CERTIFICATE_OSX_ID }}
|
||||||
if: env.SHOULD_BUILD == 'yes'
|
if: env.SHOULD_BUILD == 'yes'
|
||||||
run: |
|
run: |
|
||||||
if [ -d "VSCode-darwin" ]; then # just in case the build failed
|
if [ -d "VSCode-darwin-${VSCODE_ARCH}" ]; then # just in case the build failed
|
||||||
cd VSCode-darwin
|
cd "VSCode-darwin-${VSCODE_ARCH}"
|
||||||
export CERTIFICATE_P12=VSCodium.p12
|
export CERTIFICATE_P12=VSCodium.p12
|
||||||
echo $CERTIFICATE_OSX_P12 | base64 --decode > $CERTIFICATE_P12
|
echo $CERTIFICATE_OSX_P12 | base64 --decode > $CERTIFICATE_P12
|
||||||
export KEYCHAIN=build.keychain
|
export KEYCHAIN=build.keychain
|
||||||
@@ -58,15 +59,15 @@ jobs:
|
|||||||
|
|
||||||
- name: Zip release
|
- name: Zip release
|
||||||
run: |
|
run: |
|
||||||
cd VSCode-darwin
|
cd "VSCode-darwin-${VSCODE_ARCH}"
|
||||||
zip -r -X -y ../VSCodium-darwin-${LATEST_MS_TAG}.zip ./*.app
|
zip -r -X -y ../VSCodium-darwin-${VSCODE_ARCH}-${LATEST_MS_TAG}.zip ./*.app
|
||||||
if: env.SHOULD_BUILD == 'yes'
|
if: env.SHOULD_BUILD == 'yes'
|
||||||
|
|
||||||
- name: DMG the release
|
- name: DMG the release
|
||||||
run: |
|
run: |
|
||||||
pushd VSCode-darwin
|
pushd "VSCode-darwin-${VSCODE_ARCH}"
|
||||||
npx create-dmg VSCodium.app ..
|
npx create-dmg VSCodium.app ..
|
||||||
mv "../VSCodium ${LATEST_MS_TAG}.dmg" "../VSCodium.${LATEST_MS_TAG}.dmg"
|
mv "../VSCodium ${LATEST_MS_TAG}.dmg" "../VSCodium.${VSCODE_ARCH}.${LATEST_MS_TAG}.dmg"
|
||||||
popd
|
popd
|
||||||
if: env.SHOULD_BUILD == 'yes'
|
if: env.SHOULD_BUILD == 'yes'
|
||||||
|
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ flatpak run com.vscodium.codium
|
|||||||
## <a id="why"></a>Why Does This Exist
|
## <a id="why"></a>Why Does This Exist
|
||||||
This repository contains build files to generate free release binaries of Microsoft's VSCode. When we speak of "free software", we're talking about freedom, not price.
|
This repository contains build files to generate free release binaries of Microsoft's VSCode. When we speak of "free software", we're talking about freedom, not price.
|
||||||
|
|
||||||
Microsoft's downloads of Visual Studio Code are licensed under [this not-FLOSS license](https://code.visualstudio.com/license) and contain telemetry/tracking. According to [this comment](https://github.com/Microsoft/vscode/issues/60#issuecomment-161792005) from a Visual Studio Code maintainer:
|
Microsoft's releases of Visual Studio Code are licensed under [this not-FLOSS license](https://code.visualstudio.com/license) and contain telemetry/tracking. According to [this comment](https://github.com/Microsoft/vscode/issues/60#issuecomment-161792005) from a Visual Studio Code maintainer:
|
||||||
|
|
||||||
> When we [Microsoft] build Visual Studio Code, we do exactly this. We clone the vscode repository, we lay down a customized product.json that has Microsoft specific functionality (telemetry, gallery, logo, etc.), and then produce a build that we release under our license.
|
> When we [Microsoft] build Visual Studio Code, we do exactly this. We clone the vscode repository, we lay down a customized product.json that has Microsoft specific functionality (telemetry, gallery, logo, etc.), and then produce a build that we release under our license.
|
||||||
>
|
>
|
||||||
|
|||||||
2
build.sh
2
build.sh
@@ -26,7 +26,7 @@ if [[ "$SHOULD_BUILD" == "yes" ]]; then
|
|||||||
yarn gulp minify-vscode
|
yarn gulp minify-vscode
|
||||||
|
|
||||||
if [[ "$OS_NAME" == "osx" ]]; then
|
if [[ "$OS_NAME" == "osx" ]]; then
|
||||||
yarn gulp vscode-darwin-min-ci
|
yarn gulp "vscode-darwin-${VSCODE_ARCH}-min-ci"
|
||||||
elif [[ "$CI_WINDOWS" == "True" ]]; then
|
elif [[ "$CI_WINDOWS" == "True" ]]; then
|
||||||
cp LICENSE.txt LICENSE.rtf # windows build expects rtf license
|
cp LICENSE.txt LICENSE.rtf # windows build expects rtf license
|
||||||
yarn gulp "vscode-win32-${BUILDARCH}-min-ci"
|
yarn gulp "vscode-win32-${BUILDARCH}-min-ci"
|
||||||
|
|||||||
Reference in New Issue
Block a user