PowerShell:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform
| $remoteport = bash.exe -c "ifconfig eth0 | grep 'inet '" | |
| $found = $remoteport -match '\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}'; | |
| if( $found ){ | |
| $remoteport = $matches[0]; | |
| } else{ | |
| echo "The Script Exited, the ip address of WSL 2 cannot be found"; | |
| exit; | |
| } |
| program firetest; | |
| { Classic fire animation using VGA mode 13h and colors 0 to 63... wee !!! } | |
| uses Crt, VGA; | |
| var i, heat: Integer; | |
| quit: Boolean; | |
| c: Char; |
Most of time we have to fight with Centenial/Universal Apps that are an hybrid thing... Aren't real Windows desktop applications because these are orchestrated and managed like an Android Application or IOS.
Installation of this APPS is a nightmare and most of the time is broken or buggy. So take care about everything related next.
If everything is ok and nothing is broken this would be sufficient : Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"
| param ( | |
| [switch]$Relaunched = $false | |
| ) | |
| $ScriptPath = (Get-Variable MyInvocation).Value.MyCommand.Path | |
| function StartOperation { | |
| Write-Host | |
| Write-Host Now attempting to regenerate missing manifest files... | |
| Write-Host |
| unit TestUntORM; | |
| interface | |
| uses | |
| TestFramework, | |
| untORM, | |
| untDB, | |
| untLog, | |
| Delphi.Mocks; |