From 4e1dd0c469759ab14a50570a027af733b4210038 Mon Sep 17 00:00:00 2001 From: Real-MullaC Date: Mon, 23 Feb 2026 17:34:51 +0000 Subject: [PATCH 1/4] Add run from powershell script --- Mirowin.ps1 | 6 ++++++ README.md | 5 +++++ 2 files changed, 11 insertions(+) create mode 100644 Mirowin.ps1 diff --git a/Mirowin.ps1 b/Mirowin.ps1 new file mode 100644 index 0000000..391b476 --- /dev/null +++ b/Mirowin.ps1 @@ -0,0 +1,6 @@ +Invoke-WebRequest -Uri "https://github.com/CodingWonders/MicroWin/releases/download/latest/MicroWin.zip" -OutFile "$env:TEMP\MicroWinDownload.zip" + +Expand-Archive -Path "$env:TEMP\MicroWinDownload.zip" -DestinationPath "$env:TEMP\MicroWinExtract" -Force +Remove-Item "$env:TEMP\MicroWinDownload.zip" + +Start-Process -FilePath "$env:TEMP\MicroWinExtract\MicroWin.exe" -Wait \ No newline at end of file diff --git a/README.md b/README.md index e6d804c..c946407 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/install.ps1 | iex" +``` + ## Contributing to the repository **Requirements:** From 8aea7e901de8971e35659cea305501e803a231e2 Mon Sep 17 00:00:00 2001 From: Real-MullaC Date: Wed, 25 Feb 2026 13:34:15 +0000 Subject: [PATCH 2/4] Use [System.IO.Path]::GetTempPath() --- Mirowin.ps1 | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Mirowin.ps1 b/Mirowin.ps1 index 391b476..29aebd1 100644 --- a/Mirowin.ps1 +++ b/Mirowin.ps1 @@ -1,6 +1,10 @@ -Invoke-WebRequest -Uri "https://github.com/CodingWonders/MicroWin/releases/download/latest/MicroWin.zip" -OutFile "$env:TEMP\MicroWinDownload.zip" +$tempPath = [System.IO.Path]::GetTempPath() +$zipFile = Join-Path $tempPath "MicroWinDownload.zip" +$extractPath = Join-Path $tempPath "MicroWinExtract" -Expand-Archive -Path "$env:TEMP\MicroWinDownload.zip" -DestinationPath "$env:TEMP\MicroWinExtract" -Force -Remove-Item "$env:TEMP\MicroWinDownload.zip" +Invoke-WebRequest -Uri "https://github.com/CodingWonders/MicroWin/releases/download/latest/MicroWin.zip" -OutFile $zipFile -Start-Process -FilePath "$env:TEMP\MicroWinExtract\MicroWin.exe" -Wait \ No newline at end of file +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 From 15fc66af93ad1649a39289bcef807fa96b07a8a6 Mon Sep 17 00:00:00 2001 From: Real-MullaC Date: Wed, 25 Feb 2026 13:34:59 +0000 Subject: [PATCH 3/4] Fix --- Mirowin.ps1 => Microwin.ps1 | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Mirowin.ps1 => Microwin.ps1 (100%) diff --git a/Mirowin.ps1 b/Microwin.ps1 similarity index 100% rename from Mirowin.ps1 rename to Microwin.ps1 From 5da0632d2e8b4b1e732c42d31355621f51961f19 Mon Sep 17 00:00:00 2001 From: Real-MullaC Date: Wed, 25 Feb 2026 13:39:34 +0000 Subject: [PATCH 4/4] Change installation command to use microwin.ps1 Updated PowerShell command in README for installation. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c946407..8d5917a 100755 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ This is, currently, in **ALPHA** stages and contains bugs. We are working hard o Alternatively you can run the following command: ``` ps1 -powershell -ExecutionPolicy Bypass -Command "iwr -useb https://raw.githubusercontent.com/CodingWonders/MicroWin/main/install.ps1 | iex" +powershell -ExecutionPolicy Bypass -Command "iwr -useb https://raw.githubusercontent.com/CodingWonders/MicroWin/main/microwin.ps1 | iex" ``` ## Contributing to the repository @@ -38,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**