diff --git a/Microwin.ps1 b/Microwin.ps1 new file mode 100644 index 0000000..29aebd1 --- /dev/null +++ b/Microwin.ps1 @@ -0,0 +1,10 @@ +$tempPath = [System.IO.Path]::GetTempPath() +$zipFile = Join-Path $tempPath "MicroWinDownload.zip" +$extractPath = Join-Path $tempPath "MicroWinExtract" + +Invoke-WebRequest -Uri "https://github.com/CodingWonders/MicroWin/releases/download/latest/MicroWin.zip" -OutFile $zipFile + +Expand-Archive -Path $zipFile -DestinationPath $extractPath -Force +Remove-Item $zipFile + +Start-Process -FilePath (Join-Path $extractPath "MicroWin.exe") -Wait \ No newline at end of file diff --git a/README.md b/README.md index e6d804c..8d5917a 100755 --- a/README.md +++ b/README.md @@ -20,6 +20,11 @@ This is, currently, in **ALPHA** stages and contains bugs. We are working hard o > [!NOTE] > The application is not signed with code-signing certificates because of how expensive these are. Please turn off your antivirus or add an exclusion. We don't want any issue reports of that topic. +Alternatively you can run the following command: +``` ps1 +powershell -ExecutionPolicy Bypass -Command "iwr -useb https://raw.githubusercontent.com/CodingWonders/MicroWin/main/microwin.ps1 | iex" +``` + ## Contributing to the repository **Requirements:** @@ -33,4 +38,4 @@ To contribute to the repository: 3. Make your changes **AND TEST THEM** 4. Create a pull request -**DO NOT VIBE-CODE!!! OR ELSE YOU WILL MAKE ME ANGRY** \ No newline at end of file +**DO NOT VIBE-CODE!!! OR ELSE YOU WILL MAKE ME ANGRY**