mirror of
				https://github.com/k4yt3x/video2x.git
				synced 2025-10-31 12:50:59 +01:00 
			
		
		
		
	updated build script to read version from args
This commit is contained in:
		
							parent
							
								
									9b20ef89c9
								
							
						
					
					
						commit
						a5dd87a72c
					
				| @ -12,9 +12,14 @@ To start a PowerShell session with execution policy bypass | ||||
| powershell –ExecutionPolicy Bypass | ||||
| #> | ||||
| 
 | ||||
| if ($args.count -ne 1){ | ||||
|     Write-Host -ForegroundColor White "Usage:`n .\build.ps1 VIDEO2X_VERSION" | ||||
|     Exit | ||||
| } | ||||
| 
 | ||||
| # version number | ||||
| $SCRIPT_VERSION = "1.0.1" | ||||
| $VIDEO2X_VERSION = "4.0.0_beta2" | ||||
| $VIDEO2X_VERSION = $args[0] | ||||
| 
 | ||||
| Write-Host -ForegroundColor White "Video2X Building Script Version $($SCRIPT_VERSION) | ||||
| Starting to build Video2X release packages" | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user