Merge pull request #2045 from Kingtous/master
feat: add windows nightly custom engine
This commit is contained in:
		
						commit
						18a801e3b2
					
				
							
								
								
									
										8
									
								
								.github/workflows/flutter-nightly.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/flutter-nightly.yml
									
									
									
									
										vendored
									
									
								
							| @ -39,6 +39,14 @@ jobs: | ||||
|           channel: 'stable' | ||||
|           flutter-version: ${{ env.FLUTTER_VERSION }} | ||||
|        | ||||
|       - name: Replace engine with rustdesk custom flutter engine | ||||
|         run: | | ||||
|           flutter doctor -v | ||||
|           flutter precache --windows | ||||
|           Invoke-WebRequest -Uri https://github.com/Kingtous/engine/releases/download/v3.0.5-rustdesk/windows-x64-release-flutter.zip -OutFile windows-x64-release-flutter.zip | ||||
|           Expand-Archive windows-x64-release-flutter.zip -DestinationPath engine | ||||
|           mv -Force engine/*  C:/hostedtoolcache/windows/flutter/stable-3.0.5-x64/bin/cache/artifacts/engine/windows-x64-release/ | ||||
| 
 | ||||
|       - name: Install Rust toolchain | ||||
|         uses: actions-rs/toolchain@v1 | ||||
|         with: | ||||
|  | ||||
| @ -45,7 +45,7 @@ const double kEmptyMarginTop = 50; | ||||
| const double kDesktopIconButtonSplashRadius = 20; | ||||
| 
 | ||||
| /// [kMinCursorSize] indicates min cursor (w, h) | ||||
| const int kMinCursorSize = 24; | ||||
| const int kMinCursorSize = 12; | ||||
| 
 | ||||
| /// [kDefaultScrollAmountMultiplier] indicates how many rows can be scrolled after a minimum scroll action of mouse | ||||
| const kDefaultScrollAmountMultiplier = 5.0; | ||||
|  | ||||
| @ -60,11 +60,11 @@ dependencies: | ||||
|     window_manager: | ||||
|         git: | ||||
|             url: https://github.com/Kingtous/rustdesk_window_manager | ||||
|             ref: d1e4b40f4a1ffeb8630696be6883dd31bf307998  | ||||
|             ref: 32b24c66151b72bba033ef8b954486aa9351d97b  | ||||
|     desktop_multi_window: | ||||
|         git: | ||||
|             url: https://github.com/Kingtous/rustdesk_desktop_multi_window | ||||
|             ref: 8d9db30df28eddfdb11ded4aaba6f0fe96547960 | ||||
|             ref: 0831243da7231c82ea56ebaeb36e650620d4a23b | ||||
|     freezed_annotation: ^2.0.3 | ||||
|     tray_manager: | ||||
|         git: | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user