├── .editorconfig ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ └── bug_report.md ├── dependabot.yml └── workflows │ ├── insider-linux.yml │ ├── insider-macos.yml │ ├── insider-spearhead.yml │ ├── insider-windows.yml │ ├── lock.yml │ ├── release-on-winget.yml │ ├── stable-linux.yml │ ├── stable-macos.yml │ ├── stable-spearhead.yml │ ├── stable-windows.yml │ └── stale.yml ├── .gitignore ├── .npmrc ├── .nvmrc ├── 7z2408-x64_codium.zip ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── LICENSE.md ├── Logo.png ├── README.md ├── announcements-builtin.json ├── announcements-extra.json ├── avx.patch ├── bionic.patch ├── build.sh ├── build ├── build.ps1 ├── build.sh ├── build_docker.sh ├── linux │ └── appimage │ │ ├── build.sh │ │ └── recipe.yml ├── update_api.sh ├── update_patches.sh └── windows │ ├── msi │ ├── build-updates-disabled.sh │ ├── build.sh │ ├── i18n │ │ ├── vscodium.de-de.wxl │ │ ├── vscodium.en-us.wxl │ │ ├── vscodium.es-es.wxl │ │ ├── vscodium.fr-fr.wxl │ │ ├── vscodium.it-it.wxl │ │ ├── vscodium.ja-jp.wxl │ │ ├── vscodium.ko-kr.wxl │ │ ├── vscodium.ru-ru.wxl │ │ ├── vscodium.zh-cn.wxl │ │ └── vscodium.zh-tw.wxl │ ├── includes │ │ └── vscodium-variables.wxi │ ├── resources │ │ ├── insider │ │ │ ├── wix-banner.bmp │ │ │ └── wix-dialog.bmp │ │ └── stable │ │ │ ├── wix-banner.bmp │ │ │ └── wix-dialog.bmp │ ├── vscodium.wxs │ └── vscodium.xsl │ └── rtf │ └── make.sh ├── build_codium.sh ├── check_cron_or_pr.sh ├── check_tags.sh ├── clean.sh ├── docs ├── accounts-authentication.md ├── extensions-compatibility.md ├── howto-build.md ├── index.md └── troubleshooting.md ├── electron.riscv64.sh ├── get_repo.sh ├── icons ├── README.md ├── build_icons.sh ├── corner_512.png ├── insider │ ├── codium_clt.svg │ ├── codium_cnl.svg │ └── codium_cnl_w80_b8.svg ├── stable │ ├── codium_clt.svg │ ├── codium_cnl.svg │ └── codium_cnl_w80_b8.svg └── template_macos.png ├── insider.json ├── install_gh.sh ├── logos.zip ├── macos-codesign.env.template ├── macos_patch.sh ├── nt6.patch ├── package_alpine_reh.sh ├── package_linux_bin.sh ├── package_linux_reh.sh ├── patch.sh ├── patches ├── alpine │ └── reh │ │ └── fix-node-docker.patch ├── binary-name.patch ├── brand.patch ├── build-version.patch ├── crash-reporter.patch ├── disable-cloud.patch ├── disable-signature-verification.patch ├── ext-from-gh.patch ├── feat-announcements.patch ├── fix-eol-banner.patch ├── fix-remote-libs.patch ├── helper │ └── settings.patch ├── insider │ ├── add-remote-url.patch │ ├── disable-windows-appx.patch │ └── system-extensions.patch ├── linux │ ├── client │ │ ├── disable-remote.patch │ │ └── node16.patch.no │ ├── fix-build.patch │ ├── fix-reh-bootstrap.patch │ ├── ppc64le-and-riscv64-support.bak │ ├── reh │ │ └── node16.patch │ ├── rpm.patch │ └── yarn-dependencies.patch ├── merge-user-product.patch ├── ms-build-id.patch ├── osx │ └── fix-codesign.patch ├── process-explorer.patch ├── quit-keybindings.patch ├── remove-mangle.patch ├── report-issue.patch ├── update-cache-path.patch ├── use-github-pat.patch ├── user │ └── readme.txt └── windows │ ├── update-msi.patch │ ├── update.patch │ └── win7.patch ├── prepare_assets.sh ├── prepare_src.sh ├── prepare_vscode.sh ├── product.json ├── promo.png ├── release.sh ├── src ├── insider │ ├── resources │ │ ├── darwin │ │ │ ├── bat.icns │ │ │ ├── bower.icns │ │ │ ├── c.icns │ │ │ ├── code.icns │ │ │ ├── config.icns │ │ │ ├── cpp.icns │ │ │ ├── csharp.icns │ │ │ ├── css.icns │ │ │ ├── default.icns │ │ │ ├── go.icns │ │ │ ├── html.icns │ │ │ ├── jade.icns │ │ │ ├── java.icns │ │ │ ├── javascript.icns │ │ │ ├── json.icns │ │ │ ├── less.icns │ │ │ ├── markdown.icns │ │ │ ├── php.icns │ │ │ ├── powershell.icns │ │ │ ├── python.icns │ │ │ ├── react.icns │ │ │ ├── ruby.icns │ │ │ ├── sass.icns │ │ │ ├── shell.icns │ │ │ ├── sql.icns │ │ │ ├── typescript.icns │ │ │ ├── vue.icns │ │ │ ├── xml.icns │ │ │ └── yaml.icns │ │ ├── linux │ │ │ ├── code-url-handler.desktop │ │ │ ├── code.appdata.xml │ │ │ ├── code.desktop │ │ │ ├── code.png │ │ │ └── rpm │ │ │ │ └── code.xpm │ │ ├── server │ │ │ ├── code-192.png │ │ │ ├── code-512.png │ │ │ └── favicon.ico │ │ └── win32 │ │ │ ├── VisualElementsManifest.xml │ │ │ ├── bower.ico │ │ │ ├── c.ico │ │ │ ├── code.ico │ │ │ ├── code_150x150.png │ │ │ ├── code_70x70.png │ │ │ ├── config.ico │ │ │ ├── cpp.ico │ │ │ ├── csharp.ico │ │ │ ├── css.ico │ │ │ ├── default.ico │ │ │ ├── go.ico │ │ │ ├── html.ico │ │ │ ├── inno-big-100.bmp │ │ │ ├── inno-big-125.bmp │ │ │ ├── inno-big-150.bmp │ │ │ ├── inno-big-175.bmp │ │ │ ├── inno-big-200.bmp │ │ │ ├── inno-big-225.bmp │ │ │ ├── inno-big-250.bmp │ │ │ ├── inno-small-100.bmp │ │ │ ├── inno-small-125.bmp │ │ │ ├── inno-small-150.bmp │ │ │ ├── inno-small-175.bmp │ │ │ ├── inno-small-200.bmp │ │ │ ├── inno-small-225.bmp │ │ │ ├── inno-small-250.bmp │ │ │ ├── jade.ico │ │ │ ├── java.ico │ │ │ ├── javascript.ico │ │ │ ├── json.ico │ │ │ ├── less.ico │ │ │ ├── markdown.ico │ │ │ ├── php.ico │ │ │ ├── powershell.ico │ │ │ ├── python.ico │ │ │ ├── react.ico │ │ │ ├── ruby.ico │ │ │ ├── sass.ico │ │ │ ├── shell.ico │ │ │ ├── sql.ico │ │ │ ├── typescript.ico │ │ │ ├── vue.ico │ │ │ ├── xml.ico │ │ │ └── yaml.ico │ └── src │ │ └── vs │ │ └── workbench │ │ └── browser │ │ ├── media │ │ └── code-icon.svg │ │ └── parts │ │ └── editor │ │ └── media │ │ ├── letterpress-dark.svg │ │ ├── letterpress-hcDark.svg │ │ ├── letterpress-hcLight.svg │ │ └── letterpress-light.svg └── stable │ ├── resources │ ├── darwin │ │ ├── bat.icns │ │ ├── bower.icns │ │ ├── c.icns │ │ ├── code.icns │ │ ├── config.icns │ │ ├── cpp.icns │ │ ├── csharp.icns │ │ ├── css.icns │ │ ├── default.icns │ │ ├── go.icns │ │ ├── html.icns │ │ ├── jade.icns │ │ ├── java.icns │ │ ├── javascript.icns │ │ ├── json.icns │ │ ├── less.icns │ │ ├── markdown.icns │ │ ├── php.icns │ │ ├── powershell.icns │ │ ├── python.icns │ │ ├── react.icns │ │ ├── ruby.icns │ │ ├── sass.icns │ │ ├── shell.icns │ │ ├── sql.icns │ │ ├── typescript.icns │ │ ├── vue.icns │ │ ├── xml.icns │ │ └── yaml.icns │ ├── linux │ │ ├── code-url-handler.desktop │ │ ├── code.appdata.xml │ │ ├── code.desktop │ │ ├── code.png │ │ └── rpm │ │ │ └── code.xpm │ ├── server │ │ ├── code-192.png │ │ ├── code-512.png │ │ └── favicon.ico │ └── win32 │ │ ├── VisualElementsManifest.xml │ │ ├── bower.ico │ │ ├── c.ico │ │ ├── code.ico │ │ ├── code_150x150.png │ │ ├── code_70x70.png │ │ ├── config.ico │ │ ├── cpp.ico │ │ ├── csharp.ico │ │ ├── css.ico │ │ ├── default.ico │ │ ├── go.ico │ │ ├── html.ico │ │ ├── inno-big-100.bmp │ │ ├── inno-big-125.bmp │ │ ├── inno-big-150.bmp │ │ ├── inno-big-175.bmp │ │ ├── inno-big-200.bmp │ │ ├── inno-big-225.bmp │ │ ├── inno-big-250.bmp │ │ ├── inno-small-100.bmp │ │ ├── inno-small-125.bmp │ │ ├── inno-small-150.bmp │ │ ├── inno-small-175.bmp │ │ ├── inno-small-200.bmp │ │ ├── inno-small-225.bmp │ │ ├── inno-small-250.bmp │ │ ├── jade.ico │ │ ├── java.ico │ │ ├── javascript.ico │ │ ├── json.ico │ │ ├── less.ico │ │ ├── markdown.ico │ │ ├── php.ico │ │ ├── powershell.ico │ │ ├── python.ico │ │ ├── react.ico │ │ ├── ruby.ico │ │ ├── sass.ico │ │ ├── shell.ico │ │ ├── sql.ico │ │ ├── typescript.ico │ │ ├── vue.ico │ │ ├── xml.ico │ │ └── yaml.ico │ └── src │ └── vs │ └── workbench │ └── browser │ ├── media │ └── code-icon.svg │ └── parts │ └── editor │ └── media │ ├── letterpress-dark.svg │ ├── letterpress-hcDark.svg │ ├── letterpress-hcLight.svg │ └── letterpress-light.svg ├── stable.json ├── stores ├── snapcraft │ ├── check_version.sh │ ├── insider │ │ └── snap │ │ │ ├── local │ │ │ └── bin │ │ │ │ └── electron-launch │ │ │ └── snapcraft.yaml │ └── stable │ │ └── snap │ │ ├── local │ │ └── bin │ │ │ └── electron-launch │ │ └── snapcraft.yaml └── winget │ └── check_version.sh ├── undo_telemetry.sh ├── update_qualityjson.sh ├── update_settings.sh ├── update_version.sh ├── utils.sh ├── version.sh ├── win32-ia32.patch └── win7_patch.sh /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 2 6 | tab_width = 2 7 | end_of_line = lf 8 | charset = utf-8 9 | trim_trailing_whitespace = true 10 | insert_final_newline = true 11 | 12 | [*.sh] 13 | indent_style = space 14 | indent_size = 2 15 | 16 | [*.{yml,yaml}] 17 | indent_style = space 18 | indent_size = 2 19 | 20 | [*.patch] 21 | trim_trailing_whitespace = false 22 | insert_final_newline = false 23 | 24 | [*.svg] 25 | insert_final_newline = false 26 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: ['Alex313031'] 4 | custom: ['https://paypal.me/alex313031?country.x=US&locale.x=en_US'] 5 | patreon: ThoriumDeveloper 6 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve or fix 4 | title: '' 5 | labels: bug 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Describe the bug** 11 | A clear and concise description of what the bug is. 12 | 13 | **Please confirm that this problem is Codium-specific** 14 | - [ ] This bug doesn't happen if I use Microsoft's Visual Studio Code. It only happens in Codium. 15 | 16 | **Please confirm that the issue/resolution isn't already documented** 17 | - [ ] I checked [the Docs page](https://github.com/Alex313031/codium/blob/master/docs/index.md) and [the Troubleshooting page](https://github.com/Alex313031/codium/blob/master/docs/troubleshooting.md) and my issue is not mentioned there. 18 | 19 | **To Reproduce** 20 | Steps to reproduce the behavior: 21 | 1. Go to '...' 22 | 2. Click on '....' 23 | 3. Scroll down to '....' 24 | 4. See error 25 | 26 | **Expected behavior** 27 | A clear and concise description of what you expected to happen. 28 | 29 | **Screenshots** 30 | If applicable, add screenshots to help explain your problem. 31 | 32 | **Desktop (please complete the following information):** 33 | - OS: [e.g. Windows 7, Ubuntu 18.04, etc] 34 | - Architecture [e.g. x64, ia32, arm64] 35 | - Version [e.g. 1.79.0] 36 | - App Manager [e.g. .exe, AppImage, DEB, RPM, .zip, ...] 37 | - Sandboxed [e.g. Yes, No, AppImage] 38 | 39 | **Additional context** 40 | Add any other context about the problem here. 41 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | # To get started with Dependabot version updates, you'll need to specify which 2 | # package ecosystems to update and where the package manifests are located. 3 | # Please see the documentation for all configuration options: 4 | # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates 5 | 6 | version: 2 7 | updates: 8 | - package-ecosystem: "github-actions" 9 | directory: "/" 10 | schedule: 11 | interval: "weekly" 12 | -------------------------------------------------------------------------------- /.github/workflows/insider-spearhead.yml: -------------------------------------------------------------------------------- 1 | name: insider-spearhead 2 | 3 | on: 4 | workflow_dispatch: 5 | inputs: 6 | new_release: 7 | type: boolean 8 | description: Force new Release 9 | force_dispatch: 10 | type: boolean 11 | description: Force dispatch 12 | dont_update: 13 | type: boolean 14 | description: Don't update VSCode 15 | dont_dispatch: 16 | type: boolean 17 | description: Disable dispatch 18 | schedule: 19 | - cron: '0 7 * * *' 20 | 21 | jobs: 22 | build: 23 | runs-on: macos-14 24 | env: 25 | APP_NAME: VSCodium 26 | ASSETS_REPOSITORY: ${{ github.repository }}-insiders 27 | VERSIONS_REPOSITORY: ${{ github.repository_owner }}/versions 28 | OS_NAME: osx 29 | VSCODE_ARCH: arm64 30 | VSCODE_LATEST: ${{ github.event.inputs.dont_update == 'true' && 'no' || 'yes' }} 31 | VSCODE_QUALITY: insider 32 | 33 | steps: 34 | - uses: actions/checkout@v4 35 | with: 36 | ref: insider 37 | 38 | - name: Setup Node.js environment 39 | uses: actions/setup-node@v4 40 | with: 41 | node-version: '20.12' 42 | 43 | - name: Clone VSCode repo 44 | run: . get_repo.sh 45 | 46 | - name: Check existing VSCodium tags/releases 47 | env: 48 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 49 | NEW_RELEASE: ${{ github.event.inputs.new_release }} 50 | IS_SPEARHEAD: 'yes' 51 | run: . check_tags.sh 52 | 53 | - name: Build 54 | env: 55 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 56 | run: ./build.sh 57 | if: env.SHOULD_BUILD == 'yes' 58 | 59 | - name: Update .json 60 | run: ./update_qualityjson.sh 61 | env: 62 | GITHUB_TOKEN: ${{ secrets.STRONGER_GITHUB_TOKEN }} 63 | GITHUB_USERNAME: ${{ github.repository_owner }} 64 | if: env.SHOULD_BUILD == 'yes' && github.event.inputs.dont_update != 'true' 65 | 66 | - name: Prepare source 67 | run: ./prepare_src.sh 68 | if: env.SHOULD_BUILD == 'yes' 69 | 70 | - name: Release source 71 | env: 72 | GITHUB_TOKEN: ${{ secrets.STRONGER_GITHUB_TOKEN }} 73 | GITHUB_USERNAME: ${{ github.repository_owner }} 74 | run: ./release.sh 75 | if: env.SHOULD_BUILD == 'yes' 76 | 77 | - name: Dispatch builds 78 | uses: peter-evans/repository-dispatch@v3 79 | with: 80 | event-type: 'insider' 81 | if: github.event.inputs.dont_dispatch != 'true' && (env.SHOULD_BUILD == 'yes' || github.event.inputs.force_dispatch == 'true') 82 | -------------------------------------------------------------------------------- /.github/workflows/lock.yml: -------------------------------------------------------------------------------- 1 | name: Lock Issues 2 | 3 | on: 4 | schedule: 5 | - cron: '0 2 * * *' 6 | 7 | jobs: 8 | lock: 9 | runs-on: ubuntu-latest 10 | steps: 11 | - uses: dessant/lock-threads@v5 12 | with: 13 | github-token: ${{ github.token }} 14 | issue-inactive-days: '90' 15 | pr-inactive-days: '90' 16 | log-output: true 17 | -------------------------------------------------------------------------------- /.github/workflows/release-on-winget.yml: -------------------------------------------------------------------------------- 1 | name: Submit Codium User Setup package to the Windows Package Manager Community Repository 2 | 3 | on: 4 | workflow_dispatch: 5 | release: 6 | types: [published] 7 | 8 | jobs: 9 | winget: 10 | name: Publish WinGet Package 11 | runs-on: windows-latest 12 | steps: 13 | - name: Submit Codium User Setup (.exe) package with WinGet Create 14 | run: | 15 | # Define the GitHub repository owner and repository name 16 | $owner = "Alex313031" 17 | $repo = "codium" 18 | 19 | # Define the pattern to filter assets 20 | $pattern = "*.exe" 21 | 22 | # Construct the API URL 23 | $url = "https://api.github.com/repos/$owner/$repo/releases/latest" 24 | 25 | # Make a GET request to the GitHub API 26 | $response = Invoke-RestMethod -Uri $url -Method Get 27 | 28 | # Filter assets based on the pattern 29 | $filteredAssets = $response.assets | Where-Object { $_.name -like $pattern } 30 | 31 | # Initialize variables to store the version and download URL 32 | $version = "" 33 | $downloadUrl = "" 34 | 35 | # Check if any matching assets were found 36 | if ($filteredAssets.Count -eq 0) { 37 | Write-Output "No matching assets found." 38 | } else { 39 | # Extract the version and download URL from the first matching asset 40 | $version = $response.tag_name 41 | $downloadUrl = $filteredAssets[0].browser_download_url 42 | 43 | # Output the version and download URL 44 | Write-Output "Latest release version: $version" 45 | Write-Output "Latest release download URL: $downloadUrl" 46 | } 47 | $version 48 | $downloadUrl 49 | $packageId = "Alex313031.Codium" 50 | $gitToken = "${{ secrets.GITHUB_TOKEN }}" 51 | 52 | # Install .NET Runtime 53 | Invoke-WebRequest https://dot.net/v1/dotnet-install.ps1 -OutFile dotnet-install.ps1 54 | .\dotnet-install.ps1 -Runtime dotnet -Architecture x64 -Version 6.0.13 -InstallDir $env:ProgramFiles\dotnet 55 | 56 | # Update package using wingetcreate 57 | Invoke-WebRequest https://aka.ms/wingetcreate/latest -OutFile wingetcreate.exe 58 | .\wingetcreate.exe update $packageId --version $version --urls "$installerUrl" --submit --token $gitToken 59 | -------------------------------------------------------------------------------- /.github/workflows/stable-spearhead.yml: -------------------------------------------------------------------------------- 1 | name: stable-spearhead 2 | 3 | on: 4 | workflow_dispatch: 5 | inputs: 6 | new_release: 7 | type: boolean 8 | description: Force new Release 9 | force_dispatch: 10 | type: boolean 11 | description: Force dispatch 12 | dont_update: 13 | type: boolean 14 | description: Don't update VSCode 15 | schedule: 16 | - cron: '0 18 * * *' 17 | 18 | jobs: 19 | build: 20 | runs-on: macos-14 21 | env: 22 | APP_NAME: VSCodium 23 | ASSETS_REPOSITORY: ${{ github.repository }} 24 | VERSIONS_REPOSITORY: ${{ github.repository_owner }}/versions 25 | OS_NAME: osx 26 | VSCODE_ARCH: arm64 27 | VSCODE_LATEST: ${{ github.event.inputs.dont_update == 'true' && 'no' || 'yes' }} 28 | VSCODE_QUALITY: stable 29 | 30 | steps: 31 | - uses: actions/checkout@v4 32 | 33 | - name: Setup Node.js environment 34 | uses: actions/setup-node@v4 35 | with: 36 | node-version: '20.12' 37 | 38 | - name: Clone VSCode repo 39 | run: . get_repo.sh 40 | 41 | - name: Check existing VSCodium tags/releases 42 | env: 43 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 44 | NEW_RELEASE: ${{ github.event.inputs.new_release }} 45 | IS_SPEARHEAD: 'yes' 46 | run: . check_tags.sh 47 | 48 | - name: Build 49 | env: 50 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 51 | run: ./build.sh 52 | if: env.SHOULD_BUILD == 'yes' 53 | 54 | - name: Update .json 55 | run: ./update_qualityjson.sh 56 | env: 57 | GITHUB_TOKEN: ${{ secrets.STRONGER_GITHUB_TOKEN }} 58 | GITHUB_USERNAME: ${{ github.repository_owner }} 59 | if: env.SHOULD_BUILD == 'yes' && github.event.inputs.dont_update != 'true' 60 | 61 | - name: Prepare source 62 | run: ./prepare_src.sh 63 | if: env.SHOULD_BUILD == 'yes' 64 | 65 | - name: Release source 66 | env: 67 | GITHUB_TOKEN: ${{ secrets.STRONGER_GITHUB_TOKEN }} 68 | GITHUB_USERNAME: ${{ github.repository_owner }} 69 | run: ./release.sh 70 | if: env.SHOULD_BUILD == 'yes' 71 | 72 | - name: Dispatch builds 73 | uses: peter-evans/repository-dispatch@v3 74 | with: 75 | event-type: 'stable' 76 | if: env.SHOULD_BUILD == 'yes' || github.event.inputs.force_dispatch == 'true' 77 | -------------------------------------------------------------------------------- /.github/workflows/stale.yml: -------------------------------------------------------------------------------- 1 | name: Stale Issues 2 | 3 | on: 4 | schedule: 5 | - cron: '0 1 * * *' 6 | 7 | permissions: 8 | issues: write 9 | 10 | jobs: 11 | stale: 12 | runs-on: ubuntu-latest 13 | steps: 14 | - uses: actions/stale@v9 15 | with: 16 | days-before-stale: 180 17 | days-before-close: 30 18 | stale-issue-label: stale 19 | operations-per-run: 1024 20 | stale-issue-message: > 21 | This issue has been automatically marked as stale. **If this issue is still affecting you, please leave any comment**, and we'll keep it open. If you have any new additional information, please include it with your comment! 22 | close-issue-message: > 23 | This issue has been closed due to inactivity, and will not be monitored. If this is a bug and you can reproduce this issue, please open a new issue. 24 | exempt-issue-labels: discussion,never-stale 25 | only-pr-labels: needs-information 26 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | vscode* 2 | VS*/* 3 | VSCode* 4 | VSCodium* 5 | .DS_Store 6 | *.env 7 | assets/ 8 | /release/ 9 | build/linux/appimage/out 10 | build/linux/appimage/pkg2appimage.AppDir 11 | build/linux/appimage/pkg2appimage-*.AppImage 12 | build/linux/appimage/pkg2appimage.AppImage 13 | build/linux/appimage/squashfs-root 14 | build/linux/appimage/VSCodium 15 | build/windows/msi/releasedir 16 | build/windows/msi/Files*.wxs 17 | build/windows/msi/Files*.wixobj 18 | stores/snapcraft/insider/*.snap 19 | stores/snapcraft/stable/*.snap 20 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | node-version=16.17.1 2 | -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | lts/hydrogen 2 | -------------------------------------------------------------------------------- /7z2408-x64_codium.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/7z2408-x64_codium.zip -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | :+1::tada: First off, thanks for taking the time to contribute! :tada::+1: 4 | 5 | #### Table Of Contents 6 | 7 | - [Code of Conduct](#code-of-conduct) 8 | - [Reporting Bugs](#reporting-bugs) 9 | - [Making Changes](#making-changes) 10 | 11 | ## Code of Conduct 12 | 13 | This project and everyone participating in it is governed by the [Codium Code of Conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. 14 | 15 | ## Reporting Bugs 16 | 17 | ### Before Submitting an Issue 18 | 19 | Before creating bug reports, please check existing issues and [the Troubleshooting page](https://github.com/Alex313031/codium/blob/master/docs/troubleshooting.md) as you might find out that you don't need to create one. 20 | When you are creating a bug report, please include as many details as possible. Fill out [the required template](https://github.com/Alex313031/codium/issues/new?&labels=bug&&template=bug_report.md), the information it asks for helps us resolve issues faster. 21 | 22 | ## Making Changes 23 | 24 | If you want to make changes, please read [the Build page](./docs/howto-build.md). 25 | 26 | ### Building Codium 27 | 28 | To build Codium, please follow the command found in the section [`Build Scripts`](./docs/howto-build.md#build-scripts). 29 | 30 | ### Updating patches 31 | 32 | If you want to update the existing patches, please follow the section [`Patch Update Process - Semi-Automated`](./docs/howto-build.md#patch-update-process-semiauto). 33 | 34 | ### Add a new patch 35 | 36 | - first, you need to build Codium 37 | - then use the command `patch.sh `, to initiate a new patch 38 | - when the script pauses at `Press any key when the conflict have been resolved...`, open `vscode` directory in **Codium** 39 | - run `yarn watch` 40 | - run `./script/code.sh` 41 | - make your changes 42 | - press any key to continue the script `patch.sh` 43 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022-present Alex313031 4 | Copyright (c) 2018-present The VSCodium contributors 5 | Copyright (c) 2018-present Peter Squicciarini 6 | Copyright (c) 2015-present Microsoft Corporation 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in all 16 | copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 24 | SOFTWARE. 25 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022-present Alex313031 4 | Copyright (c) 2018-present The VSCodium contributors 5 | Copyright (c) 2018-present Peter Squicciarini 6 | Copyright (c) 2015-present Microsoft Corporation 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in all 16 | copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 24 | SOFTWARE. 25 | -------------------------------------------------------------------------------- /Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/Logo.png -------------------------------------------------------------------------------- /announcements-builtin.json: -------------------------------------------------------------------------------- 1 | [ 2 | ] 3 | -------------------------------------------------------------------------------- /announcements-extra.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "id": "#1227", 4 | "title": "Issue(macOS): manual update to `1.90.x`", 5 | "url": "https://github.com/VSCodium/vscodium/issues/1917" 6 | }, 7 | { 8 | "id": "#1228", 9 | "title": "32 Bit Windows Builds Available", 10 | "url": "https://github.com/Alex313031/codium/blob/master/win32-ia32.patch" 11 | } 12 | ] 13 | -------------------------------------------------------------------------------- /bionic.patch: -------------------------------------------------------------------------------- 1 | diff --git a/build/linux/debian/calculate-deps.js b/build/linux/debian/calculate-deps.js 2 | index bbcb6bf..ff88c25 100644 3 | --- a/build/linux/debian/calculate-deps.js 4 | +++ b/build/linux/debian/calculate-deps.js 5 | @@ -78,9 +78,12 @@ function calculatePackageDeps(binaryPath, arch, chromiumSysroot, vscodeSysroot) 6 | // TODO(deepak1556): remove this workaround in favor of computing the 7 | // versions from build container for native modules. 8 | const filteredDeps = depsStr.split(', ').filter(dependency => { 9 | - return !dependency.startsWith('libgcc-s1'); 10 | + return !dependency.startsWith('libgcc-s1') && 11 | + !dependency.startsWith('libgssapi-krb5-2') && 12 | + !dependency.startsWith('libkrb5-3') && 13 | + !dependency.startsWith('libxkbfile1'); 14 | }).sort(); 15 | const requires = new Set(filteredDeps); 16 | return requires; 17 | } 18 | -//# sourceMappingURL=calculate-deps.js.map 19 | \ No newline at end of file 20 | +//# sourceMappingURL=calculate-deps.js.map 21 | diff --git a/build/linux/debian/calculate-deps.ts b/build/linux/debian/calculate-deps.ts 22 | index 92f8065..f964ccf 100644 23 | --- a/build/linux/debian/calculate-deps.ts 24 | +++ b/build/linux/debian/calculate-deps.ts 25 | @@ -90,7 +90,10 @@ function calculatePackageDeps(binaryPath: string, arch: DebianArchString, chromi 26 | // TODO(deepak1556): remove this workaround in favor of computing the 27 | // versions from build container for native modules. 28 | const filteredDeps = depsStr.split(', ').filter(dependency => { 29 | - return !dependency.startsWith('libgcc-s1'); 30 | + return !dependency.startsWith('libgcc-s1') && 31 | + !dependency.startsWith('libgssapi-krb5-2') && 32 | + !dependency.startsWith('libkrb5-3') && 33 | + !dependency.startsWith('libxkbfile1'); 34 | }).sort(); 35 | const requires = new Set(filteredDeps); 36 | return requires; 37 | diff --git a/build/linux/debian/dep-lists.js b/build/linux/debian/dep-lists.js 38 | index 3a642a7..a822c56 100644 39 | --- a/build/linux/debian/dep-lists.js 40 | +++ b/build/linux/debian/dep-lists.js 41 | @@ -13,6 +13,8 @@ exports.additionalDeps = [ 42 | 'libnss3 (>= 3.26)', 43 | 'libcurl3-gnutls | libcurl3-nss | libcurl4 | libcurl3', // For Breakpad crash reports. 44 | 'xdg-utils (>= 1.0.2)', // OS integration 45 | + 'libgssapi-krb5-2 (>= 1.16)', 46 | + 'libkrb5-3 (>= 1.16)' 47 | ]; 48 | // Based on https://source.chromium.org/chromium/chromium/src/+/main:chrome/installer/linux/debian/manual_recommends 49 | // Dependencies that we can only recommend 50 | diff --git a/build/linux/debian/dep-lists.ts b/build/linux/debian/dep-lists.ts 51 | index 86d1de1..2a72b94 100644 52 | --- a/build/linux/debian/dep-lists.ts 53 | +++ b/build/linux/debian/dep-lists.ts 54 | @@ -11,6 +11,8 @@ export const additionalDeps = [ 55 | 'libnss3 (>= 3.26)', 56 | 'libcurl3-gnutls | libcurl3-nss | libcurl4 | libcurl3', // For Breakpad crash reports. 57 | 'xdg-utils (>= 1.0.2)', // OS integration 58 | + 'libgssapi-krb5-2 (>= 1.16)', 59 | + 'libkrb5-3 (>= 1.16)' 60 | ]; 61 | 62 | // Based on https://source.chromium.org/chromium/chromium/src/+/main:chrome/installer/linux/debian/manual_recommends 63 | -------------------------------------------------------------------------------- /build/build.ps1: -------------------------------------------------------------------------------- 1 | # powershell -ExecutionPolicy ByPass -File .\build\build.ps1 2 | 3 | # first so `bash` is the one installed with `git`, avoid conflict with WSL 4 | $env:Path = "C:\Program Files\Git\bin;" + $env:Path 5 | 6 | set CFLAGS="-DNDEBUG -msse3 -O3 -g0 -s" 7 | set CXXFLAGS="-DNDEBUG -msse3 -O3 -g0 -s" 8 | set CPPFLAGS="-DNDEBUG -msse3 -O3 -g0 -s" 9 | set LDFLAGS="-Wl,-O3 -msse3 -s" 10 | 11 | bash ./build/build.sh 12 | -------------------------------------------------------------------------------- /build/build_docker.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # shellcheck disable=SC1091 3 | 4 | exists() { type -t "$1" &> /dev/null; } 5 | 6 | export APP_NAME="Codium" 7 | export CI_BUILD="no" 8 | export OS_NAME="linux" 9 | export SHOULD_BUILD="yes" 10 | export SKIP_ASSETS="no" 11 | export VSCODE_LATEST="no" 12 | export VSCODE_QUALITY="stable" 13 | 14 | while getopts ":ilp" opt; do 15 | case "$opt" in 16 | i) 17 | export VSCODE_QUALITY="insider" 18 | ;; 19 | l) 20 | export VSCODE_LATEST="yes" 21 | ;; 22 | p) 23 | export SKIP_ASSETS="yes" 24 | ;; 25 | *) 26 | ;; 27 | esac 28 | done 29 | 30 | if ! exists yarn; then 31 | curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash - 32 | sudo apt-get install -y nodejs desktop-file-utils 33 | 34 | npm install -g yarn 35 | fi 36 | 37 | UNAME_ARCH=$( uname -m ) 38 | 39 | if [[ "${UNAME_ARCH}" == "x86_64" ]]; then 40 | export VSCODE_ARCH="x64" 41 | else 42 | export npm_config_arch=armv7l 43 | export npm_config_force_process_config="true" 44 | export VSCODE_ARCH="armhf" 45 | fi 46 | 47 | echo "OS_NAME=\"${OS_NAME}\"" 48 | echo "SKIP_ASSETS=\"${SKIP_ASSETS}\"" 49 | echo "VSCODE_ARCH=\"${VSCODE_ARCH}\"" 50 | echo "VSCODE_LATEST=\"${VSCODE_LATEST}\"" 51 | echo "VSCODE_QUALITY=\"${VSCODE_QUALITY}\"" 52 | 53 | rm -rf vscode* VSCode* 54 | 55 | . get_repo.sh 56 | . build_codium.sh 57 | 58 | if [[ "${SKIP_ASSETS}" == "no" ]]; then 59 | . prepare_assets.sh 60 | fi 61 | -------------------------------------------------------------------------------- /build/linux/appimage/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -ex 4 | 5 | CALLER_DIR=$( pwd ) 6 | 7 | cd "$( dirname "${BASH_SOURCE[0]}" )" 8 | 9 | if [[ "${VSCODE_ARCH}" == "x64" ]]; then 10 | GITHUB_RESPONSE=$( curl --silent --location "https://api.github.com/repos/AppImage/pkg2appimage/releases/latest" ) 11 | APPIMAGE_URL=$( echo "${GITHUB_RESPONSE}" | jq --raw-output '.assets | map(select( .name | test("x86_64.AppImage(?!.zsync)"))) | map(.browser_download_url)[0]' ) 12 | 13 | if [[ -z "${APPIMAGE_URL}" ]]; then 14 | echo "The url for pkg2appimage.AppImage hasn't been found" 15 | exit 1 16 | fi 17 | 18 | wget -c "${APPIMAGE_URL}" -O pkg2appimage.AppImage 19 | 20 | chmod +x ./pkg2appimage.AppImage 21 | 22 | ./pkg2appimage.AppImage --appimage-extract && mv ./squashfs-root ./pkg2appimage.AppDir 23 | 24 | # add update's url 25 | sed -i 's/generate_type2_appimage/generate_type2_appimage -u "gh-releases-zsync|Codium|codium|latest|*.AppImage.zsync"/' pkg2appimage.AppDir/AppRun 26 | 27 | # remove check so build in docker can succeed 28 | sed -i 's/grep docker/# grep docker/' pkg2appimage.AppDir/usr/share/pkg2appimage/functions.sh 29 | 30 | if [[ "${VSCODE_QUALITY}" == "insider" ]]; then 31 | sed -i 's|@@NAME@@|Codium Dev|g' recipe.yml 32 | sed -i 's|@@APPNAME@@|codium-dev|g' recipe.yml 33 | sed -i 's|@@ICON@@|codium-dev|g' recipe.yml 34 | else 35 | sed -i 's|@@NAME@@|Codium|g' recipe.yml 36 | sed -i 's|@@APPNAME@@|codium|g' recipe.yml 37 | sed -i 's|@@ICON@@|codium|g' recipe.yml 38 | fi 39 | 40 | bash -ex pkg2appimage.AppDir/AppRun recipe.yml 41 | 42 | rm -f pkg2appimage-*.AppImage 43 | rm -rf pkg2appimage.AppDir 44 | rm -rf Codium* 45 | fi 46 | 47 | cd "${CALLER_DIR}" 48 | -------------------------------------------------------------------------------- /build/linux/appimage/recipe.yml: -------------------------------------------------------------------------------- 1 | # Based on 2 | # https://github.com/AppImage/pkg2appimage/blob/master/recipes/VSCode.yml 3 | # 4 | # On a Debian/Ubuntu system: 5 | # wget -c "https://github.com/AppImage/pkg2appimage/raw/master/pkg2appimage" 6 | # bash -ex pkg2appimage Codium 7 | 8 | app: Codium 9 | 10 | ingredients: 11 | packages: 12 | - code 13 | - libgconf2-4 14 | dist: trusty 15 | sources: 16 | - deb http://archive.ubuntu.com/ubuntu/ trusty main universe 17 | script: 18 | - pwd 19 | - cp ../../../../vscode/.build/linux/deb/amd64/deb/*.deb . 20 | - ls codium_*.deb | cut -d _ -f 2 > VERSION 21 | 22 | script: 23 | - sed -i -e 's|/usr/share/pixmaps/||g' usr/share/applications/codium.desktop 24 | - cp usr/share/applications/codium.desktop . 25 | - cp usr/share/pixmaps/codium.png . 26 | - /usr/bin/convert codium.png -resize 512x512 usr/share/icons/hicolor/512x512/apps/codium.png 27 | - /usr/bin/convert codium.png -resize 256x256 usr/share/icons/hicolor/256x256/apps/codium.png 28 | - /usr/bin/convert codium.png -resize 128x128 usr/share/icons/hicolor/128x128/apps/codium.png 29 | - /usr/bin/convert codium.png -resize 64x64 usr/share/icons/hicolor/64x64/apps/codium.png 30 | - /usr/bin/convert codium.png -resize 48x48 usr/share/icons/hicolor/48x48/apps/codium.png 31 | - /usr/bin/convert codium.png -resize 32x32 usr/share/icons/hicolor/32x32/apps/codium.png 32 | - ( cd usr/bin/ ; ln -s ../share/codium/codium . ) 33 | - rm -rf usr/lib/x86_64-linux-gnu 34 | - rm -f lib/x86_64-linux-gnu/libglib* 35 | - cat > AppRun <<\EOF 36 | - #!/bin/sh 37 | - HERE="$(dirname "$(readlink -f "${0}")")" 38 | - export PATH="${HERE}"/usr/bin/:"${HERE}"/usr/sbin/:"${HERE}"/usr/games/:"${HERE}"/bin/:"${HERE}"/sbin/:"${PATH}" 39 | - export LD_LIBRARY_PATH="${HERE}"/usr/lib/:"${HERE}"/usr/lib32/:"${HERE}"/usr/lib64/:"${HERE}"/lib/:"${HERE}"/lib/i386-linux-gnu/:"${HERE}"/lib/x86_64-linux-gnu/:"${HERE}"/lib32/:"${HERE}"/lib64/:"${LD_LIBRARY_PATH}" 40 | - export XDG_DATA_DIRS="${HERE}"/usr/share/:"${XDG_DATA_DIRS}" 41 | - export PERLLIB="${HERE}"/usr/share/perl5/:"${HERE}"/usr/lib/perl5/:"${PERLLIB}" 42 | - export GSETTINGS_SCHEMA_DIR="${HERE}"/usr/share/glib-2.0/schemas/:"${GSETTINGS_SCHEMA_DIR}" 43 | - export QT_PLUGIN_PATH="${HERE}"/usr/lib/qt4/plugins/:"${HERE}"/usr/lib/i386-linux-gnu/qt4/plugins/:"${HERE}"/usr/lib/x86_64-linux-gnu/qt4/plugins/:"${HERE}"/usr/lib32/qt4/plugins/:"${HERE}"/usr/lib64/qt4/plugins/:"${HERE}"/usr/lib/qt5/plugins/:"${HERE}"/usr/lib/i386-linux-gnu/qt5/plugins/:"${HERE}"/usr/lib/x86_64-linux-gnu/qt5/plugins/:"${HERE}"/usr/lib32/qt5/plugins/:"${HERE}"/usr/lib64/qt5/plugins/:"${QT_PLUGIN_PATH}" 44 | - EXEC=$(grep -e '^Exec=.*' "${HERE}"/*.desktop | head -n 1 | cut -d "=" -f 2- | sed -e 's|%.||g') 45 | - exec ${EXEC} "$@" 46 | - EOF 47 | -------------------------------------------------------------------------------- /build/update_api.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | 5 | export VSCODE_QUALITY="stable" 6 | 7 | while getopts ":i" opt; do 8 | case "$opt" in 9 | i) 10 | export VSCODE_QUALITY="insider" 11 | ;; 12 | *) 13 | ;; 14 | esac 15 | done 16 | 17 | 18 | URL=$( curl -s "https://update.code.visualstudio.com/api/update/win32-x64-archive/${VSCODE_QUALITY}/0000000000000000000000000000000000000000" | jq -c '.url' | sed -E 's/.*"([^"]+)".*/\1/' ) 19 | # echo "url: ${URL}" 20 | FILE="${URL##*/}" 21 | # echo "file: ${FILE}" 22 | DIRECTORY="${FILE%.zip}" 23 | # echo "directory: ${DIRECTORY}" 24 | 25 | if [[ ! -f "${FILE}" ]]; then 26 | wget "${URL}" 27 | fi 28 | 29 | if [[ ! -d "${DIRECTORY}" ]]; then 30 | unzip "${FILE}" -d "${DIRECTORY}" 31 | fi 32 | 33 | APIS=$( jq -r '.extensionEnabledApiProposals' "${DIRECTORY}/resources/app/product.json" ) 34 | 35 | APIS=$( echo "${APIS}" | jq '. += {"jeanp413.open-remote-ssh": ["resolvers", "tunnels", "terminalDataWriteEvent", "contribRemoteHelp", "contribViewsRemote"]}' ) 36 | APIS=$( echo "${APIS}" | jq '. += {"jeanp413.open-remote-wsl": ["resolvers", "contribRemoteHelp", "contribViewsRemote"]}' ) 37 | 38 | jsonTmp=$( jq --argjson v "${APIS}" 'setpath(["extensionEnabledApiProposals"]; $v)' product.json ) 39 | echo "${jsonTmp}" > product.json && unset jsonTmp 40 | -------------------------------------------------------------------------------- /build/update_patches.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | export VSCODE_QUALITY="stable" 4 | 5 | while getopts ":i" opt; do 6 | case "$opt" in 7 | i) 8 | export VSCODE_QUALITY="insider" 9 | ;; 10 | *) 11 | ;; 12 | esac 13 | done 14 | 15 | check_file() { 16 | if [[ -f "${1}" ]]; then 17 | echo applying patch: "${1}" 18 | if ! git apply --ignore-whitespace "${1}"; then 19 | echo failed to apply patch "${1}" 20 | 21 | git apply --reject "${1}" 22 | git apply --reject "../patches/helper/settings.patch" 23 | 24 | read -rp "Press any key when the conflict have been resolved..." -n1 -s 25 | 26 | git restore .vscode/settings.json 27 | git add . 28 | git diff --staged -U1 > "${1}" 29 | fi 30 | git add . 31 | git reset -q --hard HEAD 32 | fi 33 | } 34 | 35 | cd vscode || { echo "'vscode' dir not found"; exit 1; } 36 | 37 | git add . 38 | git reset -q --hard HEAD 39 | 40 | for FILE in ../patches/*.patch; do 41 | check_file "${FILE}" 42 | done 43 | 44 | if [[ "${VSCODE_QUALITY}" == "insider" ]]; then 45 | for FILE in ../patches/insider/*.patch; do 46 | check_file "${FILE}" 47 | done 48 | fi 49 | 50 | for FILE in ../patches/linux/*/*.patch; do 51 | check_file "${FILE}" 52 | done 53 | -------------------------------------------------------------------------------- /build/windows/msi/build-updates-disabled.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -ex 4 | 5 | CALLER_DIR=$( pwd ) 6 | 7 | cd "$( dirname "${BASH_SOURCE[0]}" )" 8 | 9 | SCRIPT_DIR=$( pwd ) 10 | 11 | cd "../../../VSCode-win32-${VSCODE_ARCH}/resources/app" 12 | 13 | jsonTmp=$( jq "del(.updateUrl)" product.json ) 14 | echo "${jsonTmp}" > product.json && unset jsonTmp 15 | 16 | cd "${SCRIPT_DIR}" 17 | 18 | ./build.sh "updates-disabled" 19 | 20 | cd "${CALLER_DIR}" 21 | -------------------------------------------------------------------------------- /build/windows/msi/i18n/vscodium.de-de.wxl: -------------------------------------------------------------------------------- 1 |  2 | 3 | 1031 4 | @@PRODUCT_NAME@@ 5 | https://github.com/Alex313031/codium 6 | https://github.com/Alex313031/codium 7 | https://github.com/Alex313031/codium 8 | Paket mit @@PRODUCT_NAME@@ 9 | Startmenü-Verknüpfung 10 | Startmenü-Symbol erstellen. 11 | Desktop-Verknüpfung 12 | Desktop-Symbol erstellen. 13 | Dateizuordnungen 14 | @@PRODUCT_NAME@@ als Editor für unterstützte Dateitypen registrieren. 15 | Dateikontextmenü 16 | Aktion "Mit @@PRODUCT_NAME@@ öffnen" dem Dateikontextmenü von Windows-Explorer hinzufügen. 17 | Verzeichniskontextmenü 18 | Aktion "Mit @@PRODUCT_NAME@@ öffnen" dem Verzeichniskontextmenü von Windows-Explorer hinzufügen. 19 | Zu PATH hinzufügen 20 | @@PRODUCT_NAME@@ zur PATH Variable hinzufügen. Nach dem Neustart verfügbar. 21 | @@PRODUCT_NAME@@ ausführen 22 | Eine neuere Version von @@PRODUCT_NAME@@ ist bereits installiert. 23 | Diese Anwendung erfordert .NET Framework 4.5.2 oder höher. Bitte installieren Sie .NET Framework und führen Sie dieses Installationsprogramm erneut aus. 24 | Windows 7 oder neuer ist erforderlich. 25 | 26 | -------------------------------------------------------------------------------- /build/windows/msi/i18n/vscodium.en-us.wxl: -------------------------------------------------------------------------------- 1 |  2 | 3 | 1033 4 | @@PRODUCT_NAME@@ 5 | https://github.com/Alex313031/codium 6 | https://github.com/Alex313031/codium 7 | https://github.com/Alex313031/codium 8 | Package with @@PRODUCT_NAME@@ 9 | Start Menu shortcut 10 | Create a start menu icon. 11 | Desktop shortcut 12 | Create a desktop icon. 13 | File Associations 14 | Register @@PRODUCT_NAME@@ as an editor for supported file types. 15 | Files context menu 16 | Add "Open with @@PRODUCT_NAME@@" action to Windows Explorer file context menu. 17 | Directory context menu 18 | Add "Open with @@PRODUCT_NAME@@" action to Windows Explorer directory context menu. 19 | Add to PATH 20 | Add @@PRODUCT_NAME@@ to PATH environment variable. Available after restart. 21 | Launch @@PRODUCT_NAME@@ 22 | Newer version of @@PRODUCT_NAME@@ is already installed. 23 | This application requires .NET Framework 4.5.2 or later. Please install the .NET Framework then run this installer again. 24 | Windows 7 or later is required. 25 | 26 | -------------------------------------------------------------------------------- /build/windows/msi/i18n/vscodium.es-es.wxl: -------------------------------------------------------------------------------- 1 |  2 | 3 | 3082 4 | @@PRODUCT_NAME@@ 5 | https://github.com/Alex313031/codium 6 | https://github.com/Alex313031/codium 7 | https://github.com/Alex313031/codium 8 | Package with @@PRODUCT_NAME@@ 9 | Start Menu shortcut 10 | Create a start menu icon. 11 | Desktop shortcut 12 | Create a desktop icon. 13 | File Associations 14 | Register @@PRODUCT_NAME@@ as an editor for supported file types. 15 | Files context menu 16 | Add "Open with @@PRODUCT_NAME@@" action to Windows Explorer file contect menu. 17 | Directory context menu 18 | Add "Open with @@PRODUCT_NAME@@" action to Windows Explorer directory contect menu. 19 | Add to PATH 20 | Add @@PRODUCT_NAME@@ to PATH environment variable. Available after restart. 21 | Launch @@PRODUCT_NAME@@ 22 | Newer version of @@PRODUCT_NAME@@ is already installed. 23 | This application requires .NET Framework 4.5.2 or later. Please install the .NET Framework then run this installer again. 24 | Windows 7 or later is required. 25 | 26 | -------------------------------------------------------------------------------- /build/windows/msi/i18n/vscodium.fr-fr.wxl: -------------------------------------------------------------------------------- 1 |  2 | 3 | 1036 4 | @@PRODUCT_NAME@@ 5 | https://github.com/Alex313031/codium 6 | https://github.com/Alex313031/codium 7 | https://github.com/Alex313031/codium 8 | Package with @@PRODUCT_NAME@@ 9 | Start Menu shortcut 10 | Create a start menu icon. 11 | Desktop shortcut 12 | Create a desktop icon. 13 | File Associations 14 | Register @@PRODUCT_NAME@@ as an editor for supported file types. 15 | Files context menu 16 | Add "Open with @@PRODUCT_NAME@@" action to Windows Explorer file contect menu. 17 | Directory context menu 18 | Add "Open with @@PRODUCT_NAME@@" action to Windows Explorer directory contect menu. 19 | Add to PATH 20 | Add @@PRODUCT_NAME@@ to PATH environment variable. Available after restart. 21 | Launch @@PRODUCT_NAME@@ 22 | Newer version of @@PRODUCT_NAME@@ is already installed. 23 | This application requires .NET Framework 4.5.2 or later. Please install the .NET Framework then run this installer again. 24 | Windows 7 or later is required. 25 | 26 | -------------------------------------------------------------------------------- /build/windows/msi/i18n/vscodium.it-it.wxl: -------------------------------------------------------------------------------- 1 |  2 | 3 | 1040 4 | @@PRODUCT_NAME@@ 5 | https://github.com/Alex313031/codium 6 | https://github.com/Alex313031/codium 7 | https://github.com/Alex313031/codium 8 | Package with @@PRODUCT_NAME@@ 9 | Start Menu shortcut 10 | Create a start menu icon. 11 | Desktop shortcut 12 | Create a desktop icon. 13 | File Associations 14 | Register @@PRODUCT_NAME@@ as an editor for supported file types. 15 | Files context menu 16 | Add "Open with @@PRODUCT_NAME@@" action to Windows Explorer file contect menu. 17 | Directory context menu 18 | Add "Open with @@PRODUCT_NAME@@" action to Windows Explorer directory contect menu. 19 | Add to PATH 20 | Add @@PRODUCT_NAME@@ to PATH environment variable. Available after restart. 21 | Launch @@PRODUCT_NAME@@ 22 | Newer version of @@PRODUCT_NAME@@ is already installed. 23 | This application requires .NET Framework 4.5.2 or later. Please install the .NET Framework then run this installer again. 24 | Windows 7 or later is required. 25 | 26 | -------------------------------------------------------------------------------- /build/windows/msi/i18n/vscodium.ja-jp.wxl: -------------------------------------------------------------------------------- 1 |  2 | 3 | 1041 4 | @@PRODUCT_NAME@@ 5 | https://github.com/Alex313031/codium 6 | https://github.com/Alex313031/codium 7 | https://github.com/Alex313031/codium 8 | Package with @@PRODUCT_NAME@@ 9 | Start Menu shortcut 10 | Create a start menu icon. 11 | Desktop shortcut 12 | Create a desktop icon. 13 | File Associations 14 | Register @@PRODUCT_NAME@@ as an editor for supported file types. 15 | Files context menu 16 | Add "Open with @@PRODUCT_NAME@@" action to Windows Explorer file contect menu. 17 | Directory context menu 18 | Add "Open with @@PRODUCT_NAME@@" action to Windows Explorer directory contect menu. 19 | Add to PATH 20 | Add @@PRODUCT_NAME@@ to PATH environment variable. Available after restart. 21 | Launch @@PRODUCT_NAME@@ 22 | Newer version of @@PRODUCT_NAME@@ is already installed. 23 | This application requires .NET Framework 4.5.2 or later. Please install the .NET Framework then run this installer again. 24 | Windows 7 or later is required. 25 | 26 | -------------------------------------------------------------------------------- /build/windows/msi/i18n/vscodium.ko-kr.wxl: -------------------------------------------------------------------------------- 1 |  2 | 3 | 1042 4 | @@PRODUCT_NAME@@ 5 | https://github.com/Alex313031/codium 6 | https://github.com/Alex313031/codium 7 | https://github.com/Alex313031/codium 8 | Package with @@PRODUCT_NAME@@ 9 | Start Menu shortcut 10 | Create a start menu icon. 11 | Desktop shortcut 12 | Create a desktop icon. 13 | File Associations 14 | Register @@PRODUCT_NAME@@ as an editor for supported file types. 15 | Files context menu 16 | Add "Open with @@PRODUCT_NAME@@" action to Windows Explorer file contect menu. 17 | Directory context menu 18 | Add "Open with @@PRODUCT_NAME@@" action to Windows Explorer directory contect menu. 19 | Add to PATH 20 | Add @@PRODUCT_NAME@@ to PATH environment variable. Available after restart. 21 | Launch @@PRODUCT_NAME@@ 22 | Newer version of @@PRODUCT_NAME@@ is already installed. 23 | This application requires .NET Framework 4.5.2 or later. Please install the .NET Framework then run this installer again. 24 | Windows 7 or later is required. 25 | 26 | -------------------------------------------------------------------------------- /build/windows/msi/i18n/vscodium.ru-ru.wxl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 1049 4 | @@PRODUCT_NAME@@ 5 | https://github.com/Alex313031/codium 6 | https://github.com/Alex313031/codium 7 | https://github.com/Alex313031/codium 8 | Пакет с @@PRODUCT_NAME@@ 9 | Ярлык в меню «Пуск» 10 | Создайте значок в меню «Пуск». 11 | Ярлык рабочего стола 12 | Создать значок на рабочем столе. 13 | Ассоциации файлов 14 | Зарегистрировать @@PRODUCT_NAME@@ в качестве редактора поддерживаемых типов файлов. 15 | Контекстное меню файлов 16 | Добавить действие «Открыть с помощью @@PRODUCT_NAME@@» в контекстное меню файлов Проводника Windows. 17 | Контекстное меню каталога 18 | Добавить действие «Открыть с помощью @@PRODUCT_NAME@@» в контекстное меню каталога Проводника Windows. 19 | Добавить в PATH 20 | Добавить @@PRODUCT_NAME@@ в переменную среды PATH. Доступно после перезапуска. 21 | Запустить @@PRODUCT_NAME@@ 22 | Новая версия @@PRODUCT_NAME@@ уже установлена. 23 | Приложению требуется .NET Framework 4.5.2 или более новая версии. Пожалуйста, установите .NET Framework, затем снова запустите установщик. 24 | Требуется Windows 7 или более новая версия. 25 | 26 | -------------------------------------------------------------------------------- /build/windows/msi/i18n/vscodium.zh-cn.wxl: -------------------------------------------------------------------------------- 1 |  2 | 3 | 2052 4 | @@PRODUCT_NAME@@ 5 | https://github.com/Alex313031/codium 6 | https://github.com/Alex313031/codium 7 | https://github.com/Alex313031/codium 8 | Package with @@PRODUCT_NAME@@ 9 | Start Menu shortcut 10 | Create a start menu icon. 11 | Desktop shortcut 12 | Create a desktop icon. 13 | File Associations 14 | Register @@PRODUCT_NAME@@ as an editor for supported file types. 15 | Files context menu 16 | Add "Open with @@PRODUCT_NAME@@" action to Windows Explorer file contect menu. 17 | Directory context menu 18 | Add "Open with @@PRODUCT_NAME@@" action to Windows Explorer directory contect menu. 19 | Add to PATH 20 | Add @@PRODUCT_NAME@@ to PATH environment variable. Available after restart. 21 | Launch @@PRODUCT_NAME@@ 22 | Newer version of @@PRODUCT_NAME@@ is already installed. 23 | This application requires .NET Framework 4.5.2 or later. Please install the .NET Framework then run this installer again. 24 | Windows 7 or later is required. 25 | 26 | -------------------------------------------------------------------------------- /build/windows/msi/i18n/vscodium.zh-tw.wxl: -------------------------------------------------------------------------------- 1 |  2 | 3 | 1028 4 | @@PRODUCT_NAME@@ 5 | https://github.com/Alex313031/codium 6 | https://github.com/Alex313031/codium 7 | https://github.com/Alex313031/codium 8 | Package with @@PRODUCT_NAME@@ 9 | Start Menu shortcut 10 | Create a start menu icon. 11 | Desktop shortcut 12 | Create a desktop icon. 13 | File Associations 14 | Register @@PRODUCT_NAME@@ as an editor for supported file types. 15 | Files context menu 16 | Add "Open with @@PRODUCT_NAME@@" action to Windows Explorer file contect menu. 17 | Directory context menu 18 | Add "Open with @@PRODUCT_NAME@@" action to Windows Explorer directory contect menu. 19 | Add to PATH 20 | Add @@PRODUCT_NAME@@ to PATH environment variable. Available after restart. 21 | Launch @@PRODUCT_NAME@@ 22 | Newer version of @@PRODUCT_NAME@@ is already installed. 23 | This application requires .NET Framework 4.5.2 or later. Please install the .NET Framework then run this installer again. 24 | Windows 7 or later is required. 25 | 26 | -------------------------------------------------------------------------------- /build/windows/msi/includes/vscodium-variables.wxi: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /build/windows/msi/resources/insider/wix-banner.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/build/windows/msi/resources/insider/wix-banner.bmp -------------------------------------------------------------------------------- /build/windows/msi/resources/insider/wix-dialog.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/build/windows/msi/resources/insider/wix-dialog.bmp -------------------------------------------------------------------------------- /build/windows/msi/resources/stable/wix-banner.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/build/windows/msi/resources/stable/wix-banner.bmp -------------------------------------------------------------------------------- /build/windows/msi/resources/stable/wix-dialog.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/build/windows/msi/resources/stable/wix-dialog.bmp -------------------------------------------------------------------------------- /build/windows/rtf/make.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | cd "$( dirname "${BASH_SOURCE[0]}" )"/../../../vscode || { echo "'vscode' dir not found"; exit 1; } 4 | 5 | input=LICENSE.txt 6 | target=LICENSE.rtf 7 | 8 | cat - >$target <<_EOF 9 | {\rtf1\ansi\deff0{\fonttbl{\f0\fnil\fcharset0 Consolas;}} 10 | \viewkind4\uc1\pard\lang1033\f0\fs22 11 | 12 | _EOF 13 | 14 | sed -zE -e 's/([A-Za-z,])\r?\n([A-Za-z])/\1 \2/g' -e 's/\r?\n\r?\n/\\par\n\n/g' -e 's/(\\par\n)/\\line\1/g' -e 's/\s*(Copyright)/\\line\n\1/g' -e 's/(\\par)\\line/\1\n/g' $input >> $target 15 | 16 | 17 | cat - >>$target <<_EOF 18 | \par 19 | } 20 | _EOF 21 | -------------------------------------------------------------------------------- /build_codium.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # shellcheck disable=SC1091 3 | 4 | set -ex 5 | 6 | . version.sh 7 | 8 | if [[ "${SHOULD_BUILD}" == "yes" ]]; then 9 | echo "MS_COMMIT=\"${MS_COMMIT}\"" 10 | 11 | . prepare_vscode.sh 12 | 13 | cd vscode || { echo "'vscode' dir not found"; exit 1; } 14 | 15 | export NODE_OPTIONS="--max-old-space-size=8192" 16 | 17 | npm run monaco-compile-check && 18 | # npm run valid-layers-check && 19 | 20 | npm run gulp compile-build && 21 | npm run gulp compile-extension-media && 22 | npm run gulp compile-extensions-build && 23 | npm run gulp minify-vscode 24 | 25 | if [[ "${OS_NAME}" == "osx" ]]; then 26 | npm run gulp "vscode-darwin-${VSCODE_ARCH}-min-ci" 27 | 28 | find "../VSCode-darwin-${VSCODE_ARCH}" -print0 | xargs -0 touch -c 29 | 30 | VSCODE_PLATFORM="darwin" 31 | elif [[ "${OS_NAME}" == "windows" ]]; then 32 | . ../build/windows/rtf/make.sh 33 | 34 | npm run gulp "vscode-win32-${VSCODE_ARCH}-min-ci" 35 | 36 | if [[ "${VSCODE_ARCH}" != "ia32" && "${VSCODE_ARCH}" != "x64" ]]; then 37 | SHOULD_BUILD_REH="no" 38 | SHOULD_BUILD_REH_WEB="no" 39 | fi 40 | 41 | VSCODE_PLATFORM="win32" 42 | else # linux 43 | # in CI, packaging will be done by a different job 44 | if [[ "${CI_BUILD}" == "no" ]]; then 45 | npm run gulp "vscode-linux-${VSCODE_ARCH}-min-ci" 46 | 47 | find "../VSCode-linux-${VSCODE_ARCH}" -print0 | xargs -0 touch -c 48 | fi 49 | 50 | SHOULD_BUILD_REH="yes" 51 | 52 | VSCODE_PLATFORM="linux" 53 | fi 54 | 55 | if [[ "${SHOULD_BUILD_REH}" != "no" ]]; then 56 | if [[ "${OS_NAME}" == "linux" ]]; then 57 | export VSCODE_NODE_GLIBC='-glibc-2.17' 58 | fi 59 | 60 | npm run gulp minify-vscode-reh 61 | npm run gulp "vscode-reh-${VSCODE_PLATFORM}-${VSCODE_ARCH}-min-ci" 62 | fi 63 | 64 | if [[ "${SHOULD_BUILD_REH_WEB}" != "no" ]]; then 65 | npm run gulp minify-vscode-reh-web 66 | npm run gulp "vscode-reh-web-${VSCODE_PLATFORM}-${VSCODE_ARCH}-min-ci" 67 | fi 68 | 69 | cd .. 70 | fi 71 | -------------------------------------------------------------------------------- /check_cron_or_pr.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # shellcheck disable=SC2129 3 | 4 | set -e 5 | 6 | if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then 7 | echo "It's a PR" 8 | 9 | export SHOULD_BUILD="yes" 10 | export SHOULD_DEPLOY="no" 11 | elif [[ "${GITHUB_EVENT_NAME}" == "push" ]]; then 12 | echo "It's a Push" 13 | 14 | export SHOULD_BUILD="yes" 15 | export SHOULD_DEPLOY="no" 16 | elif [[ "${GITHUB_EVENT_NAME}" == "workflow_dispatch" ]]; then 17 | if [[ "${GENERATE_ASSETS}" == "true" ]]; then 18 | echo "It will generate the assets" 19 | 20 | export SHOULD_BUILD="yes" 21 | export SHOULD_DEPLOY="no" 22 | else 23 | echo "It's a Dispatch" 24 | 25 | export SHOULD_DEPLOY="yes" 26 | fi 27 | else 28 | echo "It's a Cron" 29 | 30 | export SHOULD_DEPLOY="yes" 31 | fi 32 | 33 | if [[ "${GITHUB_ENV}" ]]; then 34 | echo "GITHUB_BRANCH=${GITHUB_BRANCH}" >> "${GITHUB_ENV}" 35 | echo "SHOULD_BUILD=${SHOULD_BUILD}" >> "${GITHUB_ENV}" 36 | echo "SHOULD_DEPLOY=${SHOULD_DEPLOY}" >> "${GITHUB_ENV}" 37 | echo "VSCODE_QUALITY=${VSCODE_QUALITY}" >> "${GITHUB_ENV}" 38 | fi 39 | -------------------------------------------------------------------------------- /clean.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Copyright(c) 2024 Alex313031 4 | 5 | YEL='\033[1;33m' # Yellow 6 | CYA='\033[1;96m' # Cyan 7 | RED='\033[1;31m' # Red 8 | GRE='\033[1;32m' # Green 9 | c0='\033[0m' # Reset Text 10 | bold='\033[1m' # Bold Text 11 | underline='\033[4m' # Underline Text 12 | 13 | # Error handling 14 | yell() { echo "$0: $*" >&2; } 15 | die() { yell "$*"; exit 111; } 16 | try() { "$@" || die "${RED}Failed $*"; } 17 | 18 | # --help 19 | displayHelp () { 20 | printf "\n" && 21 | printf "${bold}${GRE}Script to clean Codium${c0}\n" && 22 | printf "${bold}${YEL}Removes node_modules, vscode, assets, and build artifacts.${c0}" && 23 | printf "\n" 24 | } 25 | case $1 in 26 | --help) displayHelp; exit 0;; 27 | esac 28 | 29 | printf "\n" && 30 | printf "${bold}${YEL} Cleaning assets, artifacts, and build directory...${c0}\n" && 31 | printf "\n" && 32 | 33 | rm -r -f build.env && 34 | rm -r -f assets && 35 | rm -r -f vscode && 36 | rm -r -f VSCode-linux-x64 && 37 | rm -r -f VSCode-linux-arm64 && 38 | rm -r -f vscode-reh-linux-x64 && 39 | rm -r -f vscode-reh-linux-arm64 && 40 | rm -r -f vscode-reh-web-linux-x64 && 41 | rm -r -f vscode-reh-web-linux-arm64 && 42 | rm -r -f VSCode-win32-x64 && 43 | rm -r -f VSCode-win32-ia32 && 44 | rm -r -f vscode-reh-win32-x64 && 45 | rm -r -f vscode-reh-win32-ia32 && 46 | rm -r -f vscode-reh-web-win32-x64 && 47 | rm -r -f vscode-reh-web-win32-ia32 && 48 | rm -r -f VSCode-darwin-x64 && 49 | rm -r -f VSCode-darwin-arm64 && 50 | rm -r -f vscode-reh-darwin-x64 && 51 | rm -r -f vscode-reh-darwin-arm64 && 52 | rm -r -f vscode-reh-web-darwin-x64 && 53 | rm -r -f vscode-reh-web-darwin-arm64 && 54 | 55 | exit 0 56 | -------------------------------------------------------------------------------- /docs/accounts-authentication.md: -------------------------------------------------------------------------------- 1 | # Accounts authentication 2 | 3 | ## GitHub 4 | 5 | The GitHub authentication has been patched to use personal access tokens. 6 | 7 | Here is how to create a new personal access token: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token 8 | 9 | ## Microsoft 10 | 11 | The Microsoft authentication hasn't been patched so its status is unknown. 12 | 13 | ## When does it happen? 14 | 15 | An account authentication occurs only when an extension is asking for it. 16 | 17 | For `GitLens`, since the `12 non-plus` version, it won't ask for any new authentication. 18 | -------------------------------------------------------------------------------- /docs/extensions-compatibility.md: -------------------------------------------------------------------------------- 1 | # Extensions compatibility 2 | 3 | ## Partial Compatibility 4 | 5 | - [Python](https://marketplace.visualstudio.com/items?itemName=ms-python.python) 6 | > [Since May 2021](https://devblogs.microsoft.com/python/python-in-visual-studio-code-may-2021-release/), Python is using a closed source language server ([Pylance](https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance)) 7 | 8 | ## Incompatibility 9 | 10 | - [LaTeX Workshop](https://marketplace.visualstudio.com/items?itemName=James-Yu.latex-workshop) 11 | > It's officially unsupported: https://github.com/James-Yu/LaTeX-Workshop/wiki/FAQ#vscodium-is-not-officially-supported 12 | 13 | ## Incompatibility due to licensing 14 | 15 | The following extensions are not compatible with Codium due to their licensing: 16 | 17 | - [Live Share](https://marketplace.visualstudio.com/items?itemName=MS-vsliveshare.vsliveshare) 18 | - [Remote - Containers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) 19 | - [Remote - SSH](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh) 20 | - [Remote - SSH: Editing Configuration Files](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh-edit) 21 | - [Remote - WSL](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-wsl) 22 | 23 | ## Replacements 24 | 25 | The following extensions are functional replacements for incompatible extensions: 26 | 27 | - [Open Remote - SSH](https://open-vsx.org/extension/jeanp413/open-remote-ssh) 28 | - [Open Remote - WSL](https://open-vsx.org/extension/jeanp413/open-remote-wsl) 29 | - [BasedPyright](https://open-vsx.org/extension/detachhead/basedpyright) (open-source alternative to Pylance) 30 | -------------------------------------------------------------------------------- /docs/troubleshooting.md: -------------------------------------------------------------------------------- 1 | # Troubleshooting 2 | 3 | ## Table of Contents 4 | 5 | - [Linux](#linux) 6 | - [Fonts showing up as rectangles](#linux-fonts-rectangle) 7 | - [Global menu workaround for KDE](#linux-kde-global-menu) 8 | - [Flatpak most common issues](#linux-flatpak-most-common-issues) 9 | - [Remote SSH doesn't work](#linux-remote-ssh) 10 | - [macOS](#macos) 11 | - [App can't be opened because Apple cannot check it for malicious software](#macos-unidentified-developer) 12 | - ["Codium.app" is damaged and can’t be opened. You should move it to the Bin](#macos-quarantine) 13 | 14 | 15 | ## Linux 16 | 17 | #### *Fonts showing up as rectangles* 18 | 19 | The following command should help: 20 | 21 | ``` 22 | rm -rf ~/.cache/fontconfig 23 | rm -rf ~/snap/codium/common/.cache 24 | fc-cache -r 25 | ``` 26 | 27 | #### *Global menu workaround for KDE* 28 | 29 | Install these packages on Fedora: 30 | 31 | * libdbusmenu-devel 32 | * dbus-glib-devel 33 | * libdbusmenu 34 | 35 | On Ubuntu this package is called `libdbusmenu-glib4`. 36 | 37 | Credits: [Gerson](https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/issues/91) 38 | 39 | #### *Flatpak most common issues* 40 | 41 | - blurry screen with HiDPI on wayland run: 42 | ```bash 43 | flatpak override --user --nosocket=wayland com.alex313031.codium 44 | ``` 45 | - To execute commands on the host system, run inside the sandbox 46 | ```bash 47 | flatpak-spawn --host 48 | # or 49 | host-spawn 50 | ``` 51 | - Where is my X extension? AKA modify product.json 52 | TL;DR: use https://open-vsx.org/extension/zokugun/vsix-manager 53 | 54 | - SDKs 55 | see [this](https://github.com/flathub/com.vscodium.codium?tab=readme-ov-file#sdks) 56 | 57 | - If you have any other problems with the flatpak package try to look on the [FAQ](https://github.com/flathub/com.vscodium.codium?tab=readme-ov-file#faq) maybe the solution is already there or open an [issue](https://github.com/flathub/com.vscodium.codium/issues). 58 | 59 | ##### *Remote SSH doesn't work* 60 | 61 | Use the Codium compatible extension [Open Remote - SSH](https://open-vsx.org/extension/jeanp413/open-remote-ssh). 62 | 63 | On the server, in the `sshd` config, `AllowTcpForwarding` need to be set to `yes`. 64 | 65 | It might requires additional dependencies due to the OS/distro (alpine). 66 | 67 | ## macOS 68 | 69 | Since the App is signed with a self-signed certificate, on the first launch, you might see the following messages: 70 | 71 | #### *App can't be opened because Apple cannot check it for malicious software* 72 | 73 | You can right-click the App and choose `Open`. 74 | 75 | #### *"Codium.app" is damaged and can’t be opened. You should move it to the Bin.* 76 | 77 | The following command will remove the quarantine attribute. 78 | 79 | ``` 80 | xattr -r -d com.apple.quarantine /Applications/Codium.app 81 | ``` 82 | -------------------------------------------------------------------------------- /electron.riscv64.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -ex 4 | 5 | export ELECTRON_VERSION="30.5.1" 6 | export VSCODE_ELECTRON_TAG="v${ELECTRON_VERSION}.riscv1" 7 | 8 | echo "dfae1ccddec728faa7e5dcc92fb38ee7c40251e7f7638817da1c2a94dd37b5c2 *electron-v${ELECTRON_VERSION}-linux-riscv64.zip" >> build/checksums/electron.txt 9 | -------------------------------------------------------------------------------- /icons/README.md: -------------------------------------------------------------------------------- 1 | ## Files 2 | 3 | | filename | color | width | border | 4 | | ------------------------- | ------ | ----- | ------ | 5 | | `codium_clt.svg` | light | | | 6 | | `codium_cnl.svg` | normal | | | 7 | | `codium_cnl_w80_b8.svg` | normal | 80% | 8pt | 8 | | `codium_cnl_w100_b05.svg` | normal | 100% | 0.5pt | 9 | 10 | -------------------------------------------------------------------------------- /icons/corner_512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/icons/corner_512.png -------------------------------------------------------------------------------- /icons/insider/codium_clt.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /icons/insider/codium_cnl.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /icons/stable/codium_clt.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /icons/stable/codium_cnl.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /icons/template_macos.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/icons/template_macos.png -------------------------------------------------------------------------------- /insider.json: -------------------------------------------------------------------------------- 1 | { 2 | "tag": "1.93.0", 3 | "commit": "5b066ec2e30cf46bc636d6d27af5404713f6b0f8" 4 | } 5 | -------------------------------------------------------------------------------- /install_gh.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -ex 4 | 5 | GH_ARCH="amd64" 6 | 7 | VERSION=$( curl --retry 12 --retry-delay 30 "https://api.github.com/repos/cli/cli/releases/latest" | grep '"tag_name"' | sed -E 's/.*"([^"]+)".*/\1/' | cut -c2- ) 8 | 9 | curl --retry 12 --retry-delay 120 -sSL "https://github.com/cli/cli/releases/download/v${VERSION}/gh_${VERSION}_linux_${GH_ARCH}.tar.gz" -o "gh_${VERSION}_linux_${GH_ARCH}.tar.gz" 10 | 11 | tar xf "gh_${VERSION}_linux_${GH_ARCH}.tar.gz" 12 | 13 | cp "gh_${VERSION}_linux_${GH_ARCH}/bin/gh" /usr/local/bin/ 14 | 15 | gh --version 16 | -------------------------------------------------------------------------------- /logos.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/logos.zip -------------------------------------------------------------------------------- /macos-codesign.env.template: -------------------------------------------------------------------------------- 1 | CERTIFICATE_OSX_APP_PASSWORD= 2 | CERTIFICATE_OSX_ID= 3 | CERTIFICATE_OSX_P12_DATA= 4 | CERTIFICATE_OSX_P12_PASSWORD= 5 | CERTIFICATE_OSX_TEAM_ID= 6 | -------------------------------------------------------------------------------- /macos_patch.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # shellcheck disable=SC2129 3 | 4 | set -e 5 | 6 | # Copyright(c) 2024 Alex313031 7 | 8 | YEL='\033[1;33m' # Yellow 9 | CYA='\033[1;96m' # Cyan 10 | RED='\033[1;31m' # Red 11 | GRE='\033[1;32m' # Green 12 | c0='\033[0m' # Reset Text 13 | bold='\033[1m' # Bold Text 14 | underline='\033[4m' # Underline Text 15 | 16 | # --help 17 | displayHelp () { 18 | printf "\n" && 19 | printf "${bold}${GRE}Script to patch Codium for MacOS 10.13/10.14${c0}\n" && 20 | printf "${bold}${YEL}Use ./win7_patch.sh for Windows/Linux.${c0}\n" && 21 | printf "${bold}${YEL}Use the --help flag to show this help.${c0}\n" && 22 | printf "\n" 23 | } 24 | case $1 in 25 | --help) displayHelp; exit 0;; 26 | esac 27 | 28 | cd vscode || { printf "\n${RED}Error: 'vscode' dir not found\n\n"; exit 1; } 29 | 30 | printf "\n" && 31 | printf "${GRE}Patching vscode for old MacOS...${c0}\n" && 32 | printf "\n" && 33 | 34 | git apply --reject ../nt6.patch && 35 | 36 | git apply --reject ../bionic.patch && 37 | 38 | /usr/bin/find ./ \( -type d -name .git -prune -type d -name node_modules -prune \) -o -type f -name package.json -print0 | xargs -0 sed -i '' -e 's/\"\@types\/node\"\:\ \"18\.x\"/\"\@types\/node\"\:\ \"16\.18\.111\"/g' && 39 | /usr/bin/find ./ \( -type d -name .git -prune -type d -name node_modules -prune \) -o -type f -name package.json -print0 | xargs -0 sed -i '' -e 's/\"\@types\/node\"\:\ \"20\.x\"/\"\@types\/node\"\:\ \"16\.18\.111\"/g' && 40 | 41 | /usr/bin/find ./ \( -type d -name .git -prune -type d -name node_modules -prune \) -o -type f -name package.json -print0 | xargs -0 sed -i '' -e 's/\"node\"\:\ \"18\.x\"/\"node\"\:\ \"16\.x\"/g' && 42 | /usr/bin/find ./ \( -type d -name .git -prune -type d -name node_modules -prune \) -o -type f -name package.json -print0 | xargs -0 sed -i '' -e 's/\"node\"\:\ \"20\.x\"/\"node\"\:\ \"16\.x\"/g' && 43 | 44 | cd .. && 45 | 46 | printf "\n" && 47 | printf "${GRE}Patched for MacOS 10.13/10.14!\n" && 48 | printf "\n" && 49 | tput sgr0 50 | -------------------------------------------------------------------------------- /package_alpine_reh.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # shellcheck disable=SC1091 3 | 4 | set -ex 5 | 6 | if [[ "${CI_BUILD}" == "no" ]]; then 7 | exit 1 8 | fi 9 | 10 | tar -xzf ./vscode.tar.gz 11 | 12 | cd vscode || { echo "'vscode' dir not found"; exit 1; } 13 | 14 | export VSCODE_PLATFORM='alpine' 15 | export VSCODE_SKIP_NODE_VERSION_CHECK=1 16 | 17 | VSCODE_HOST_MOUNT="$( pwd )" 18 | VSCODE_REMOTE_DEPENDENCIES_CONTAINER_NAME="vscodium/vscodium-linux-build-agent:alpine-${VSCODE_ARCH}" 19 | 20 | export VSCODE_HOST_MOUNT VSCODE_REMOTE_DEPENDENCIES_CONTAINER_NAME 21 | 22 | if [[ -d "../patches/alpine/reh/" ]]; then 23 | for file in "../patches/alpine/reh/"*.patch; do 24 | if [[ -f "${file}" ]]; then 25 | echo applying patch: "${file}"; 26 | if ! git apply --ignore-whitespace "${file}"; then 27 | echo failed to apply patch "${file}" >&2 28 | exit 1 29 | fi 30 | fi 31 | done 32 | fi 33 | 34 | for i in {1..5}; do # try 5 times 35 | npm ci && break 36 | if [[ $i == 3 ]]; then 37 | echo "Npm install failed too many times" >&2 38 | exit 1 39 | fi 40 | echo "Npm install failed $i, trying again..." 41 | done 42 | 43 | node build/azure-pipelines/distro/mixin-npm 44 | 45 | yarn gulp minify-vscode-reh 46 | 47 | if [[ "${VSCODE_ARCH}" == "x64" ]]; then 48 | PA_NAME="linux-alpine" 49 | else 50 | PA_NAME="alpine-arm64" 51 | fi 52 | 53 | yarn gulp "vscode-reh-${PA_NAME}-min-ci" 54 | 55 | cd .. 56 | 57 | APP_NAME_LC="$( echo "${APP_NAME}" | awk '{print tolower($0)}' )" 58 | 59 | mkdir -p assets 60 | 61 | echo "Building and moving REH" 62 | cd "vscode-reh-${PA_NAME}" 63 | tar czf "../assets/${APP_NAME_LC}-reh-${VSCODE_PLATFORM}-${VSCODE_ARCH}-${RELEASE_VERSION}.tar.gz" . 64 | cd .. 65 | 66 | npm install -g checksum 67 | 68 | sum_file() { 69 | if [[ -f "${1}" ]]; then 70 | echo "Calculating checksum for ${1}" 71 | checksum -a sha256 "${1}" > "${1}".sha256 72 | checksum "${1}" > "${1}".sha1 73 | fi 74 | } 75 | 76 | cd assets 77 | 78 | for FILE in *; do 79 | if [[ -f "${FILE}" ]]; then 80 | sum_file "${FILE}" 81 | fi 82 | done 83 | 84 | cd .. 85 | -------------------------------------------------------------------------------- /package_linux_bin.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # shellcheck disable=SC1091 3 | 4 | set -ex 5 | 6 | if [[ "${CI_BUILD}" == "no" ]]; then 7 | exit 1 8 | fi 9 | 10 | tar -xzf ./vscode.tar.gz 11 | 12 | chown -R root:root vscode 13 | 14 | cd vscode || { echo "'vscode' dir not found"; exit 1; } 15 | 16 | export VSCODE_SKIP_NODE_VERSION_CHECK=1 17 | export VSCODE_SYSROOT_PREFIX='-glibc-2.17' 18 | 19 | if [[ "${VSCODE_ARCH}" == "ppc64le" ]]; then 20 | export VSCODE_SYSROOT_REPO='VSCodium/vscode-linux-build-agent' 21 | export VSCODE_SYSROOT_VERSION='20240129-253798' 22 | export VSCODE_SYSROOT_PREFIX='-glibc-2.28' 23 | fi 24 | 25 | if [[ "${VSCODE_ARCH}" == "riscv64" ]]; then 26 | export VSCODE_ELECTRON_REPO='riscv-forks/electron-riscv-releases' 27 | export ELECTRON_SKIP_BINARY_DOWNLOAD=1 28 | export PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 29 | 30 | source ../electron.riscv64.sh 31 | 32 | if [[ "${ELECTRON_VERSION}" != "$(yarn config get target)" ]]; then 33 | # Fail the pipeline if electron target doesn't match what is used. 34 | # Look for releases here if electron version used by vscode changed: 35 | # https://github.com/riscv-forks/electron-riscv-releases/releases 36 | echo "Electron RISC-V binary version doesn't match target electron version!" 37 | exit 1 38 | fi 39 | fi 40 | 41 | if [[ -d "../patches/linux/client/" ]]; then 42 | for file in "../patches/linux/client/"*.patch; do 43 | if [[ -f "${file}" ]]; then 44 | echo applying patch: "${file}"; 45 | if ! git apply --ignore-whitespace "${file}"; then 46 | echo failed to apply patch "${file}" >&2 47 | exit 1 48 | fi 49 | fi 50 | done 51 | fi 52 | 53 | for i in {1..5}; do # try 5 times 54 | npm ci --prefix build && break 55 | if [[ $i == 3 ]]; then 56 | echo "Npm install failed too many times" >&2 57 | exit 1 58 | fi 59 | echo "Npm install failed $i, trying again..." 60 | done 61 | 62 | if [[ "${VSCODE_ARCH}" == "ppc64le" ]]; then 63 | source ./build/azure-pipelines/linux/setup-env.sh 64 | else 65 | ./build/azure-pipelines/linux/setup-env.sh 66 | fi 67 | 68 | for i in {1..5}; do # try 5 times 69 | npm ci && break 70 | if [[ $i -eq 3 ]]; then 71 | echo "Npm install failed too many times" >&2 72 | exit 1 73 | fi 74 | echo "Npm install failed $i, trying again..." 75 | done 76 | 77 | node build/azure-pipelines/distro/mixin-npm 78 | 79 | yarn gulp "vscode-linux-${VSCODE_ARCH}-min-ci" 80 | 81 | find "../VSCode-linux-${VSCODE_ARCH}" -print0 | xargs -0 touch -c 82 | 83 | cd .. 84 | -------------------------------------------------------------------------------- /patch.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | if [[ "${1}" == *patch ]]; then 4 | FILE="../patches/${1}" 5 | else 6 | FILE="../patches/${1}.patch" 7 | fi 8 | 9 | cd vscode || { echo "'vscode' dir not found"; exit 1; } 10 | 11 | git add . 12 | git reset -q --hard HEAD 13 | 14 | if [[ -f "${FILE}" ]]; then 15 | git apply --reject "${FILE}" 16 | fi 17 | 18 | git apply --reject "../patches/helper/settings.patch" 19 | 20 | read -rp "Press any key when the conflict have been resolved..." -n1 -s 21 | 22 | git restore .vscode/settings.json 23 | 24 | git add . 25 | git diff --staged -U1 > "${FILE}" 26 | 27 | cd .. 28 | 29 | echo "The patch has been generated." 30 | -------------------------------------------------------------------------------- /patches/alpine/reh/fix-node-docker.patch: -------------------------------------------------------------------------------- 1 | diff --git a/build/gulpfile.reh.js b/build/gulpfile.reh.js 2 | index e12a33e..9300d62 100644 3 | --- a/build/gulpfile.reh.js 4 | +++ b/build/gulpfile.reh.js 5 | @@ -188,5 +188,16 @@ function getNodeChecksum(expectedName) { 6 | function extractAlpinefromDocker(nodeVersion, platform, arch) { 7 | - const imageName = arch === 'arm64' ? 'arm64v8/node' : 'node'; 8 | + let imageName = 'node'; 9 | + let dockerPlatform = ''; 10 | + 11 | + if (arch === 'arm64') { 12 | + imageName = 'arm64v8/node'; 13 | + 14 | + const architecture = cp.execSync(`docker info --format '{{json .Architecture}}'`, { encoding: 'utf8' }).trim(); 15 | + if (architecture != '"aarch64"') { 16 | + dockerPlatform = '--platform=linux/arm64'; 17 | + } 18 | + } 19 | + 20 | log(`Downloading node.js ${nodeVersion} ${platform} ${arch} from docker image ${imageName}`); 21 | - const contents = cp.execSync(`docker run --rm ${imageName}:${nodeVersion}-alpine /bin/sh -c 'cat \`which node\`'`, { maxBuffer: 100 * 1024 * 1024, encoding: 'buffer' }); 22 | + const contents = cp.execSync(`docker run --rm ${dockerPlatform} ${imageName}:${nodeVersion}-alpine /bin/sh -c 'cat \`which node\`'`, { maxBuffer: 100 * 1024 * 1024, encoding: 'buffer' }); 23 | return es.readArray([new File({ path: 'node', contents, stat: { mode: parseInt('755', 8) } })]); 24 | -------------------------------------------------------------------------------- /patches/binary-name.patch: -------------------------------------------------------------------------------- 1 | diff --git a/build/gulpfile.vscode.js b/build/gulpfile.vscode.js 2 | index 2686509..4fedec2 100644 3 | --- a/build/gulpfile.vscode.js 4 | +++ b/build/gulpfile.vscode.js 5 | @@ -289,7 +289,7 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op 6 | } else if (platform === 'darwin') { 7 | const shortcut = gulp.src('resources/darwin/bin/code.sh') 8 | .pipe(replace('@@APPNAME@@', product.applicationName)) 9 | - .pipe(rename('bin/code')); 10 | + .pipe(rename('bin/' + product.applicationName)); 11 | 12 | all = es.merge(all, shortcut); 13 | } 14 | diff --git a/src/vs/platform/native/electron-main/nativeHostMainService.ts b/src/vs/platform/native/electron-main/nativeHostMainService.ts 15 | index f7bd477..a489ae4 100644 16 | --- a/src/vs/platform/native/electron-main/nativeHostMainService.ts 17 | +++ b/src/vs/platform/native/electron-main/nativeHostMainService.ts 18 | @@ -351,7 +351,7 @@ export class NativeHostMainService extends Disposable implements INativeHostMain 19 | } 20 | 21 | private async getShellCommandLink(): Promise<{ readonly source: string; readonly target: string }> { 22 | - const target = resolve(this.environmentMainService.appRoot, 'bin', 'code'); 23 | + const target = resolve(this.environmentMainService.appRoot, 'bin', this.productService.applicationName); 24 | const source = `/usr/local/bin/${this.productService.applicationName}`; 25 | 26 | // Ensure source exists 27 | @@ -545,7 +545,7 @@ export class NativeHostMainService extends Disposable implements INativeHostMain 28 | 29 | // macOS 30 | if (this.environmentMainService.isBuilt) { 31 | - return join(this.environmentMainService.appRoot, 'bin', 'code'); 32 | + return join(this.environmentMainService.appRoot, 'bin', `${this.productService.applicationName}`); 33 | } 34 | 35 | return join(this.environmentMainService.appRoot, 'scripts', 'code-cli.sh'); 36 | -------------------------------------------------------------------------------- /patches/crash-reporter.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/main.js b/src/main.js 2 | index 19dde20..d9611f2 100644 3 | --- a/src/main.js 4 | +++ b/src/main.js 5 | @@ -409,6 +409,8 @@ function configureCrashReporter() { 6 | argv.splice(endOfArgsMarkerIndex, 0, '--crash-reporter-id', crashReporterId); 7 | } 8 | } 9 | + } else { 10 | + return; 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /patches/disable-cloud.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/vs/workbench/contrib/editSessions/browser/editSessionsStorageService.ts b/src/vs/workbench/contrib/editSessions/browser/editSessionsStorageService.ts 2 | index 18b5815..51a5d50 100644 3 | --- a/src/vs/workbench/contrib/editSessions/browser/editSessionsStorageService.ts 4 | +++ b/src/vs/workbench/contrib/editSessions/browser/editSessionsStorageService.ts 5 | @@ -7,3 +7,3 @@ import { Disposable, DisposableStore } from '../../../../base/common/lifecycle.j 6 | import { localize } from '../../../../nls.js'; 7 | -import { Action2, MenuId, MenuRegistry, registerAction2 } from '../../../../platform/actions/common/actions.js'; 8 | +import { Action2, MenuId, registerAction2 } from '../../../../platform/actions/common/actions.js'; 9 | import { ContextKeyExpr, IContextKey, IContextKeyService } from '../../../../platform/contextkey/common/contextkey.js'; 10 | @@ -17,3 +17,3 @@ import { AuthenticationSession, AuthenticationSessionsChangeEvent, IAuthenticati 11 | import { IExtensionService } from '../../../services/extensions/common/extensions.js'; 12 | -import { EDIT_SESSIONS_SIGNED_IN, EditSession, EDIT_SESSION_SYNC_CATEGORY, IEditSessionsStorageService, EDIT_SESSIONS_SIGNED_IN_KEY, IEditSessionsLogService, SyncResource, EDIT_SESSIONS_PENDING_KEY } from '../common/editSessions.js'; 13 | +import { EDIT_SESSIONS_SIGNED_IN, EditSession, EDIT_SESSION_SYNC_CATEGORY, IEditSessionsStorageService, EDIT_SESSIONS_SIGNED_IN_KEY, IEditSessionsLogService, SyncResource } from '../common/editSessions.js'; 14 | import { IDialogService } from '../../../../platform/dialogs/common/dialogs.js'; 15 | @@ -93,3 +93,2 @@ export class EditSessionsWorkbenchService extends Disposable implements IEditSes 16 | 17 | - this.registerSignInAction(); 18 | this.registerResetAuthenticationAction(); 19 | @@ -456,39 +455,2 @@ export class EditSessionsWorkbenchService extends Disposable implements IEditSes 20 | 21 | - private registerSignInAction() { 22 | - const that = this; 23 | - const id = 'workbench.editSessions.actions.signIn'; 24 | - const when = ContextKeyExpr.and(ContextKeyExpr.equals(EDIT_SESSIONS_PENDING_KEY, false), ContextKeyExpr.equals(EDIT_SESSIONS_SIGNED_IN_KEY, false)); 25 | - this._register(registerAction2(class ResetEditSessionAuthenticationAction extends Action2 { 26 | - constructor() { 27 | - super({ 28 | - id, 29 | - title: localize('sign in', 'Turn on Cloud Changes...'), 30 | - category: EDIT_SESSION_SYNC_CATEGORY, 31 | - precondition: when, 32 | - menu: [{ 33 | - id: MenuId.CommandPalette, 34 | - }, 35 | - { 36 | - id: MenuId.AccountsContext, 37 | - group: '2_editSessions', 38 | - when, 39 | - }] 40 | - }); 41 | - } 42 | - 43 | - async run() { 44 | - return await that.initialize('write', false); 45 | - } 46 | - })); 47 | - 48 | - this._register(MenuRegistry.appendMenuItem(MenuId.AccountsContext, { 49 | - group: '2_editSessions', 50 | - command: { 51 | - id, 52 | - title: localize('sign in badge', 'Turn on Cloud Changes... (1)'), 53 | - }, 54 | - when: ContextKeyExpr.and(ContextKeyExpr.equals(EDIT_SESSIONS_PENDING_KEY, true), ContextKeyExpr.equals(EDIT_SESSIONS_SIGNED_IN_KEY, false)) 55 | - })); 56 | - } 57 | - 58 | private registerResetAuthenticationAction() { 59 | -------------------------------------------------------------------------------- /patches/disable-signature-verification.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/vs/platform/extensionManagement/node/extensionManagementService.ts b/src/vs/platform/extensionManagement/node/extensionManagementService.ts 2 | index 680e0dd..0b04279 100644 3 | --- a/src/vs/platform/extensionManagement/node/extensionManagementService.ts 4 | +++ b/src/vs/platform/extensionManagement/node/extensionManagementService.ts 5 | @@ -86,2 +86,3 @@ export class ExtensionManagementService extends AbstractExtensionManagementServi 6 | @IFileService private readonly fileService: IFileService, 7 | + // @ts-expect-error no-unused-variable 8 | @IConfigurationService private readonly configurationService: IConfigurationService, 9 | @@ -347,4 +348,3 @@ export class ExtensionManagementService extends AbstractExtensionManagementServi 10 | if (verifySignature) { 11 | - const value = this.configurationService.getValue('extensions.verifySignature'); 12 | - verifySignature = isBoolean(value) ? value : true; 13 | + verifySignature = false; 14 | } 15 | -------------------------------------------------------------------------------- /patches/ext-from-gh.patch: -------------------------------------------------------------------------------- 1 | diff --git a/build/lib/builtInExtensions.js b/build/lib/builtInExtensions.js 2 | index 1b0adc4..b595123 100644 3 | --- a/build/lib/builtInExtensions.js 4 | +++ b/build/lib/builtInExtensions.js 5 | @@ -47,5 +47,3 @@ function isUpToDate(extension) { 6 | function getExtensionDownloadStream(extension) { 7 | - const galleryServiceUrl = productjson.extensionsGallery?.serviceUrl; 8 | - return (galleryServiceUrl ? ext.fromMarketplace(galleryServiceUrl, extension) : ext.fromGithub(extension)) 9 | - .pipe(rename(p => p.dirname = `${extension.name}/${p.dirname}`)); 10 | + return ext.fromGithub(extension).pipe(rename(p => p.dirname = `${extension.name}/${p.dirname}`)); 11 | } 12 | diff --git a/build/lib/builtInExtensions.ts b/build/lib/builtInExtensions.ts 13 | index fefed43..4ae553e 100644 14 | --- a/build/lib/builtInExtensions.ts 15 | +++ b/build/lib/builtInExtensions.ts 16 | @@ -72,5 +72,3 @@ function isUpToDate(extension: IExtensionDefinition): boolean { 17 | function getExtensionDownloadStream(extension: IExtensionDefinition) { 18 | - const galleryServiceUrl = productjson.extensionsGallery?.serviceUrl; 19 | - return (galleryServiceUrl ? ext.fromMarketplace(galleryServiceUrl, extension) : ext.fromGithub(extension)) 20 | - .pipe(rename(p => p.dirname = `${extension.name}/${p.dirname}`)); 21 | + return ext.fromGithub(extension).pipe(rename(p => p.dirname = `${extension.name}/${p.dirname}`)); 22 | } 23 | -------------------------------------------------------------------------------- /patches/fix-eol-banner.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/vs/workbench/browser/parts/banner/bannerPart.ts b/src/vs/workbench/browser/parts/banner/bannerPart.ts 2 | index 1f329c4..3e36bff 100644 3 | --- a/src/vs/workbench/browser/parts/banner/bannerPart.ts 4 | +++ b/src/vs/workbench/browser/parts/banner/bannerPart.ts 5 | @@ -11,3 +11,3 @@ import { InstantiationType, registerSingleton } from '../../../../platform/insta 6 | import { IInstantiationService, ServicesAccessor } from '../../../../platform/instantiation/common/instantiation.js'; 7 | -import { IStorageService } from '../../../../platform/storage/common/storage.js'; 8 | +import { IStorageService, StorageScope } from '../../../../platform/storage/common/storage.js'; 9 | import { IThemeService } from '../../../../platform/theme/common/themeService.js'; 10 | @@ -30,2 +30,3 @@ import { widgetClose } from '../../../../platform/theme/common/iconRegistry.js'; 11 | import { BannerFocused } from '../../../common/contextkeys.js'; 12 | +import { INeverShowAgainOptions, NeverShowAgainScope } from '../../../../platform/notification/common/notification'; 13 | 14 | @@ -67,3 +68,3 @@ export class BannerPart extends Part implements IBannerService { 15 | @IWorkbenchLayoutService layoutService: IWorkbenchLayoutService, 16 | - @IStorageService storageService: IStorageService, 17 | + @IStorageService private readonly storageService: IStorageService, 18 | @IContextKeyService private readonly contextKeyService: IContextKeyService, 19 | @@ -187,2 +188,14 @@ export class BannerPart extends Part implements IBannerService { 20 | 21 | + if (item.neverShowAgain) { 22 | + const scope = this.toStorageScope(item.neverShowAgain); 23 | + const id = item.neverShowAgain.id; 24 | + 25 | + // If the user already picked to not show the notification 26 | + // again, we return with a no-op notification here 27 | + if (this.storageService.getBoolean(id, scope)) { 28 | + this.close(item); 29 | + return; 30 | + } 31 | + } 32 | + 33 | // Clear previous item 34 | @@ -235,2 +248,15 @@ export class BannerPart extends Part implements IBannerService { 35 | 36 | + private toStorageScope(options: INeverShowAgainOptions): StorageScope { 37 | + switch (options.scope) { 38 | + case NeverShowAgainScope.APPLICATION: 39 | + return StorageScope.APPLICATION; 40 | + case NeverShowAgainScope.PROFILE: 41 | + return StorageScope.PROFILE; 42 | + case NeverShowAgainScope.WORKSPACE: 43 | + return StorageScope.WORKSPACE; 44 | + default: 45 | + return StorageScope.APPLICATION; 46 | + } 47 | + } 48 | + 49 | toJSON(): object { 50 | diff --git a/src/vs/workbench/services/banner/browser/bannerService.ts b/src/vs/workbench/services/banner/browser/bannerService.ts 51 | index 2db0fa4..d179055 100644 52 | --- a/src/vs/workbench/services/banner/browser/bannerService.ts 53 | +++ b/src/vs/workbench/services/banner/browser/bannerService.ts 54 | @@ -10,2 +10,3 @@ import { ILinkDescriptor } from '../../../../platform/opener/browser/link.js'; 55 | import { ThemeIcon } from '../../../../base/common/themables.js'; 56 | +import { INeverShowAgainOptions } from '../../../../platform/notification/common/notification'; 57 | 58 | @@ -18,2 +19,3 @@ export interface IBannerItem { 59 | readonly onClose?: () => void; 60 | + readonly neverShowAgain?: INeverShowAgainOptions; 61 | readonly closeLabel?: string; 62 | -------------------------------------------------------------------------------- /patches/fix-remote-libs.patch: -------------------------------------------------------------------------------- 1 | diff --git a/remote/package-lock.json b/remote/package-lock.json 2 | index 5872575..8ad0a56 100644 3 | --- a/remote/package-lock.json 4 | +++ b/remote/package-lock.json 5 | @@ -39,2 +39,3 @@ 6 | "tas-client-umd": "0.2.0", 7 | + "tslib": "^2.6.3", 8 | "vscode-oniguruma": "1.7.0", 9 | @@ -1030,2 +1031,8 @@ 10 | }, 11 | + "node_modules/tslib": { 12 | + "version": "2.7.0", 13 | + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", 14 | + "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==", 15 | + "license": "0BSD" 16 | + }, 17 | "node_modules/tunnel-agent": { 18 | diff --git a/remote/package.json b/remote/package.json 19 | index c107b04..a23d058 100644 20 | --- a/remote/package.json 21 | +++ b/remote/package.json 22 | @@ -34,2 +34,3 @@ 23 | "tas-client-umd": "0.2.0", 24 | + "tslib": "^2.6.3", 25 | "vscode-oniguruma": "1.7.0", 26 | -------------------------------------------------------------------------------- /patches/helper/settings.patch: -------------------------------------------------------------------------------- 1 | diff --git a/.vscode/settings.json b/.vscode/settings.json 2 | index 99e495a..996044a 100644 3 | --- a/.vscode/settings.json 4 | +++ b/.vscode/settings.json 5 | @@ -10,5 +10,5 @@ 6 | "cli/target": true, 7 | - "build/**/*.js": { 8 | - "when": "$(basename).ts" 9 | - } 10 | + // "build/**/*.js": { 11 | + // "when": "$(basename).ts" 12 | + // } 13 | }, 14 | @@ -59,2 +59,3 @@ 15 | "build/npm/*.js": true, 16 | + "build/**/*.js": true, 17 | "build/*.js": true 18 | @@ -108,3 +109,3 @@ 19 | "gulp.autoDetect": "off", 20 | - "files.insertFinalNewline": true, 21 | + // "files.insertFinalNewline": true, 22 | "[plaintext]": { 23 | @@ -114,3 +115,3 @@ 24 | "editor.defaultFormatter": "vscode.typescript-language-features", 25 | - "editor.formatOnSave": true 26 | + // "editor.formatOnSave": true 27 | }, 28 | @@ -118,3 +119,3 @@ 29 | "editor.defaultFormatter": "vscode.typescript-language-features", 30 | - "editor.formatOnSave": true 31 | + // "editor.formatOnSave": true 32 | }, 33 | @@ -122,3 +123,3 @@ 34 | "editor.defaultFormatter": "rust-lang.rust-analyzer", 35 | - "editor.formatOnSave": true, 36 | + // "editor.formatOnSave": true, 37 | }, 38 | -------------------------------------------------------------------------------- /patches/insider/add-remote-url.patch: -------------------------------------------------------------------------------- 1 | diff --git a/build/gulpfile.reh.js b/build/gulpfile.reh.js 2 | index 7d58861..cefb8ad 100644 3 | --- a/build/gulpfile.reh.js 4 | +++ b/build/gulpfile.reh.js 5 | @@ -306,3 +306,3 @@ function packageTask(type, platform, arch, sourceFolderName, destinationFolderNa 6 | const productJsonStream = gulp.src(['product.json'], { base: '.' }) 7 | - .pipe(json({ commit, date: readISODate('out-build'), version, release })) 8 | + .pipe(json({ commit, date: readISODate('out-build'), version, release, serverDownloadUrlTemplate: 'https://github.com/Alex313031/codium-insiders/releases/download/${version}.${release}-insider/vscodium-reh-${os}-${arch}-${version}.${release}-insider.tar.gz' })) 9 | .pipe(es.through(function (file) { 10 | diff --git a/build/gulpfile.vscode.js b/build/gulpfile.vscode.js 11 | index 4af4067..1bac2cc 100644 12 | --- a/build/gulpfile.vscode.js 13 | +++ b/build/gulpfile.vscode.js 14 | @@ -261,3 +261,3 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op 15 | const productJsonStream = gulp.src(['product.json'], { base: '.' }) 16 | - .pipe(json({ commit, date: readISODate('out-build'), checksums, version, release })) 17 | + .pipe(json({ commit, date: readISODate('out-build'), checksums, version, release, serverDownloadUrlTemplate: 'https://github.com/Alex313031/codium-insiders/releases/download/${version}.${release}-insider/vscodium-reh-${os}-${arch}-${version}.${release}-insider.tar.gz' })) 18 | .pipe(es.through(function (file) { 19 | -------------------------------------------------------------------------------- /patches/insider/disable-windows-appx.patch: -------------------------------------------------------------------------------- 1 | diff --git a/build/gulpfile.vscode.win32.js b/build/gulpfile.vscode.win32.js 2 | index 5adfdfb..dfdb2af 100644 3 | --- a/build/gulpfile.vscode.win32.js 4 | +++ b/build/gulpfile.vscode.win32.js 5 | @@ -115,6 +115,6 @@ function buildWin32Setup(arch, target) { 6 | 7 | - if (quality === 'insider') { 8 | - definitions['AppxPackage'] = `code_insiders_explorer_${arch}.appx`; 9 | - definitions['AppxPackageFullname'] = `Microsoft.${product.win32RegValueName}_1.0.0.0_neutral__8wekyb3d8bbwe`; 10 | - } 11 | + // if (quality === 'insider') { 12 | + // definitions['AppxPackage'] = `code_insiders_explorer_${arch}.appx`; 13 | + // definitions['AppxPackageFullname'] = `Microsoft.${product.win32RegValueName}_1.0.0.0_neutral__8wekyb3d8bbwe`; 14 | + // } 15 | 16 | -------------------------------------------------------------------------------- /patches/insider/system-extensions.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts b/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts 2 | index 81bf4b2..5a88688 100644 3 | --- a/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts 4 | +++ b/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts 5 | @@ -233,7 +233,7 @@ export class Extension implements IExtension { 6 | return false; 7 | } 8 | // Do not allow updating system extensions in stable 9 | - if (this.type === ExtensionType.System && this.productService.quality === 'stable') { 10 | + if (this.type === ExtensionType.System) { 11 | return false; 12 | } 13 | if (!this.local.preRelease && this.gallery.properties.isPreReleaseVersion) { 14 | -------------------------------------------------------------------------------- /patches/linux/client/disable-remote.patch: -------------------------------------------------------------------------------- 1 | diff --git a/build/npm/postinstall.js b/build/npm/postinstall.js 2 | index e38c2cb..e00627c 100644 3 | --- a/build/npm/postinstall.js 4 | +++ b/build/npm/postinstall.js 5 | @@ -134,2 +134,3 @@ for (let dir of dirs) { 6 | setNpmrcConfig('remote', opts.env); 7 | + continue; 8 | } 9 | -------------------------------------------------------------------------------- /patches/linux/fix-build.patch: -------------------------------------------------------------------------------- 1 | diff --git a/build/gulpfile.vscode.linux.js b/build/gulpfile.vscode.linux.js 2 | index 28ddfb0..0fd18a1 100644 3 | --- a/build/gulpfile.vscode.linux.js 4 | +++ b/build/gulpfile.vscode.linux.js 5 | @@ -192,2 +192,3 @@ function prepareRpmPackage(arch) { 6 | const spec = code.pipe(es.through( 7 | + null, 8 | async function () { 9 | @@ -306,4 +307,3 @@ BUILD_TARGETS.forEach(({ arch }) => { 10 | const prepareDebTask = task.define(`vscode-linux-${arch}-prepare-deb`, task.series(rimraf(`.build/linux/deb/${debArch}`), prepareDebPackage(arch))); 11 | - gulp.task(prepareDebTask); 12 | - const buildDebTask = task.define(`vscode-linux-${arch}-build-deb`, buildDebPackage(arch)); 13 | + const buildDebTask = task.define(`vscode-linux-${arch}-build-deb`, task.series(prepareDebTask, buildDebPackage(arch))); 14 | gulp.task(buildDebTask); 15 | @@ -312,4 +312,3 @@ BUILD_TARGETS.forEach(({ arch }) => { 16 | const prepareRpmTask = task.define(`vscode-linux-${arch}-prepare-rpm`, task.series(rimraf(`.build/linux/rpm/${rpmArch}`), prepareRpmPackage(arch))); 17 | - gulp.task(prepareRpmTask); 18 | - const buildRpmTask = task.define(`vscode-linux-${arch}-build-rpm`, buildRpmPackage(arch)); 19 | + const buildRpmTask = task.define(`vscode-linux-${arch}-build-rpm`, task.series(prepareRpmTask, buildRpmPackage(arch))); 20 | gulp.task(buildRpmTask); 21 | diff --git a/build/linux/dependencies-generator.js b/build/linux/dependencies-generator.js 22 | index 19adbeb..fef80a5 100644 23 | --- a/build/linux/dependencies-generator.js 24 | +++ b/build/linux/dependencies-generator.js 25 | @@ -24,3 +24,3 @@ const product = require("../../product.json"); 26 | // are valid, are in dep-lists.ts 27 | -const FAIL_BUILD_FOR_NEW_DEPENDENCIES = true; 28 | +const FAIL_BUILD_FOR_NEW_DEPENDENCIES = false; 29 | // Based on https://source.chromium.org/chromium/chromium/src/+/refs/tags/124.0.6367.243:chrome/installer/linux/BUILD.gn;l=64-80 30 | @@ -56,3 +56,3 @@ async function getDependencies(packageType, buildDir, applicationName, arch) { 31 | // Add the tunnel binary. 32 | - files.push(path.join(buildDir, 'bin', product.tunnelApplicationName)); 33 | + // files.push(path.join(buildDir, 'bin', product.tunnelApplicationName)); 34 | // Add the main executable. 35 | diff --git a/build/linux/dependencies-generator.ts b/build/linux/dependencies-generator.ts 36 | index 5fe4ac5..1d3e68a 100644 37 | --- a/build/linux/dependencies-generator.ts 38 | +++ b/build/linux/dependencies-generator.ts 39 | @@ -25,3 +25,3 @@ import product = require('../../product.json'); 40 | // are valid, are in dep-lists.ts 41 | -const FAIL_BUILD_FOR_NEW_DEPENDENCIES: boolean = true; 42 | +const FAIL_BUILD_FOR_NEW_DEPENDENCIES: boolean = false; 43 | 44 | @@ -61,3 +61,3 @@ export async function getDependencies(packageType: 'deb' | 'rpm', buildDir: stri 45 | // Add the tunnel binary. 46 | - files.push(path.join(buildDir, 'bin', product.tunnelApplicationName)); 47 | + // files.push(path.join(buildDir, 'bin', product.tunnelApplicationName)); 48 | // Add the main executable. 49 | diff --git a/resources/linux/rpm/code.spec.template b/resources/linux/rpm/code.spec.template 50 | index c9e57db..bda2604 100644 51 | --- a/resources/linux/rpm/code.spec.template 52 | +++ b/resources/linux/rpm/code.spec.template 53 | @@ -87 +87,3 @@ update-mime-database %{_datadir}/mime &> /dev/null || : 54 | %{_datadir}/zsh/site-functions/_%{name} 55 | + 56 | +%config(noreplace) /usr/share/%{name}/resources/app/product.json 57 | \ No newline at end of file 58 | -------------------------------------------------------------------------------- /patches/linux/fix-reh-bootstrap.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/bootstrap-amd.js b/src/bootstrap-amd.js 2 | index 9c8daf5..297e106 100644 3 | --- a/src/bootstrap-amd.js 4 | +++ b/src/bootstrap-amd.js 5 | @@ -17,3 +17,3 @@ import * as fs from 'fs'; 6 | import { fileURLToPath } from 'url'; 7 | -import { createRequire, register } from 'node:module'; 8 | +import * as Module from 'node:module'; 9 | import { product, pkg } from './bootstrap-meta.js'; 10 | @@ -23,3 +23,3 @@ import * as performance from './vs/base/common/performance.js'; 11 | /** @ts-ignore */ 12 | -const require = createRequire(import.meta.url); 13 | +const require = Module.createRequire(import.meta.url); 14 | /** @type any */ 15 | @@ -29,3 +29,4 @@ const __dirname = path.dirname(fileURLToPath(import.meta.url)); 16 | // Install a hook to module resolution to map 'fs' to 'original-fs' 17 | -if (process.env['ELECTRON_RUN_AS_NODE'] || process.versions['electron']) { 18 | +// @ts-ignore 19 | +if (Module.register && (process.env['ELECTRON_RUN_AS_NODE'] || process.versions['electron'])) { 20 | const jsCode = ` 21 | @@ -44,3 +45,4 @@ if (process.env['ELECTRON_RUN_AS_NODE'] || process.versions['electron']) { 22 | }`; 23 | - register(`data:text/javascript;base64,${Buffer.from(jsCode).toString('base64')}`, import.meta.url); 24 | + // @ts-ignore 25 | + Module.register(`data:text/javascript;base64,${Buffer.from(jsCode).toString('base64')}`, import.meta.url); 26 | } 27 | -------------------------------------------------------------------------------- /patches/linux/ppc64le-and-riscv64-support.bak: -------------------------------------------------------------------------------- 1 | diff --git a/build/azure-pipelines/linux/setup-env.sh b/build/azure-pipelines/linux/setup-env.sh 2 | index e42a6b12b1f..854445538ba 100755 3 | --- a/build/azure-pipelines/linux/setup-env.sh 4 | +++ b/build/azure-pipelines/linux/setup-env.sh 5 | @@ -7,6 +7,10 @@ if [ "$SYSROOT_ARCH" == "x64" ]; then 6 | SYSROOT_ARCH="amd64" 7 | fi 8 | 9 | +if [ "$npm_config_arch" == "riscv64" ] || [ "$npm_config_arch" == "ppc64" ]; then 10 | + exit 0 11 | +fi 12 | + 13 | export VSCODE_SYSROOT_DIR=$PWD/.build/sysroots 14 | SYSROOT_ARCH="$SYSROOT_ARCH" node -e '(async () => { const { getVSCodeSysroot } = require("./build/linux/debian/install-sysroot.js"); await getVSCodeSysroot(process.env["SYSROOT_ARCH"]); })()' 15 | 16 | -------------------------------------------------------------------------------- /patches/linux/reh/node16.patch: -------------------------------------------------------------------------------- 1 | diff --git a/build/gulpfile.reh.js b/build/gulpfile.reh.js 2 | index e314794..8248247 100644 3 | --- a/build/gulpfile.reh.js 4 | +++ b/build/gulpfile.reh.js 5 | @@ -437,16 +437,2 @@ function packageTask(type, platform, arch, sourceFolderName, destinationFolderNa 6 | 7 | - if (platform === 'linux' && process.env['VSCODE_NODE_GLIBC'] === '-glibc-2.17') { 8 | - result = es.merge(result, 9 | - gulp.src(`resources/server/bin/helpers/check-requirements-linux-legacy.sh`, { base: '.' }) 10 | - .pipe(rename(`bin/helpers/check-requirements.sh`)) 11 | - .pipe(util.setExecutableBit()) 12 | - ); 13 | - } else if (platform === 'linux' || platform === 'alpine') { 14 | - result = es.merge(result, 15 | - gulp.src(`resources/server/bin/helpers/check-requirements-linux.sh`, { base: '.' }) 16 | - .pipe(rename(`bin/helpers/check-requirements.sh`)) 17 | - .pipe(util.setExecutableBit()) 18 | - ); 19 | - } 20 | - 21 | result = inlineMeta(result, { 22 | diff --git a/remote/package-lock.json b/remote/package-lock.json 23 | index 5872575..a559230 100644 24 | --- a/remote/package-lock.json 25 | +++ b/remote/package-lock.json 26 | @@ -37,3 +37,3 @@ 27 | "native-watchdog": "^1.4.1", 28 | - "node-pty": "1.1.0-beta21", 29 | + "node-pty": "1.1.0-beta4", 30 | "tas-client-umd": "0.2.0", 31 | @@ -712,2 +712,8 @@ 32 | }, 33 | + "node_modules/nan": { 34 | + "version": "2.20.0", 35 | + "resolved": "https://registry.npmjs.org/nan/-/nan-2.20.0.tgz", 36 | + "integrity": "sha512-bk3gXBZDGILuuo/6sKtr0DQmSThYHLtNCdSdXk9YkxD/jK6X2vmCyyXBBxyqZ4XcnzTyYEAThfX3DCEnLf6igw==", 37 | + "license": "MIT" 38 | + }, 39 | "node_modules/napi-build-utils": { 40 | @@ -750,16 +756,9 @@ 41 | "node_modules/node-pty": { 42 | - "version": "1.1.0-beta21", 43 | - "resolved": "https://registry.npmjs.org/node-pty/-/node-pty-1.1.0-beta21.tgz", 44 | - "integrity": "sha512-FYpnY9g8qMQLTpqyeY9NVli6YfCWwvG6v6gmaDBbPjlc1VMp/+Zivq0SStDrRr1aciGnFCZzpL0BzdMnmbDnAw==", 45 | + "version": "1.1.0-beta4", 46 | + "resolved": "https://registry.npmjs.org/node-pty/-/node-pty-1.1.0-beta4.tgz", 47 | + "integrity": "sha512-CgffN9AxVtH4g7vDxtanm2qaR7jw3oet9r+ArzziGiFvmds9SdR3gXkZF0fqZWSxhTHZusJWvsuKvRv+5O2K8A==", 48 | "hasInstallScript": true, 49 | + "license": "MIT", 50 | "dependencies": { 51 | - "node-addon-api": "^7.1.0" 52 | - } 53 | - }, 54 | - "node_modules/node-pty/node_modules/node-addon-api": { 55 | - "version": "7.1.0", 56 | - "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.0.tgz", 57 | - "integrity": "sha512-mNcltoe1R8o7STTegSOHdnJNN7s5EUvhoS7ShnTHDyOSd+8H+UdWODq6qSv67PjC8Zc5JRT8+oLAMCr0SIXw7g==", 58 | - "engines": { 59 | - "node": "^16 || ^18 || >= 20" 60 | + "nan": "^2.17.0" 61 | } 62 | diff --git a/remote/package.json b/remote/package.json 63 | index c107b04..112501b 100644 64 | --- a/remote/package.json 65 | +++ b/remote/package.json 66 | @@ -32,3 +32,3 @@ 67 | "native-watchdog": "^1.4.1", 68 | - "node-pty": "1.1.0-beta21", 69 | + "node-pty": "1.1.0-beta4", 70 | "tas-client-umd": "0.2.0", 71 | -------------------------------------------------------------------------------- /patches/linux/rpm.patch: -------------------------------------------------------------------------------- 1 | diff --git a/resources/linux/rpm/code.spec.template b/resources/linux/rpm/code.spec.template 2 | index c9e57db..ef27166 100644 3 | --- a/resources/linux/rpm/code.spec.template 4 | +++ b/resources/linux/rpm/code.spec.template 5 | @@ -2,3 +2,3 @@ Name: @@NAME@@ 6 | Version: @@VERSION@@ 7 | -Release: @@RELEASE@@.el8 8 | +Release: el7 9 | Summary: Code editing. Redefined. 10 | -------------------------------------------------------------------------------- /patches/linux/yarn-dependencies.patch: -------------------------------------------------------------------------------- 1 | diff --git a/build/npm/postinstall.js b/build/npm/postinstall.js 2 | index d45d5bc..81a6449 100644 3 | --- a/build/npm/postinstall.js 4 | +++ b/build/npm/postinstall.js 5 | @@ -56,3 +56,3 @@ function yarnInstall(dir, opts) { 6 | opts.cwd = root; 7 | - if (process.env['npm_config_arch'] === 'arm64') { 8 | + if (process.env['npm_config_arch'] === 'arm64' || process.env['npm_config_arch'] === 'arm' || process.env['npm_config_arch'] === 'ppc64' || process.env['npm_config_arch'] === 'riscv64') { 9 | run('sudo', ['docker', 'run', '--rm', '--privileged', 'multiarch/qemu-user-static', '--reset', '-p', 'yes'], opts); 10 | -------------------------------------------------------------------------------- /patches/merge-user-product.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/main.js b/src/main.js 2 | index 10bd503..4d55178 100644 3 | --- a/src/main.js 4 | +++ b/src/main.js 5 | @@ -42,2 +42,6 @@ import { resolveNLSConfiguration } from './vs/base/node/nls.js'; 6 | import { getUNCHost, addUNCHostToAllowlist } from './vs/base/node/unc.js'; 7 | +import { createRequire } from 'node:module' 8 | + 9 | +/** @ts-ignore */ 10 | +const require = createRequire(import.meta.url) 11 | 12 | @@ -132,2 +136,14 @@ registerListeners(); 13 | 14 | +function resolveUserProduct() { 15 | + const userDataPath = getUserDataPath({}, product.nameShort ?? 'code-oss-dev'); 16 | + const userProductPath = `file:///${userDataPath}/product.json`; 17 | + 18 | + try { 19 | + // Assign the product configuration to the global scope 20 | + const productPath = require(fileURLToPath(userProductPath)); 21 | + global["_VSCODE_USER_PRODUCT_JSON"] = productPath; 22 | + } catch (ex) { 23 | + } 24 | +} 25 | + 26 | /** 27 | @@ -208,2 +224,3 @@ function startup(codeCachePath, nlsConfig) { 28 | process.env['VSCODE_CODE_CACHE_PATH'] = codeCachePath || ''; 29 | + resolveUserProduct(); 30 | 31 | diff --git a/src/vs/platform/product/common/product.ts b/src/vs/platform/product/common/product.ts 32 | index a98043f..204ce1b 100644 33 | --- a/src/vs/platform/product/common/product.ts 34 | +++ b/src/vs/platform/product/common/product.ts 35 | @@ -29,2 +29,36 @@ else if (globalThis._VSCODE_PRODUCT_JSON && globalThis._VSCODE_PACKAGE_JSON) { 36 | 37 | + const { serviceUrl, searchUrl, itemUrl, controlUrl } = product.extensionsGallery || {}; 38 | + 39 | + Object.assign(product, { 40 | + extensionsGallery: { 41 | + serviceUrl: env['VSCODE_GALLERY_SERVICE_URL'] || serviceUrl, 42 | + searchUrl: env['VSCODE_GALLERY_SEARCH_URL'] || searchUrl, 43 | + itemUrl: env['VSCODE_GALLERY_ITEM_URL'] || itemUrl, 44 | + controlUrl: env['VSCODE_GALLERY_CONTROL_URL'] || controlUrl, 45 | + } 46 | + }); 47 | + 48 | + // Merge user-customized product.json 49 | + try { 50 | + const merge = (...objects: any[]) => 51 | + objects.reduce((result, current) => { 52 | + Object.keys(current).forEach((key) => { 53 | + if (Array.isArray(result[key]) && Array.isArray(current[key])) { 54 | + result[key] = current[key]; 55 | + } else if (typeof result[key] === 'object' && typeof current[key] === 'object') { 56 | + result[key] = merge(result[key], current[key]); 57 | + } else { 58 | + result[key] = current[key]; 59 | + } 60 | + }); 61 | + 62 | + return result; 63 | + }, {}) as any; 64 | + 65 | + const userProduct = (globalThis as Record)._VSCODE_USER_PRODUCT_JSON || {}; 66 | + 67 | + product = merge(product, userProduct); 68 | + } catch (ex) { 69 | + } 70 | + 71 | // Running out of sources 72 | -------------------------------------------------------------------------------- /patches/ms-build-id.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/vs/workbench/electron-sandbox/parts/dialogs/dialogHandler.ts b/src/vs/workbench/electron-sandbox/parts/dialogs/dialogHandler.ts 2 | index f2cc82a..fb690f9 100644 3 | --- a/src/vs/workbench/electron-sandbox/parts/dialogs/dialogHandler.ts 4 | +++ b/src/vs/workbench/electron-sandbox/parts/dialogs/dialogHandler.ts 5 | @@ -81,12 +81,12 @@ export class NativeDialogHandler extends AbstractDialogHandler { 6 | 7 | const detailString = (useAgo: boolean): string => { 8 | return localize({ key: 'aboutDetail', comment: ['Electron, Chromium, Node.js and V8 are product names that need no translation'] }, 9 | - "Version: {0}\nCommit: {1}\nDate: {2}\nElectron: {3}\nElectronBuildId: {4}\nChromium: {5}\nNode.js: {6}\nV8: {7}\nOS: {8}", 10 | + "Version: {0}\nCommit: {1}\nDate: {2}\nElectron: {3}\nMSBuildId: {4}\nChromium: {5}\nNode.js: {6}\nV8: {7}\nOS: {8}", 11 | version, 12 | this.productService.commit || 'Unknown', 13 | this.productService.date ? `${this.productService.date}${useAgo ? ' (' + fromNow(new Date(this.productService.date), true) + ')' : ''}` : 'Unknown', 14 | process.versions['electron'], 15 | - process.versions['microsoft-build'], 16 | + '10262041', 17 | process.versions['chrome'], 18 | process.versions['node'], 19 | process.versions['v8'], 20 | -------------------------------------------------------------------------------- /patches/osx/fix-codesign.patch: -------------------------------------------------------------------------------- 1 | diff --git a/build/darwin/sign.js b/build/darwin/sign.js 2 | index f5913b7..100b950 100644 3 | --- a/build/darwin/sign.js 4 | +++ b/build/darwin/sign.js 5 | @@ -53,5 +53,7 @@ async function main(buildDir) { 6 | ignore: (filePath) => { 7 | + const ext = path.extname(filePath); 8 | return filePath.includes(gpuHelperAppName) || 9 | filePath.includes(rendererHelperAppName) || 10 | - filePath.includes(pluginHelperAppName); 11 | + filePath.includes(pluginHelperAppName) || 12 | + ext == '.asar' || ext == '.dat' || ext == '.gif' || ext == '.icns' || ext == '.ico' || ext == '.json' || ext == '.mp3' || ext == '.nib' || ext == '.pak' || ext == '.png' || ext == '.scpt' || ext == '.ttf' || ext == '.wasm' || ext == '.woff' || ext == '.woff2'; 13 | } 14 | @@ -83,3 +85,3 @@ async function main(buildDir) { 15 | '-string', 16 | - 'An application in Visual Studio Code wants to use AppleScript.', 17 | + 'An application in VSCodium wants to use AppleScript.', 18 | `${infoPlistPath}` 19 | @@ -90,3 +92,3 @@ async function main(buildDir) { 20 | '-string', 21 | - 'An application in Visual Studio Code wants to use the Microphone.', 22 | + 'An application in VSCodium wants to use the Microphone.', 23 | `${infoPlistPath}` 24 | @@ -97,3 +99,3 @@ async function main(buildDir) { 25 | '-string', 26 | - 'An application in Visual Studio Code wants to use the Camera.', 27 | + 'An application in VSCodium wants to use the Camera.', 28 | `${infoPlistPath}` 29 | -------------------------------------------------------------------------------- /patches/process-explorer.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/vs/code/electron-sandbox/processExplorer/media/processExplorer.css b/src/vs/code/electron-sandbox/processExplorer/media/processExplorer.css 2 | index 3baf48c..2216a7f 100644 3 | --- a/src/vs/code/electron-sandbox/processExplorer/media/processExplorer.css 4 | +++ b/src/vs/code/electron-sandbox/processExplorer/media/processExplorer.css 5 | @@ -42,7 +42,8 @@ body { 6 | } 7 | 8 | .pid { 9 | - width: 50px 10 | + width: 50px; 11 | + margin-right: 0.5em; 12 | } 13 | 14 | .memory { 15 | -------------------------------------------------------------------------------- /patches/quit-keybindings.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/vs/workbench/electron-sandbox/actions/windowActions.ts b/src/vs/workbench/electron-sandbox/actions/windowActions.ts 2 | index 5693f07..c1d97f3 100644 3 | --- a/src/vs/workbench/electron-sandbox/actions/windowActions.ts 4 | +++ b/src/vs/workbench/electron-sandbox/actions/windowActions.ts 5 | @@ -43,9 +43,9 @@ export class CloseWindowAction extends Action2 { 6 | f1: true, 7 | keybinding: { 8 | weight: KeybindingWeight.WorkbenchContrib, 9 | - mac: { primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyW }, 10 | - linux: { primary: KeyMod.Alt | KeyCode.F4, secondary: [KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyW] }, 11 | - win: { primary: KeyMod.Alt | KeyCode.F4, secondary: [KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyW] } 12 | + mac: { primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyQ }, 13 | + linux: { primary: KeyMod.Alt | KeyCode.F4, secondary: [KeyMod.CtrlCmd | KeyCode.KeyQ] }, 14 | + win: { primary: KeyMod.Alt | KeyCode.F4, secondary: [KeyMod.CtrlCmd | KeyCode.KeyQ] } 15 | }, 16 | menu: { 17 | id: MenuId.MenubarFileMenu, 18 | -------------------------------------------------------------------------------- /patches/remove-mangle.patch: -------------------------------------------------------------------------------- 1 | diff --git a/build/lib/compilation.js b/build/lib/compilation.js 2 | index 2270e05..1bd7b90 100644 3 | --- a/build/lib/compilation.js 4 | +++ b/build/lib/compilation.js 5 | @@ -104,24 +104,3 @@ function compileTask(src, out, build, options = {}) { 6 | } 7 | - // mangle: TypeScript to TypeScript 8 | - let mangleStream = es.through(); 9 | - if (build && !options.disableMangle) { 10 | - let ts2tsMangler = new index_1.Mangler(compile.projectPath, (...data) => fancyLog(ansiColors.blue('[mangler]'), ...data), { mangleExports: true, manglePrivateFields: true }); 11 | - const newContentsByFileName = ts2tsMangler.computeNewFileContents(new Set(['saveState'])); 12 | - mangleStream = es.through(async function write(data) { 13 | - const tsNormalPath = ts.normalizePath(data.path); 14 | - const newContents = (await newContentsByFileName).get(tsNormalPath); 15 | - if (newContents !== undefined) { 16 | - data.contents = Buffer.from(newContents.out); 17 | - data.sourceMap = newContents.sourceMap && JSON.parse(newContents.sourceMap); 18 | - } 19 | - this.push(data); 20 | - }, async function end() { 21 | - // free resources 22 | - (await newContentsByFileName).clear(); 23 | - this.push(null); 24 | - ts2tsMangler = undefined; 25 | - }); 26 | - } 27 | return srcPipe 28 | - .pipe(mangleStream) 29 | .pipe(generator.stream) 30 | diff --git a/build/lib/compilation.ts b/build/lib/compilation.ts 31 | index d5da3f1..fa46962 100644 32 | --- a/build/lib/compilation.ts 33 | +++ b/build/lib/compilation.ts 34 | @@ -123,27 +123,3 @@ export function compileTask(src: string, out: string, build: boolean, options: { 35 | 36 | - // mangle: TypeScript to TypeScript 37 | - let mangleStream = es.through(); 38 | - if (build && !options.disableMangle) { 39 | - let ts2tsMangler = new Mangler(compile.projectPath, (...data) => fancyLog(ansiColors.blue('[mangler]'), ...data), { mangleExports: true, manglePrivateFields: true }); 40 | - const newContentsByFileName = ts2tsMangler.computeNewFileContents(new Set(['saveState'])); 41 | - mangleStream = es.through(async function write(data: File & { sourceMap?: RawSourceMap }) { 42 | - type TypeScriptExt = typeof ts & { normalizePath(path: string): string }; 43 | - const tsNormalPath = (ts).normalizePath(data.path); 44 | - const newContents = (await newContentsByFileName).get(tsNormalPath); 45 | - if (newContents !== undefined) { 46 | - data.contents = Buffer.from(newContents.out); 47 | - data.sourceMap = newContents.sourceMap && JSON.parse(newContents.sourceMap); 48 | - } 49 | - this.push(data); 50 | - }, async function end() { 51 | - // free resources 52 | - (await newContentsByFileName).clear(); 53 | - 54 | - this.push(null); 55 | - (ts2tsMangler) = undefined; 56 | - }); 57 | - } 58 | - 59 | return srcPipe 60 | - .pipe(mangleStream) 61 | .pipe(generator.stream) 62 | -------------------------------------------------------------------------------- /patches/update-cache-path.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/vs/platform/update/electron-main/updateService.win32.ts b/src/vs/platform/update/electron-main/updateService.win32.ts 2 | index a2561be..a50958e 100644 3 | --- a/src/vs/platform/update/electron-main/updateService.win32.ts 4 | +++ b/src/vs/platform/update/electron-main/updateService.win32.ts 5 | @@ -56,3 +56,3 @@ export class Win32UpdateService extends AbstractUpdateService implements IRelaun 6 | get cachePath(): Promise { 7 | - const result = path.join(tmpdir(), `vscode-${this.productService.quality}-${this.productService.target}-${process.arch}`); 8 | + const result = path.join(tmpdir(), `${this.productService.applicationName}-${this.productService.quality}-${this.productService.target}-${process.arch}`); 9 | return fs.promises.mkdir(result, { recursive: true }).then(() => result); 10 | -------------------------------------------------------------------------------- /patches/use-github-pat.patch: -------------------------------------------------------------------------------- 1 | diff --git a/extensions/github-authentication/src/common/env.ts b/extensions/github-authentication/src/common/env.ts 2 | index ebc4749..18fd732 100644 3 | --- a/extensions/github-authentication/src/common/env.ts 4 | +++ b/extensions/github-authentication/src/common/env.ts 5 | @@ -7,21 +7,4 @@ import { AuthProviderType } from '../github'; 6 | 7 | -const VALID_DESKTOP_CALLBACK_SCHEMES = [ 8 | - 'vscode', 9 | - 'vscode-insiders', 10 | - // On Windows, some browsers don't seem to redirect back to OSS properly. 11 | - // As a result, you get stuck in the auth flow. We exclude this from the 12 | - // list until we can figure out a way to fix this behavior in browsers. 13 | - // 'code-oss', 14 | - 'vscode-wsl', 15 | - 'vscode-exploration' 16 | -]; 17 | - 18 | -export function isSupportedClient(uri: Uri): boolean { 19 | - return ( 20 | - VALID_DESKTOP_CALLBACK_SCHEMES.includes(uri.scheme) || 21 | - // vscode.dev & insiders.vscode.dev 22 | - /(?:^|\.)vscode\.dev$/.test(uri.authority) || 23 | - // github.dev & codespaces 24 | - /(?:^|\.)github\.dev$/.test(uri.authority) 25 | - ); 26 | +export function isSupportedClient(_uri: Uri): boolean { 27 | + return false; 28 | } 29 | @@ -35,4 +18,4 @@ export function isSupportedTarget(type: AuthProviderType, gheUri?: Uri): boolean 30 | 31 | -export function isHostedGitHubEnterprise(uri: Uri): boolean { 32 | - return /\.ghe\.com$/.test(uri.authority); 33 | +export function isHostedGitHubEnterprise(_uri: Uri): boolean { 34 | + return false; 35 | } 36 | -------------------------------------------------------------------------------- /patches/user/readme.txt: -------------------------------------------------------------------------------- 1 | store user patches at location patches/user and those will be applied to vscode source git by the scripts 2 | -------------------------------------------------------------------------------- /patches/windows/update-msi.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/vs/platform/update/electron-main/updateService.win32.ts b/src/vs/platform/update/electron-main/updateService.win32.ts 2 | index 4c49a75..7840d2a 100644 3 | --- a/src/vs/platform/update/electron-main/updateService.win32.ts 4 | +++ b/src/vs/platform/update/electron-main/updateService.win32.ts 5 | @@ -270,3 +270,3 @@ export class Win32UpdateService extends AbstractUpdateService implements IRelaun 6 | 7 | - const fastUpdatesEnabled = this.configurationService.getValue('update.enableWindowsBackgroundUpdates'); 8 | + const fastUpdatesEnabled = getUpdateType() == UpdateType.Setup && this.configurationService.getValue('update.enableWindowsBackgroundUpdates'); 9 | const update: IUpdate = { version: 'unknown', productVersion: 'unknown' }; 10 | -------------------------------------------------------------------------------- /patches/windows/update.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/vs/platform/update/common/update.ts b/src/vs/platform/update/common/update.ts 2 | index 0f79e17..97ea778 100644 3 | --- a/src/vs/platform/update/common/update.ts 4 | +++ b/src/vs/platform/update/common/update.ts 5 | @@ -48,3 +48,4 @@ export const enum UpdateType { 6 | Archive, 7 | - Snap 8 | + Snap, 9 | + WindowsInstaller, 10 | } 11 | diff --git a/src/vs/platform/update/electron-main/updateService.win32.ts b/src/vs/platform/update/electron-main/updateService.win32.ts 12 | index 99bf807..27e77f0 100644 13 | --- a/src/vs/platform/update/electron-main/updateService.win32.ts 14 | +++ b/src/vs/platform/update/electron-main/updateService.win32.ts 15 | @@ -41,5 +41,9 @@ function getUpdateType(): UpdateType { 16 | if (typeof _updateType === 'undefined') { 17 | - _updateType = fs.existsSync(path.join(path.dirname(process.execPath), 'unins000.exe')) 18 | - ? UpdateType.Setup 19 | - : UpdateType.Archive; 20 | + if (fs.existsSync(path.join(path.dirname(process.execPath), 'unins000.exe'))) { 21 | + _updateType = UpdateType.Setup; 22 | + } else if (path.basename(path.normalize(path.join(process.execPath, '..', '..'))) === 'Program Files') { 23 | + _updateType = UpdateType.WindowsInstaller; 24 | + } else { 25 | + _updateType = UpdateType.Archive; 26 | + } 27 | } 28 | @@ -103,6 +107,16 @@ export class Win32UpdateService extends AbstractUpdateService implements IRelaun 29 | 30 | - if (getUpdateType() === UpdateType.Archive) { 31 | - platform += '-archive'; 32 | - } else if (this.productService.target === 'user') { 33 | - platform += '-user'; 34 | + switch (getUpdateType()) { 35 | + case UpdateType.Archive: 36 | + platform += '-archive'; 37 | + break; 38 | + case UpdateType.WindowsInstaller: 39 | + platform += '-msi'; 40 | + break; 41 | + default: 42 | + if (this.productService.target === 'user') { 43 | + platform += '-user'; 44 | + } 45 | + else { 46 | + platform += '-system'; 47 | + } 48 | } 49 | @@ -257,6 +271,14 @@ export class Win32UpdateService extends AbstractUpdateService implements IRelaun 50 | } else { 51 | - spawn(this.availableUpdate.packagePath, ['/silent', '/log', '/mergetasks=runcode,!desktopicon,!quicklaunchicon'], { 52 | - detached: true, 53 | - stdio: ['ignore', 'ignore', 'ignore'] 54 | - }); 55 | + const type = getUpdateType(); 56 | + if (type == UpdateType.WindowsInstaller) { 57 | + spawn('msiexec.exe', ['/i', this.availableUpdate.packagePath], { 58 | + detached: true, 59 | + stdio: ['ignore', 'ignore', 'ignore'] 60 | + }); 61 | + } else { 62 | + spawn(this.availableUpdate.packagePath, ['/silent', '/log', '/mergetasks=runcode,!desktopicon,!quicklaunchicon'], { 63 | + detached: true, 64 | + stdio: ['ignore', 'ignore', 'ignore'] 65 | + }); 66 | + } 67 | } 68 | -------------------------------------------------------------------------------- /patches/windows/win7.patch: -------------------------------------------------------------------------------- 1 | diff --git a/build/win32/code.iss b/build/win32/code.iss 2 | index 44c9f2f..454aa09 100644 3 | --- a/build/win32/code.iss 4 | +++ b/build/win32/code.iss 5 | @@ -28,3 +28,3 @@ ChangesEnvironment=true 6 | ChangesAssociations=true 7 | -MinVersion=10.0 8 | +MinVersion=6.0 9 | SourceDir={#SourceDir} 10 | -------------------------------------------------------------------------------- /prepare_src.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # shellcheck disable=SC1091 3 | 4 | set -e 5 | 6 | npm install -g checksum 7 | 8 | sum_file() { 9 | if [[ -f "${1}" ]]; then 10 | echo "Calculating checksum for ${1}" 11 | checksum -a sha256 "${1}" > "${1}".sha256 12 | checksum "${1}" > "${1}".sha1 13 | fi 14 | } 15 | 16 | mkdir -p assets 17 | 18 | git archive --format tar.gz --output="./assets/${APP_NAME}-${RELEASE_VERSION}-src.tar.gz" HEAD 19 | git archive --format zip --output="./assets/${APP_NAME}-${RELEASE_VERSION}-src.zip" HEAD 20 | 21 | cd assets 22 | 23 | for FILE in *; do 24 | if [[ -f "${FILE}" ]]; then 25 | sum_file "${FILE}" 26 | fi 27 | done 28 | 29 | cd .. 30 | -------------------------------------------------------------------------------- /promo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/promo.png -------------------------------------------------------------------------------- /release.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | 5 | if [[ -z "${GH_TOKEN}" ]] && [[ -z "${GITHUB_TOKEN}" ]] && [[ -z "${GH_ENTERPRISE_TOKEN}" ]] && [[ -z "${GITHUB_ENTERPRISE_TOKEN}" ]]; then 6 | echo "Will not release because no GITHUB_TOKEN defined" 7 | exit 8 | fi 9 | 10 | REPOSITORY_OWNER="${ASSETS_REPOSITORY/\/*/}" 11 | REPOSITORY_NAME="${ASSETS_REPOSITORY/*\//}" 12 | 13 | npm install -g github-release-cli 14 | 15 | if [[ $( gh release view --repo "${ASSETS_REPOSITORY}" "${RELEASE_VERSION}" 2>&1 ) =~ "release not found" ]]; then 16 | echo "Creating release '${RELEASE_VERSION}'" 17 | 18 | if [[ "${VSCODE_QUALITY}" == "insider" ]]; then 19 | NOTES="update vscode to [${MS_COMMIT}](https://github.com/microsoft/vscode/tree/${MS_COMMIT})" 20 | CREATE_OPTIONS="" 21 | else 22 | NOTES="update vscode to [${MS_TAG}](https://code.visualstudio.com/updates/v$( echo "${MS_TAG//./_}" | cut -d'_' -f 1,2 ))" 23 | CREATE_OPTIONS="--generate-notes" 24 | fi 25 | 26 | gh release create "${RELEASE_VERSION}" --repo "${ASSETS_REPOSITORY}" --title "${RELEASE_VERSION}" --notes "${NOTES}" ${CREATE_OPTIONS} 27 | fi 28 | 29 | cd assets 30 | 31 | set +e 32 | 33 | for FILE in *; do 34 | if [[ -f "${FILE}" ]] && [[ "${FILE}" != *.sha1 ]] && [[ "${FILE}" != *.sha256 ]]; then 35 | echo "::group::Uploading '${FILE}' at $( date "+%T" )" 36 | gh release upload --repo "${ASSETS_REPOSITORY}" "${RELEASE_VERSION}" "${FILE}" "${FILE}.sha1" "${FILE}.sha256" 37 | 38 | EXIT_STATUS=$? 39 | echo "exit: ${EXIT_STATUS}" 40 | 41 | if (( "${EXIT_STATUS}" )); then 42 | for (( i=0; i<10; i++ )); do 43 | github-release delete --owner "${REPOSITORY_OWNER}" --repo "${REPOSITORY_NAME}" --tag "${RELEASE_VERSION}" "${FILE}" "${FILE}.sha1" "${FILE}.sha256" 44 | 45 | sleep $(( 15 * (i + 1))) 46 | 47 | echo "RE-Uploading '${FILE}' at $( date "+%T" )" 48 | gh release upload --repo "${ASSETS_REPOSITORY}" "${RELEASE_VERSION}" "${FILE}" "${FILE}.sha1" "${FILE}.sha256" 49 | 50 | EXIT_STATUS=$? 51 | echo "exit: ${EXIT_STATUS}" 52 | 53 | if ! (( "${EXIT_STATUS}" )); then 54 | break 55 | fi 56 | done 57 | echo "exit: ${EXIT_STATUS}" 58 | 59 | if (( "${EXIT_STATUS}" )); then 60 | echo "'${FILE}' hasn't been uploaded!" 61 | 62 | github-release delete --owner "${REPOSITORY_OWNER}" --repo "${REPOSITORY_NAME}" --tag "${RELEASE_VERSION}" "${FILE}" "${FILE}.sha1" "${FILE}.sha256" 63 | 64 | exit 1 65 | fi 66 | fi 67 | 68 | echo "::endgroup::" 69 | fi 70 | done 71 | 72 | cd .. 73 | -------------------------------------------------------------------------------- /src/insider/resources/darwin/bat.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/darwin/bat.icns -------------------------------------------------------------------------------- /src/insider/resources/darwin/bower.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/darwin/bower.icns -------------------------------------------------------------------------------- /src/insider/resources/darwin/c.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/darwin/c.icns -------------------------------------------------------------------------------- /src/insider/resources/darwin/code.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/darwin/code.icns -------------------------------------------------------------------------------- /src/insider/resources/darwin/config.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/darwin/config.icns -------------------------------------------------------------------------------- /src/insider/resources/darwin/cpp.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/darwin/cpp.icns -------------------------------------------------------------------------------- /src/insider/resources/darwin/csharp.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/darwin/csharp.icns -------------------------------------------------------------------------------- /src/insider/resources/darwin/css.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/darwin/css.icns -------------------------------------------------------------------------------- /src/insider/resources/darwin/default.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/darwin/default.icns -------------------------------------------------------------------------------- /src/insider/resources/darwin/go.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/darwin/go.icns -------------------------------------------------------------------------------- /src/insider/resources/darwin/html.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/darwin/html.icns -------------------------------------------------------------------------------- /src/insider/resources/darwin/jade.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/darwin/jade.icns -------------------------------------------------------------------------------- /src/insider/resources/darwin/java.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/darwin/java.icns -------------------------------------------------------------------------------- /src/insider/resources/darwin/javascript.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/darwin/javascript.icns -------------------------------------------------------------------------------- /src/insider/resources/darwin/json.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/darwin/json.icns -------------------------------------------------------------------------------- /src/insider/resources/darwin/less.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/darwin/less.icns -------------------------------------------------------------------------------- /src/insider/resources/darwin/markdown.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/darwin/markdown.icns -------------------------------------------------------------------------------- /src/insider/resources/darwin/php.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/darwin/php.icns -------------------------------------------------------------------------------- /src/insider/resources/darwin/powershell.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/darwin/powershell.icns -------------------------------------------------------------------------------- /src/insider/resources/darwin/python.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/darwin/python.icns -------------------------------------------------------------------------------- /src/insider/resources/darwin/react.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/darwin/react.icns -------------------------------------------------------------------------------- /src/insider/resources/darwin/ruby.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/darwin/ruby.icns -------------------------------------------------------------------------------- /src/insider/resources/darwin/sass.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/darwin/sass.icns -------------------------------------------------------------------------------- /src/insider/resources/darwin/shell.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/darwin/shell.icns -------------------------------------------------------------------------------- /src/insider/resources/darwin/sql.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/darwin/sql.icns -------------------------------------------------------------------------------- /src/insider/resources/darwin/typescript.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/darwin/typescript.icns -------------------------------------------------------------------------------- /src/insider/resources/darwin/vue.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/darwin/vue.icns -------------------------------------------------------------------------------- /src/insider/resources/darwin/xml.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/darwin/xml.icns -------------------------------------------------------------------------------- /src/insider/resources/darwin/yaml.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/darwin/yaml.icns -------------------------------------------------------------------------------- /src/insider/resources/linux/code-url-handler.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Name=@@NAME_LONG@@ - URL Handler 3 | Comment=Code Editing. Redefined. 4 | GenericName=Text Editor 5 | Exec=@@EXEC@@ --open-url %U 6 | Icon=@@ICON@@ 7 | Type=Application 8 | NoDisplay=true 9 | StartupNotify=true 10 | Categories=Utility;TextEditor;Development;IDE; 11 | MimeType=x-scheme-handler/@@URLPROTOCOL@@; 12 | Keywords=vscodium;codium;vscode; 13 | -------------------------------------------------------------------------------- /src/insider/resources/linux/code.appdata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | @@NAME@@.desktop 4 | @@LICENSE@@ 5 | @@LICENSE@@ 6 | @@NAME_LONG@@ 7 | https://github.com/Alex313031/codium#readme 8 | Codium - Code editing. Redefined. 9 | 10 |

Codium is a community-driven, freely-licensed binary distribution of Microsoft's editor VS Code.

11 |
12 | 13 | 14 | https://github.com/Alex313031/codium/blob/master/Logo.png 15 | Codium Logo 16 | 17 | 18 |
19 | -------------------------------------------------------------------------------- /src/insider/resources/linux/code.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Name=@@NAME_LONG@@ 3 | Comment=Code Editing. Redefined. 4 | GenericName=Text Editor 5 | Exec=@@EXEC@@ %F 6 | Icon=@@ICON@@ 7 | Type=Application 8 | StartupNotify=false 9 | StartupWMClass=@@NAME_SHORT@@ 10 | Categories=TextEditor;Development;IDE; 11 | MimeType=text/plain;inode/directory;application/x-@@NAME@@-workspace; 12 | Actions=new-empty-window; 13 | Keywords=vscodium;codium;vscode; 14 | 15 | [Desktop Action new-empty-window] 16 | Name=New Empty Window 17 | Name[de]=Neues leeres Fenster 18 | Name[es]=Nueva ventana vacía 19 | Name[fr]=Nouvelle fenêtre vide 20 | Name[it]=Nuova finestra vuota 21 | Name[ja]=新しい空のウィンドウ 22 | Name[ko]=새 빈 창 23 | Name[ru]=Новое пустое окно 24 | Name[zh_CN]=新建空窗口 25 | Name[zh_TW]=開新空視窗 26 | Exec=@@EXEC@@ --new-window %F 27 | Icon=@@ICON@@ 28 | -------------------------------------------------------------------------------- /src/insider/resources/linux/code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/linux/code.png -------------------------------------------------------------------------------- /src/insider/resources/server/code-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/server/code-192.png -------------------------------------------------------------------------------- /src/insider/resources/server/code-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/server/code-512.png -------------------------------------------------------------------------------- /src/insider/resources/server/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/server/favicon.ico -------------------------------------------------------------------------------- /src/insider/resources/win32/VisualElementsManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | -------------------------------------------------------------------------------- /src/insider/resources/win32/bower.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/bower.ico -------------------------------------------------------------------------------- /src/insider/resources/win32/c.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/c.ico -------------------------------------------------------------------------------- /src/insider/resources/win32/code.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/code.ico -------------------------------------------------------------------------------- /src/insider/resources/win32/code_150x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/code_150x150.png -------------------------------------------------------------------------------- /src/insider/resources/win32/code_70x70.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/code_70x70.png -------------------------------------------------------------------------------- /src/insider/resources/win32/config.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/config.ico -------------------------------------------------------------------------------- /src/insider/resources/win32/cpp.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/cpp.ico -------------------------------------------------------------------------------- /src/insider/resources/win32/csharp.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/csharp.ico -------------------------------------------------------------------------------- /src/insider/resources/win32/css.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/css.ico -------------------------------------------------------------------------------- /src/insider/resources/win32/default.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/default.ico -------------------------------------------------------------------------------- /src/insider/resources/win32/go.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/go.ico -------------------------------------------------------------------------------- /src/insider/resources/win32/html.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/html.ico -------------------------------------------------------------------------------- /src/insider/resources/win32/inno-big-100.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/inno-big-100.bmp -------------------------------------------------------------------------------- /src/insider/resources/win32/inno-big-125.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/inno-big-125.bmp -------------------------------------------------------------------------------- /src/insider/resources/win32/inno-big-150.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/inno-big-150.bmp -------------------------------------------------------------------------------- /src/insider/resources/win32/inno-big-175.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/inno-big-175.bmp -------------------------------------------------------------------------------- /src/insider/resources/win32/inno-big-200.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/inno-big-200.bmp -------------------------------------------------------------------------------- /src/insider/resources/win32/inno-big-225.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/inno-big-225.bmp -------------------------------------------------------------------------------- /src/insider/resources/win32/inno-big-250.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/inno-big-250.bmp -------------------------------------------------------------------------------- /src/insider/resources/win32/inno-small-100.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/inno-small-100.bmp -------------------------------------------------------------------------------- /src/insider/resources/win32/inno-small-125.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/inno-small-125.bmp -------------------------------------------------------------------------------- /src/insider/resources/win32/inno-small-150.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/inno-small-150.bmp -------------------------------------------------------------------------------- /src/insider/resources/win32/inno-small-175.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/inno-small-175.bmp -------------------------------------------------------------------------------- /src/insider/resources/win32/inno-small-200.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/inno-small-200.bmp -------------------------------------------------------------------------------- /src/insider/resources/win32/inno-small-225.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/inno-small-225.bmp -------------------------------------------------------------------------------- /src/insider/resources/win32/inno-small-250.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/inno-small-250.bmp -------------------------------------------------------------------------------- /src/insider/resources/win32/jade.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/jade.ico -------------------------------------------------------------------------------- /src/insider/resources/win32/java.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/java.ico -------------------------------------------------------------------------------- /src/insider/resources/win32/javascript.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/javascript.ico -------------------------------------------------------------------------------- /src/insider/resources/win32/json.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/json.ico -------------------------------------------------------------------------------- /src/insider/resources/win32/less.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/less.ico -------------------------------------------------------------------------------- /src/insider/resources/win32/markdown.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/markdown.ico -------------------------------------------------------------------------------- /src/insider/resources/win32/php.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/php.ico -------------------------------------------------------------------------------- /src/insider/resources/win32/powershell.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/powershell.ico -------------------------------------------------------------------------------- /src/insider/resources/win32/python.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/python.ico -------------------------------------------------------------------------------- /src/insider/resources/win32/react.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/react.ico -------------------------------------------------------------------------------- /src/insider/resources/win32/ruby.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/ruby.ico -------------------------------------------------------------------------------- /src/insider/resources/win32/sass.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/sass.ico -------------------------------------------------------------------------------- /src/insider/resources/win32/shell.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/shell.ico -------------------------------------------------------------------------------- /src/insider/resources/win32/sql.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/sql.ico -------------------------------------------------------------------------------- /src/insider/resources/win32/typescript.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/typescript.ico -------------------------------------------------------------------------------- /src/insider/resources/win32/vue.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/vue.ico -------------------------------------------------------------------------------- /src/insider/resources/win32/xml.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/xml.ico -------------------------------------------------------------------------------- /src/insider/resources/win32/yaml.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/insider/resources/win32/yaml.ico -------------------------------------------------------------------------------- /src/insider/src/vs/workbench/browser/media/code-icon.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/insider/src/vs/workbench/browser/parts/editor/media/letterpress-dark.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /src/insider/src/vs/workbench/browser/parts/editor/media/letterpress-hcDark.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /src/insider/src/vs/workbench/browser/parts/editor/media/letterpress-hcLight.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /src/insider/src/vs/workbench/browser/parts/editor/media/letterpress-light.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /src/stable/resources/darwin/bat.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/darwin/bat.icns -------------------------------------------------------------------------------- /src/stable/resources/darwin/bower.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/darwin/bower.icns -------------------------------------------------------------------------------- /src/stable/resources/darwin/c.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/darwin/c.icns -------------------------------------------------------------------------------- /src/stable/resources/darwin/code.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/darwin/code.icns -------------------------------------------------------------------------------- /src/stable/resources/darwin/config.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/darwin/config.icns -------------------------------------------------------------------------------- /src/stable/resources/darwin/cpp.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/darwin/cpp.icns -------------------------------------------------------------------------------- /src/stable/resources/darwin/csharp.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/darwin/csharp.icns -------------------------------------------------------------------------------- /src/stable/resources/darwin/css.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/darwin/css.icns -------------------------------------------------------------------------------- /src/stable/resources/darwin/default.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/darwin/default.icns -------------------------------------------------------------------------------- /src/stable/resources/darwin/go.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/darwin/go.icns -------------------------------------------------------------------------------- /src/stable/resources/darwin/html.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/darwin/html.icns -------------------------------------------------------------------------------- /src/stable/resources/darwin/jade.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/darwin/jade.icns -------------------------------------------------------------------------------- /src/stable/resources/darwin/java.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/darwin/java.icns -------------------------------------------------------------------------------- /src/stable/resources/darwin/javascript.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/darwin/javascript.icns -------------------------------------------------------------------------------- /src/stable/resources/darwin/json.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/darwin/json.icns -------------------------------------------------------------------------------- /src/stable/resources/darwin/less.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/darwin/less.icns -------------------------------------------------------------------------------- /src/stable/resources/darwin/markdown.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/darwin/markdown.icns -------------------------------------------------------------------------------- /src/stable/resources/darwin/php.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/darwin/php.icns -------------------------------------------------------------------------------- /src/stable/resources/darwin/powershell.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/darwin/powershell.icns -------------------------------------------------------------------------------- /src/stable/resources/darwin/python.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/darwin/python.icns -------------------------------------------------------------------------------- /src/stable/resources/darwin/react.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/darwin/react.icns -------------------------------------------------------------------------------- /src/stable/resources/darwin/ruby.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/darwin/ruby.icns -------------------------------------------------------------------------------- /src/stable/resources/darwin/sass.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/darwin/sass.icns -------------------------------------------------------------------------------- /src/stable/resources/darwin/shell.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/darwin/shell.icns -------------------------------------------------------------------------------- /src/stable/resources/darwin/sql.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/darwin/sql.icns -------------------------------------------------------------------------------- /src/stable/resources/darwin/typescript.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/darwin/typescript.icns -------------------------------------------------------------------------------- /src/stable/resources/darwin/vue.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/darwin/vue.icns -------------------------------------------------------------------------------- /src/stable/resources/darwin/xml.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/darwin/xml.icns -------------------------------------------------------------------------------- /src/stable/resources/darwin/yaml.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/darwin/yaml.icns -------------------------------------------------------------------------------- /src/stable/resources/linux/code-url-handler.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Name=@@NAME_LONG@@ - URL Handler 3 | Comment=Code Editing. Redefined. 4 | GenericName=Text Editor 5 | Exec=@@EXEC@@ --open-url %U 6 | Icon=@@ICON@@ 7 | Type=Application 8 | NoDisplay=true 9 | StartupNotify=true 10 | Categories=Utility;TextEditor;Development;IDE; 11 | MimeType=x-scheme-handler/@@URLPROTOCOL@@; 12 | Keywords=vscodium;codium;vscode; 13 | -------------------------------------------------------------------------------- /src/stable/resources/linux/code.appdata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | @@NAME@@.desktop 4 | @@LICENSE@@ 5 | @@LICENSE@@ 6 | @@NAME_LONG@@ 7 | https://github.com/Alex313031/codium#readme 8 | Codium - Code editing. Redefined. 9 | 10 |

Codium is a community-driven, freely-licensed binary distribution of Microsoft's editor VS Code.

11 |
12 | 13 | 14 | https://github.com/Alex313031/codium/blob/master/Logo.png 15 | Codium Logo 16 | 17 | 18 |
19 | -------------------------------------------------------------------------------- /src/stable/resources/linux/code.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Name=@@NAME_LONG@@ 3 | Comment=Code Editing. Redefined. 4 | GenericName=Text Editor 5 | Exec=@@EXEC@@ %F 6 | Icon=@@ICON@@ 7 | Type=Application 8 | StartupNotify=false 9 | StartupWMClass=@@NAME_SHORT@@ 10 | Categories=TextEditor;Development;IDE; 11 | MimeType=text/plain;inode/directory;application/x-@@NAME@@-workspace; 12 | Actions=new-empty-window; 13 | Keywords=vscodium;codium;vscode; 14 | 15 | [Desktop Action new-empty-window] 16 | Name=New Empty Window 17 | Name[de]=Neues leeres Fenster 18 | Name[es]=Nueva ventana vacía 19 | Name[fr]=Nouvelle fenêtre vide 20 | Name[it]=Nuova finestra vuota 21 | Name[ja]=新しい空のウィンドウ 22 | Name[ko]=새 빈 창 23 | Name[ru]=Новое пустое окно 24 | Name[zh_CN]=新建空窗口 25 | Name[zh_TW]=開新空視窗 26 | Exec=@@EXEC@@ --new-window %F 27 | Icon=@@ICON@@ 28 | -------------------------------------------------------------------------------- /src/stable/resources/linux/code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/linux/code.png -------------------------------------------------------------------------------- /src/stable/resources/server/code-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/server/code-192.png -------------------------------------------------------------------------------- /src/stable/resources/server/code-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/server/code-512.png -------------------------------------------------------------------------------- /src/stable/resources/server/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/server/favicon.ico -------------------------------------------------------------------------------- /src/stable/resources/win32/VisualElementsManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | -------------------------------------------------------------------------------- /src/stable/resources/win32/bower.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/bower.ico -------------------------------------------------------------------------------- /src/stable/resources/win32/c.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/c.ico -------------------------------------------------------------------------------- /src/stable/resources/win32/code.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/code.ico -------------------------------------------------------------------------------- /src/stable/resources/win32/code_150x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/code_150x150.png -------------------------------------------------------------------------------- /src/stable/resources/win32/code_70x70.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/code_70x70.png -------------------------------------------------------------------------------- /src/stable/resources/win32/config.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/config.ico -------------------------------------------------------------------------------- /src/stable/resources/win32/cpp.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/cpp.ico -------------------------------------------------------------------------------- /src/stable/resources/win32/csharp.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/csharp.ico -------------------------------------------------------------------------------- /src/stable/resources/win32/css.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/css.ico -------------------------------------------------------------------------------- /src/stable/resources/win32/default.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/default.ico -------------------------------------------------------------------------------- /src/stable/resources/win32/go.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/go.ico -------------------------------------------------------------------------------- /src/stable/resources/win32/html.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/html.ico -------------------------------------------------------------------------------- /src/stable/resources/win32/inno-big-100.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/inno-big-100.bmp -------------------------------------------------------------------------------- /src/stable/resources/win32/inno-big-125.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/inno-big-125.bmp -------------------------------------------------------------------------------- /src/stable/resources/win32/inno-big-150.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/inno-big-150.bmp -------------------------------------------------------------------------------- /src/stable/resources/win32/inno-big-175.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/inno-big-175.bmp -------------------------------------------------------------------------------- /src/stable/resources/win32/inno-big-200.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/inno-big-200.bmp -------------------------------------------------------------------------------- /src/stable/resources/win32/inno-big-225.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/inno-big-225.bmp -------------------------------------------------------------------------------- /src/stable/resources/win32/inno-big-250.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/inno-big-250.bmp -------------------------------------------------------------------------------- /src/stable/resources/win32/inno-small-100.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/inno-small-100.bmp -------------------------------------------------------------------------------- /src/stable/resources/win32/inno-small-125.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/inno-small-125.bmp -------------------------------------------------------------------------------- /src/stable/resources/win32/inno-small-150.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/inno-small-150.bmp -------------------------------------------------------------------------------- /src/stable/resources/win32/inno-small-175.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/inno-small-175.bmp -------------------------------------------------------------------------------- /src/stable/resources/win32/inno-small-200.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/inno-small-200.bmp -------------------------------------------------------------------------------- /src/stable/resources/win32/inno-small-225.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/inno-small-225.bmp -------------------------------------------------------------------------------- /src/stable/resources/win32/inno-small-250.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/inno-small-250.bmp -------------------------------------------------------------------------------- /src/stable/resources/win32/jade.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/jade.ico -------------------------------------------------------------------------------- /src/stable/resources/win32/java.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/java.ico -------------------------------------------------------------------------------- /src/stable/resources/win32/javascript.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/javascript.ico -------------------------------------------------------------------------------- /src/stable/resources/win32/json.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/json.ico -------------------------------------------------------------------------------- /src/stable/resources/win32/less.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/less.ico -------------------------------------------------------------------------------- /src/stable/resources/win32/markdown.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/markdown.ico -------------------------------------------------------------------------------- /src/stable/resources/win32/php.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/php.ico -------------------------------------------------------------------------------- /src/stable/resources/win32/powershell.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/powershell.ico -------------------------------------------------------------------------------- /src/stable/resources/win32/python.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/python.ico -------------------------------------------------------------------------------- /src/stable/resources/win32/react.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/react.ico -------------------------------------------------------------------------------- /src/stable/resources/win32/ruby.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/ruby.ico -------------------------------------------------------------------------------- /src/stable/resources/win32/sass.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/sass.ico -------------------------------------------------------------------------------- /src/stable/resources/win32/shell.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/shell.ico -------------------------------------------------------------------------------- /src/stable/resources/win32/sql.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/sql.ico -------------------------------------------------------------------------------- /src/stable/resources/win32/typescript.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/typescript.ico -------------------------------------------------------------------------------- /src/stable/resources/win32/vue.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/vue.ico -------------------------------------------------------------------------------- /src/stable/resources/win32/xml.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/xml.ico -------------------------------------------------------------------------------- /src/stable/resources/win32/yaml.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex313031/codium/000a7d14dce752cb438b6353282bfaa75234011b/src/stable/resources/win32/yaml.ico -------------------------------------------------------------------------------- /src/stable/src/vs/workbench/browser/media/code-icon.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/stable/src/vs/workbench/browser/parts/editor/media/letterpress-dark.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /src/stable/src/vs/workbench/browser/parts/editor/media/letterpress-hcDark.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /src/stable/src/vs/workbench/browser/parts/editor/media/letterpress-hcLight.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /src/stable/src/vs/workbench/browser/parts/editor/media/letterpress-light.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /stable.json: -------------------------------------------------------------------------------- 1 | { 2 | "tag": "1.94.2", 3 | "commit": "384ff7382de624fb94dbaf6da11977bba1ecd427" 4 | } 5 | -------------------------------------------------------------------------------- /stores/snapcraft/check_version.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # shellcheck disable=SC2129 3 | 4 | set -e 5 | 6 | export SHOULD_BUILD="no" 7 | export SHOULD_DEPLOY_TO_RELEASE="no" 8 | export SHOULD_DEPLOY_TO_STORE="no" 9 | 10 | # Support for GitHub Enterprise 11 | GH_HOST="${GH_HOST:-github.com}" 12 | 13 | if [[ "${GENERATE_ASSETS}" == "true" ]]; then 14 | export SHOULD_BUILD="yes" 15 | else 16 | wget --quiet "https://api.${GH_HOST}/repos/${ASSETS_REPOSITORY}/releases" -O gh_latest.json 17 | SNAP_URL=$( jq -r 'map(select(.tag_name == "'"${RELEASE_VERSION}"'"))|first.assets[].browser_download_url|select(endswith("'"_${ARCHITECTURE}.snap"'"))' gh_latest.json ) 18 | 19 | if [[ -z "${SNAP_URL}" ]]; then 20 | export SHOULD_BUILD="yes" 21 | export SHOULD_DEPLOY_TO_RELEASE="yes" 22 | fi 23 | 24 | if [[ "${VSCODE_QUALITY}" == "stable" ]]; then 25 | sudo snap install --channel stable --classic snapcraft 26 | 27 | echo "Architecture: ${ARCHITECTURE}" 28 | 29 | SNAP_VERSION=$( snapcraft list-revisions "${SNAP_NAME}" | grep -F "stable*" | grep "${ARCHITECTURE}" | tr -s ' ' | cut -d ' ' -f 4 ) 30 | echo "Snap version: ${SNAP_VERSION}" 31 | 32 | if [[ -n "${SNAP_VERSION}" && "${SNAP_VERSION}" != "${RELEASE_VERSION}" ]]; then 33 | export SHOULD_BUILD="yes" 34 | export SHOULD_DEPLOY_TO_STORE="yes" 35 | 36 | snap version 37 | snap info "${SNAP_NAME}" || true 38 | fi 39 | fi 40 | fi 41 | 42 | if [[ "${GITHUB_ENV}" ]]; then 43 | echo "SHOULD_BUILD=${SHOULD_BUILD}" >> "${GITHUB_ENV}" 44 | echo "SHOULD_DEPLOY_TO_RELEASE=${SHOULD_DEPLOY_TO_RELEASE}" >> "${GITHUB_ENV}" 45 | echo "SHOULD_DEPLOY_TO_STORE=${SHOULD_DEPLOY_TO_STORE}" >> "${GITHUB_ENV}" 46 | fi 47 | -------------------------------------------------------------------------------- /stores/winget/check_version.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | 5 | VERSIONS=$( curl --silent "https://api.github.com/repos/microsoft/winget-pkgs/contents/manifests/v/${APP_IDENTIFIER//.//}" ) 6 | 7 | if [[ "${VSCODE_QUALITY}" == "insider" ]]; then 8 | RELEASE_VERSION="${RELEASE_VERSION/\-insider/}" 9 | fi 10 | 11 | WINGET_VERSION=$( echo "${VERSIONS}" | jq -r 'map(select(.name | startswith("1."))) | map(.name) | last' ) 12 | 13 | echo "RELEASE_VERSION=\"${RELEASE_VERSION}\"" 14 | echo "WINGET_VERSION=\"${WINGET_VERSION}\"" 15 | 16 | if [[ "${RELEASE_VERSION}" == "${WINGET_VERSION}" ]]; then 17 | export SHOULD_DEPLOY="no" 18 | else 19 | export SHOULD_DEPLOY="yes" 20 | fi 21 | 22 | if [[ "${GITHUB_ENV}" ]]; then 23 | echo "RELEASE_VERSION=${RELEASE_VERSION}" >> "${GITHUB_ENV}" 24 | echo "SHOULD_DEPLOY=${SHOULD_DEPLOY}" >> "${GITHUB_ENV}" 25 | fi 26 | -------------------------------------------------------------------------------- /undo_telemetry.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # shellcheck disable=SC1091,SC2016 3 | 4 | set -ex 5 | 6 | # list of urls to match: 7 | # - mobile.events.data.microsoft.com 8 | # - vortex.data.microsoft.com 9 | 10 | SEARCH="\.data\.microsoft\.com" 11 | REPLACEMENT="s|//[^/]+\.data\.microsoft\.com|//0\.0\.0\.0|g" 12 | 13 | # include common functions 14 | . ../utils.sh 15 | 16 | if is_gnu_sed; then 17 | replace_with_debug () { 18 | echo "found: ${2}" 19 | sed -i -E "${1}" "${2}" 20 | } 21 | else 22 | replace_with_debug () { 23 | echo "found: ${2}" 24 | sed -i '' -E "${1}" "${2}" 25 | } 26 | fi 27 | export -f replace_with_debug 28 | 29 | d1=$( date +%s ) 30 | 31 | if [[ "${OS_NAME}" == "linux" ]]; then 32 | if [[ ${VSCODE_ARCH} == "x64" ]]; then 33 | ./node_modules/@vscode/ripgrep/bin/rg --no-ignore -l "${SEARCH}" . | xargs -I {} bash -c 'replace_with_debug "${1}" "{}"' _ "${REPLACEMENT}" 34 | else 35 | grep -rl --exclude-dir=.git -E "${SEARCH}" . | xargs -I {} bash -c 'replace_with_debug "${1}" "{}"' _ "${REPLACEMENT}" 36 | fi 37 | elif [[ "${OS_NAME}" == "osx" ]]; then 38 | ./node_modules/@vscode/ripgrep/bin/rg --no-ignore -l "${SEARCH}" . | xargs -I {} bash -c 'replace_with_debug "${1}" "{}"' _ "${REPLACEMENT}" 39 | else 40 | ./node_modules/@vscode/ripgrep/bin/rg --no-ignore --path-separator=// -l "${SEARCH}" . | xargs -I {} bash -c 'replace_with_debug "${1}" "{}"' _ "${REPLACEMENT}" 41 | fi 42 | 43 | d2=$( date +%s ) 44 | 45 | echo "undo_telemetry: $((d2 - d1))s" 46 | -------------------------------------------------------------------------------- /update_qualityjson.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | 5 | if [[ "${SHOULD_BUILD}" != "yes" ]]; then 6 | echo "Will not update version JSON because we did not build" 7 | exit 0 8 | fi 9 | 10 | if [[ -z "${GH_TOKEN}" ]] && [[ -z "${GITHUB_TOKEN}" ]] && [[ -z "${GH_ENTERPRISE_TOKEN}" ]] && [[ -z "${GITHUB_ENTERPRISE_TOKEN}" ]]; then 11 | echo "Will not update ${VSCODE_QUALITY}.json because no GITHUB_TOKEN defined" 12 | exit 0 13 | fi 14 | 15 | jsonTmp=$( cat "${VSCODE_QUALITY}.json" | jq --arg 'tag' "${MS_TAG/\-insider/}" --arg 'commit' "${MS_COMMIT}" '. | .tag=$tag | .commit=$commit' ) 16 | echo "${jsonTmp}" > "${VSCODE_QUALITY}.json" && unset jsonTmp 17 | 18 | git config user.email "$( echo "${GITHUB_USERNAME}" | awk '{print tolower($0)}' )-ci@not-real.com" 19 | git config user.name "${GITHUB_USERNAME} CI" 20 | git add . 21 | 22 | CHANGES=$( git status --porcelain ) 23 | 24 | if [[ -n "${CHANGES}" ]]; then 25 | git commit -m "build(${VSCODE_QUALITY}): update to commit ${MS_COMMIT:0:7}" 26 | 27 | BRANCH_NAME=$( git rev-parse --abbrev-ref HEAD ) 28 | 29 | if ! git push origin "${BRANCH_NAME}" --quiet; then 30 | git pull origin "${BRANCH_NAME}" 31 | git push origin "${BRANCH_NAME}" --quiet 32 | fi 33 | fi 34 | -------------------------------------------------------------------------------- /update_settings.sh: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC1091,2148 2 | 3 | DEFAULT_TRUE="'default': true" 4 | DEFAULT_FALSE="'default': false" 5 | DEFAULT_ON="'default': TelemetryConfiguration.ON" 6 | DEFAULT_OFF="'default': TelemetryConfiguration.OFF" 7 | TELEMETRY_CRASH_REPORTER="'telemetry.enableCrashReporter':" 8 | TELEMETRY_CONFIGURATION=" TelemetryConfiguration.ON" 9 | NLS=workbench.settings.enableNaturalLanguageSearch 10 | 11 | # include common functions 12 | . ../utils.sh 13 | 14 | update_setting () { 15 | local FILENAME SETTING LINE_NUM IN_SETTING FOUND DEFAULT_TRUE_TO_FALSE 16 | 17 | FILENAME="${2}" 18 | # check that the file exists 19 | if [[ ! -f "${FILENAME}" ]]; then 20 | echo "File to update setting in does not exist ${FILENAME}" 21 | return 22 | fi 23 | 24 | # go through lines of file, looking for block that contains setting 25 | SETTING="${1}" 26 | LINE_NUM=0 27 | while read -r line; do 28 | LINE_NUM=$(( LINE_NUM + 1 )) 29 | if [[ "${line}" == *"${SETTING}"* ]]; then 30 | IN_SETTING=1 31 | fi 32 | if [[ ("${line}" == *"${DEFAULT_TRUE}"* || "${line}" == *"${DEFAULT_ON}"*) && "${IN_SETTING}" == "1" ]]; then 33 | FOUND=1 34 | break 35 | fi 36 | done < "${FILENAME}" 37 | 38 | if [[ "${FOUND}" != "1" ]]; then 39 | echo "${DEFAULT_TRUE} not found for setting ${SETTING} in file ${FILENAME}" 40 | return 41 | fi 42 | 43 | # construct line-aware replacement string 44 | if [[ "${line}" == *"${DEFAULT_TRUE}"* ]]; then 45 | DEFAULT_TRUE_TO_FALSE="${LINE_NUM}s/${DEFAULT_TRUE}/${DEFAULT_FALSE}/" 46 | else 47 | DEFAULT_TRUE_TO_FALSE="${LINE_NUM}s/${DEFAULT_ON}/${DEFAULT_OFF}/" 48 | fi 49 | 50 | replace "${DEFAULT_TRUE_TO_FALSE}" "${FILENAME}" 51 | } 52 | 53 | update_setting "${TELEMETRY_CRASH_REPORTER}" src/vs/workbench/electron-sandbox/desktop.contribution.ts 54 | update_setting "${TELEMETRY_CONFIGURATION}" src/vs/platform/telemetry/common/telemetryService.ts 55 | update_setting "${NLS}" src/vs/workbench/contrib/preferences/common/preferencesContribution.ts 56 | -------------------------------------------------------------------------------- /utils.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # All common functions can be added to this file 4 | 5 | exists() { type -t "$1" &> /dev/null; } 6 | 7 | is_gnu_sed () { 8 | sed --version &> /dev/null 9 | } 10 | 11 | replace () { 12 | echo "${1}" 13 | if is_gnu_sed; then 14 | sed -i -E "${1}" "${2}" 15 | else 16 | sed -i '' -E "${1}" "${2}" 17 | fi 18 | } 19 | 20 | if ! exists gsed; then 21 | if is_gnu_sed; then 22 | function gsed() { 23 | sed -i -E "$@" 24 | } 25 | else 26 | function gsed() { 27 | sed -i '' -E "$@" 28 | } 29 | fi 30 | fi 31 | -------------------------------------------------------------------------------- /version.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | if [[ -z "${BUILD_SOURCEVERSION}" ]]; then 4 | 5 | if type -t "sha1sum" &> /dev/null; then 6 | BUILD_SOURCEVERSION=$( echo "${RELEASE_VERSION/-*/}" | sha1sum | cut -d' ' -f1 ) 7 | else 8 | npm install -g checksum 9 | 10 | BUILD_SOURCEVERSION=$( echo "${RELEASE_VERSION/-*/}" | checksum ) 11 | fi 12 | 13 | echo "BUILD_SOURCEVERSION=\"${BUILD_SOURCEVERSION}\"" 14 | 15 | # for GH actions 16 | if [[ "${GITHUB_ENV}" ]]; then 17 | echo "BUILD_SOURCEVERSION=${BUILD_SOURCEVERSION}" >> "${GITHUB_ENV}" 18 | fi 19 | fi 20 | 21 | export BUILD_SOURCEVERSION 22 | -------------------------------------------------------------------------------- /win7_patch.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # shellcheck disable=SC2129 3 | 4 | set -e 5 | 6 | # Copyright(c) 2024 Alex313031 7 | 8 | YEL='\033[1;33m' # Yellow 9 | CYA='\033[1;96m' # Cyan 10 | RED='\033[1;31m' # Red 11 | GRE='\033[1;32m' # Green 12 | c0='\033[0m' # Reset Text 13 | bold='\033[1m' # Bold Text 14 | underline='\033[4m' # Underline Text 15 | 16 | # --help 17 | displayHelp () { 18 | printf "\n" && 19 | printf "${bold}${GRE}Script to patch Codium for Windows NT 6.x and Ubuntu 18.04/Debian 9${c0}\n" && 20 | printf "${bold}${YEL}Use ./macos_patch.sh for MacOS.${c0}\n" && 21 | printf "${bold}${YEL}Use the --help flag to show this help.${c0}\n" && 22 | printf "\n" 23 | } 24 | case $1 in 25 | --help) displayHelp; exit 0;; 26 | esac 27 | 28 | cd ./vscode || { printf "\n${RED}Error: 'vscode' dir not found\n\n"; exit 1; } 29 | 30 | clear && 31 | printf "\n" && 32 | printf "${GRE}Patching vscode for Windows NT 6.x...${c0}\n" && 33 | printf "\n" && 34 | 35 | # Make patch 36 | # git diff > ../nt6.patch 37 | 38 | git apply --reject ../nt6.patch && 39 | 40 | printf "\n" && 41 | printf "${GRE}Patching vscode for 32-bit Windows...${c0}\n" && 42 | printf "\n" && 43 | 44 | git apply --reject ../win32-ia32.patch && 45 | 46 | printf "\n" && 47 | printf "${GRE}Patching vscode for Ubuntu 18.04/Debian 9...${c0}\n" && 48 | printf "\n" && 49 | 50 | git apply --reject ../bionic.patch && 51 | 52 | /usr/bin/find ./ \( -type d -name .git -prune -type d -name node_modules -prune \) -o -type f -name package.json -print0 | xargs -0 sed -i 's/\"\@types\/node\"\:\ \"20\.x\"/\"\@types\/node\"\:\ \"18\.19\.53\"/g' && 53 | 54 | /usr/bin/find ./ \( -type d -name .git -prune -type d -name node_modules -prune \) -o -type f -name package.json -print0 | xargs -0 sed -i 's/\"node\"\:\ \"20\.x\"/\"node\"\:\ \"18\.x\"/g' && 55 | 56 | cd .. && 57 | 58 | printf "\n" && 59 | printf "${GRE}Patched for Windows NT 6.x and Ubuntu 18.04/Debian 9!\n" && 60 | printf "\n" && 61 | tput sgr0 62 | --------------------------------------------------------------------------------