mirror of
				https://github.com/k4yt3x/video2x.git
				synced 2025-11-04 14:41:35 +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
 | 
					powershell –ExecutionPolicy Bypass
 | 
				
			||||||
#>
 | 
					#>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if ($args.count -ne 1){
 | 
				
			||||||
 | 
					    Write-Host -ForegroundColor White "Usage:`n .\build.ps1 VIDEO2X_VERSION"
 | 
				
			||||||
 | 
					    Exit
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# version number
 | 
					# version number
 | 
				
			||||||
$SCRIPT_VERSION = "1.0.1"
 | 
					$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)
 | 
					Write-Host -ForegroundColor White "Video2X Building Script Version $($SCRIPT_VERSION)
 | 
				
			||||||
Starting to build Video2X release packages"
 | 
					Starting to build Video2X release packages"
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user