Check file exists
This commit is contained in:
		
							
								
								
									
										6
									
								
								.github/workflows/magisk.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/magisk.yml
									
									
									
									
										vendored
									
									
								
							@@ -534,6 +534,12 @@ jobs:
 | 
			
		||||
              Start-Process powershell.exe -Args "-executionpolicy bypass -command Set-Location '\$PSScriptRoot'; &'\$PSCommandPath'"
 | 
			
		||||
              exit
 | 
			
		||||
          }
 | 
			
		||||
          
 | 
			
		||||
          if (((Test-Path -Path $(ls -Q ./${{ matrix.arch }} | paste -sd "," -)) -eq \$false).Count) {
 | 
			
		||||
              Write-Error "Some files are missing in the zip. Please try to download it again from the browser downloader, or try to run the workflow again. Press any key to exist"
 | 
			
		||||
              \$null = \$Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown')
 | 
			
		||||
              exit 1
 | 
			
		||||
          }
 | 
			
		||||
 | 
			
		||||
          reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /t REG_DWORD /f /v "AllowDevelopmentWithoutDevLicense" /d "1"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user