Skip to content

Commit

Permalink
1.94.2 rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex313031 committed Oct 23, 2024
1 parent 5db0194 commit a599ad8
Show file tree
Hide file tree
Showing 237 changed files with 7,435 additions and 4,222 deletions.
5 changes: 5 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# These are supported funding model platforms

github: ['Alex313031']
custom: ['https://paypal.me/alex313031?country.x=US&locale.x=en_US']
patreon: ThoriumDeveloper
16 changes: 8 additions & 8 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: Bug report
about: Create a report to help us improve
about: Create a report to help us improve or fix
title: ''
labels: bug
assignees: ''
Expand All @@ -10,11 +10,11 @@ assignees: ''
**Describe the bug**
A clear and concise description of what the bug is.

**Please confirm that this problem is VSCodium-specific**
- [ ] This bug doesn't happen if I use Microsoft's Visual Studio Code. It only happens in VSCodium.
**Please confirm that this problem is Codium-specific**
- [ ] This bug doesn't happen if I use Microsoft's Visual Studio Code. It only happens in Codium.

**Please confirm that the issue/resolution isn't already documented**
- [ ] I checked [the Docs page](https://github.com/VSCodium/vscodium/blob/master/docs/index.md) and [the Troubleshooting page](https://github.com/VSCodium/vscodium/blob/master/docs/troubleshooting.md) and my issue is not mentioned there.
- [ ] 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.

**To Reproduce**
Steps to reproduce the behavior:
Expand All @@ -30,11 +30,11 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. Mac OS, Ubuntu 20.04, etc]
- OS: [e.g. Windows 7, Ubuntu 18.04, etc]
- Architecture [e.g. x64, ia32, arm64]
- Version [e.g. 1.33.0]
- App Manager [e.g. Winget, Homebrew, Snap, AUR, RPM, Nix, ...]
- Sandboxed [e.g. no, Flatpak, Snap]
- Version [e.g. 1.79.0]
- App Manager [e.g. .exe, AppImage, DEB, RPM, .zip, ...]
- Sandboxed [e.g. Yes, No, AppImage]

**Additional context**
Add any other context about the problem here.
58 changes: 58 additions & 0 deletions .github/workflows/release-on-winget.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Submit Codium User Setup package to the Windows Package Manager Community Repository

on:
workflow_dispatch:
release:
types: [published]

jobs:
winget:
name: Publish WinGet Package
runs-on: windows-latest
steps:
- name: Submit Codium User Setup (.exe) package with WinGet Create
run: |
# Define the GitHub repository owner and repository name
$owner = "Alex313031"
$repo = "codium"
# Define the pattern to filter assets
$pattern = "*.exe"
# Construct the API URL
$url = "https://api.github.com/repos/$owner/$repo/releases/latest"
# Make a GET request to the GitHub API
$response = Invoke-RestMethod -Uri $url -Method Get
# Filter assets based on the pattern
$filteredAssets = $response.assets | Where-Object { $_.name -like $pattern }
# Initialize variables to store the version and download URL
$version = ""
$downloadUrl = ""
# Check if any matching assets were found
if ($filteredAssets.Count -eq 0) {
Write-Output "No matching assets found."
} else {
# Extract the version and download URL from the first matching asset
$version = $response.tag_name
$downloadUrl = $filteredAssets[0].browser_download_url
# Output the version and download URL
Write-Output "Latest release version: $version"
Write-Output "Latest release download URL: $downloadUrl"
}
$version
$downloadUrl
$packageId = "Alex313031.Codium"
$gitToken = "${{ secrets.GITHUB_TOKEN }}"
# Install .NET Runtime
Invoke-WebRequest https://dot.net/v1/dotnet-install.ps1 -OutFile dotnet-install.ps1
.\dotnet-install.ps1 -Runtime dotnet -Architecture x64 -Version 6.0.13 -InstallDir $env:ProgramFiles\dotnet
# Update package using wingetcreate
Invoke-WebRequest https://aka.ms/wingetcreate/latest -OutFile wingetcreate.exe
.\wingetcreate.exe update $packageId --version $version --urls "$installerUrl" --submit --token $gitToken
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ VSCodium*
.DS_Store
*.env
assets/
/release/
build/linux/appimage/out
build/linux/appimage/pkg2appimage.AppDir
build/linux/appimage/pkg2appimage-*.AppImage
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node-version=16.17.1
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.14
lts/gallium
Binary file added 7z2408-x64_codium.zip
Binary file not shown.
10 changes: 5 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

## Code of Conduct

This project and everyone participating in it is governed by the [VSCodium Code of Conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code.
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.

## Reporting Bugs

Expand All @@ -23,19 +23,19 @@ When you are creating a bug report, please include as many details as possible.

If you want to make changes, please read [the Build page](./docs/howto-build.md).

### Building VSCodium
### Building Codium

To build VSCodium, please follow the command found in the section [`Build Scripts`](./docs/howto-build.md#build-scripts).
To build Codium, please follow the command found in the section [`Build Scripts`](./docs/howto-build.md#build-scripts).

### Updating patches

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).

### Add a new patch

- first, you need to build VSCodium
- first, you need to build Codium
- then use the command `patch.sh <your patch name>`, to initiate a new patch
- when the script pauses at `Press any key when the conflict have been resolved...`, open `vscode` directory in **VSCodium**
- when the script pauses at `Press any key when the conflict have been resolved...`, open `vscode` directory in **Codium**
- run `yarn watch`
- run `./script/code.sh`
- make your changes
Expand Down
7 changes: 0 additions & 7 deletions FUNDING.json

This file was deleted.

3 changes: 2 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
MIT License

Copyright (c) 2022-present Alex313031
Copyright (c) 2018-present The VSCodium contributors
Copyright (c) 2018-present Peter Squicciarini
Copyright (c) 2015-present Microsoft Corporation
Expand All @@ -20,4 +21,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
24 changes: 24 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
MIT License

Copyright (c) 2022-present Alex313031
Copyright (c) 2018-present The VSCodium contributors
Copyright (c) 2018-present Peter Squicciarini
Copyright (c) 2015-present Microsoft Corporation

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Binary file added Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit a599ad8

Please sign in to comment.