mirror of
				https://github.com/cmderdev/cmder.git
				synced 2025-10-31 09:22:15 +08:00 
			
		
		
		
	Merge branch 'upstream-development' into cmder4win
This commit is contained in:
		
							
								
								
									
										14
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							| @@ -11,7 +11,7 @@ on: | |||||||
|     tags: |     tags: | ||||||
|       - "v*" |       - "v*" | ||||||
|   pull_request: |   pull_request: | ||||||
|     branches: [ "master" ] |     branches: [ "master", "development" ] | ||||||
|  |  | ||||||
| #---------------------------------# | #---------------------------------# | ||||||
| #    environment configuration    # | #    environment configuration    # | ||||||
| @@ -40,7 +40,7 @@ jobs: | |||||||
|         fetch-depth: 0 |         fetch-depth: 0 | ||||||
|  |  | ||||||
|     - name: Add MSBuild to PATH |     - name: Add MSBuild to PATH | ||||||
|       uses: microsoft/setup-msbuild@v1 |       uses: microsoft/setup-msbuild@v2 | ||||||
|  |  | ||||||
|     - name: Build Cmder Launcher |     - name: Build Cmder Launcher | ||||||
|       shell: pwsh |       shell: pwsh | ||||||
| @@ -93,32 +93,32 @@ jobs: | |||||||
|         name: cmder_wt_mini.zip |         name: cmder_wt_mini.zip | ||||||
|  |  | ||||||
|     - name: Upload artifact (cmder.zip) |     - name: Upload artifact (cmder.zip) | ||||||
|       uses: actions/upload-artifact@v3 |       uses: actions/upload-artifact@v4 | ||||||
|       with: |       with: | ||||||
|         path: build/cmder.zip |         path: build/cmder.zip | ||||||
|         name: cmder.zip |         name: cmder.zip | ||||||
|         if-no-files-found: error |         if-no-files-found: error | ||||||
|  |  | ||||||
|     - name: Upload artifact (cmder.7z) |     - name: Upload artifact (cmder.7z) | ||||||
|       uses: actions/upload-artifact@v3 |       uses: actions/upload-artifact@v4 | ||||||
|       with: |       with: | ||||||
|         path: build/cmder.7z |         path: build/cmder.7z | ||||||
|         name: cmder.7z |         name: cmder.7z | ||||||
|  |  | ||||||
|     - name: Upload artifact (cmder_mini.zip) |     - name: Upload artifact (cmder_mini.zip) | ||||||
|       uses: actions/upload-artifact@v3 |       uses: actions/upload-artifact@v4 | ||||||
|       with: |       with: | ||||||
|         path: build/cmder_mini.zip |         path: build/cmder_mini.zip | ||||||
|         name: cmder_mini.zip |         name: cmder_mini.zip | ||||||
|  |  | ||||||
|     - name: Upload artifact (hashes.txt) |     - name: Upload artifact (hashes.txt) | ||||||
|       uses: actions/upload-artifact@v3 |       uses: actions/upload-artifact@v4 | ||||||
|       with: |       with: | ||||||
|         path: build/hashes.txt |         path: build/hashes.txt | ||||||
|         name: hashes.txt |         name: hashes.txt | ||||||
|  |  | ||||||
|     - name: Create Release |     - name: Create Release | ||||||
|       uses: softprops/action-gh-release@v1 |       uses: softprops/action-gh-release@v2 | ||||||
|       with: |       with: | ||||||
|         files: | |         files: | | ||||||
|           build/cmder.zip |           build/cmder.zip | ||||||
|   | |||||||
							
								
								
									
										10
									
								
								.github/workflows/codeql.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								.github/workflows/codeql.yml
									
									
									
									
										vendored
									
									
								
							| @@ -8,7 +8,7 @@ name: "CodeQL" | |||||||
|  |  | ||||||
| on: | on: | ||||||
|   push: |   push: | ||||||
|     branches: [ "master" ] |     branches: [ "master", "development" ] | ||||||
|     paths-ignore: |     paths-ignore: | ||||||
|       - '**/*.md' |       - '**/*.md' | ||||||
|       - '**/*.txt' |       - '**/*.txt' | ||||||
| @@ -16,7 +16,7 @@ on: | |||||||
|       - '**/.gitignore' |       - '**/.gitignore' | ||||||
|   pull_request: |   pull_request: | ||||||
|     # The branches below must be a subset of the branches above |     # The branches below must be a subset of the branches above | ||||||
|     branches: [ "master" ] |     branches: [ "master", "development" ] | ||||||
|     paths-ignore: |     paths-ignore: | ||||||
|       - '**/*.md' |       - '**/*.md' | ||||||
|       - '**/*.txt' |       - '**/*.txt' | ||||||
| @@ -49,7 +49,7 @@ jobs: | |||||||
|  |  | ||||||
|     # Initializes the CodeQL tools for scanning. |     # Initializes the CodeQL tools for scanning. | ||||||
|     - name: Initialize CodeQL |     - name: Initialize CodeQL | ||||||
|       uses: github/codeql-action/init@v2 |       uses: github/codeql-action/init@v3 | ||||||
|       with: |       with: | ||||||
|         languages: ${{ matrix.language }} |         languages: ${{ matrix.language }} | ||||||
|         # If you wish to specify custom queries, you can do so here or in a config file. |         # If you wish to specify custom queries, you can do so here or in a config file. | ||||||
| @@ -60,7 +60,7 @@ jobs: | |||||||
|         # queries: security-extended,security-and-quality |         # queries: security-extended,security-and-quality | ||||||
|  |  | ||||||
|     - name: Add MSBuild to PATH |     - name: Add MSBuild to PATH | ||||||
|       uses: microsoft/setup-msbuild@v1 |       uses: microsoft/setup-msbuild@v2 | ||||||
|  |  | ||||||
|     - name: Build Cmder Launcher |     - name: Build Cmder Launcher | ||||||
|       shell: pwsh |       shell: pwsh | ||||||
| @@ -68,6 +68,6 @@ jobs: | |||||||
|       run: .\build.ps1 -Compile -verbose |       run: .\build.ps1 -Compile -verbose | ||||||
|  |  | ||||||
|     - name: Perform CodeQL Analysis |     - name: Perform CodeQL Analysis | ||||||
|       uses: github/codeql-action/analyze@v2 |       uses: github/codeql-action/analyze@v3 | ||||||
|       with: |       with: | ||||||
|         category: "/language:${{matrix.language}}" |         category: "/language:${{matrix.language}}" | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								.github/workflows/tests.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/tests.yml
									
									
									
									
										vendored
									
									
								
							| @@ -4,6 +4,7 @@ on: | |||||||
|   push: |   push: | ||||||
|     branches: |     branches: | ||||||
|       - master |       - master | ||||||
|  |       - development | ||||||
|     paths-ignore: |     paths-ignore: | ||||||
|       - '**/*.md' |       - '**/*.md' | ||||||
|       - '**/*.txt' |       - '**/*.txt' | ||||||
| @@ -12,6 +13,7 @@ on: | |||||||
|   pull_request: |   pull_request: | ||||||
|     branches: |     branches: | ||||||
|       - master |       - master | ||||||
|  |       - development | ||||||
|     paths-ignore: |     paths-ignore: | ||||||
|       - '**/*.md' |       - '**/*.md' | ||||||
|       - '**/*.txt' |       - '**/*.txt' | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								.github/workflows/vendor.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/vendor.yml
									
									
									
									
										vendored
									
									
								
							| @@ -51,7 +51,7 @@ jobs: | |||||||
|           Set-GHVariable -Name LIST_UPDATED -Value $listUpdated.Trim(', ') |           Set-GHVariable -Name LIST_UPDATED -Value $listUpdated.Trim(', ') | ||||||
|           echo "UPDATE_MESSAGE<<<EOF`n$updateMessage`n<EOF" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8 |           echo "UPDATE_MESSAGE<<<EOF`n$updateMessage`n<EOF" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8 | ||||||
|  |  | ||||||
|     - uses: peter-evans/create-pull-request@v5 |     - uses: peter-evans/create-pull-request@v6 | ||||||
|       if: env.COUNT_UPDATED > 0 |       if: env.COUNT_UPDATED > 0 | ||||||
|       with: |       with: | ||||||
|         title: 'Updates to `${{ env.COUNT_UPDATED }}` vendored dependencies' |         title: 'Updates to `${{ env.COUNT_UPDATED }}` vendored dependencies' | ||||||
|   | |||||||
| @@ -1,7 +1,7 @@ | |||||||
|  |  | ||||||
| /** | /** | ||||||
|  * WARNING: do NOT modify this file! the content of this file should be |  * WARNING: do NOT modify this file! the content of this file should be | ||||||
|  *          automatically genereted before AppVeyor builds using the |  *          automatically generated before AppVeyor builds using the | ||||||
|  *          respective .ps1 Powershell scripts. |  *          respective .ps1 Powershell scripts. | ||||||
|  * |  * | ||||||
|  */ |  */ | ||||||
|   | |||||||
| @@ -82,7 +82,7 @@ if ($Compile) { | |||||||
|  |  | ||||||
|     Write-Verbose "Building the launcher..." |     Write-Verbose "Building the launcher..." | ||||||
|  |  | ||||||
|     # Referene: https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference |     # Reference: https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference | ||||||
|     msbuild CmderLauncher.vcxproj /t:Clean,Build /p:configuration=Release /m |     msbuild CmderLauncher.vcxproj /t:Clean,Build /p:configuration=Release /m | ||||||
|  |  | ||||||
|     if ($LastExitCode -ne 0) { |     if ($LastExitCode -ne 0) { | ||||||
|   | |||||||
							
								
								
									
										4
									
								
								vendor/clink_settings.default
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								vendor/clink_settings.default
									
									
									
									
										vendored
									
									
								
							| @@ -1,6 +1,10 @@ | |||||||
| # For explanation of these and other settings see: | # For explanation of these and other settings see: | ||||||
| # https://chrisant996.github.io/clink/clink.html | # https://chrisant996.github.io/clink/clink.html | ||||||
|  |  | ||||||
|  | # name: Expand envvars when completing | ||||||
|  | # type: boolean | ||||||
|  | match.expand_envvars = True | ||||||
|  |  | ||||||
| # name: Sets how command history expansion is applied | # name: Sets how command history expansion is applied | ||||||
| # type: enum | # type: enum | ||||||
| # options: off,on,not_squoted,not_dquoted,not_quoted | # options: off,on,not_squoted,not_dquoted,not_quoted | ||||||
|   | |||||||
							
								
								
									
										1
									
								
								vendor/lib/lib_git.cmd
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								vendor/lib/lib_git.cmd
									
									
									
									
										vendored
									
									
								
							| @@ -55,6 +55,7 @@ exit /b | |||||||
|             set "GIT_VERSION=%%C" |             set "GIT_VERSION=%%C" | ||||||
|         ) else ( |         ) else ( | ||||||
|             echo "'git --version' returned an improper version string!" |             echo "'git --version' returned an improper version string!" | ||||||
|  |             %print_debug% :read_version "returned string: '%%A %%B %%C' by executable path: %git_executable%" | ||||||
|             pause |             pause | ||||||
|             exit /b |             exit /b | ||||||
|         ) |         ) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user