-
-
Notifications
You must be signed in to change notification settings - Fork 555
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: remove old checks for upgrade/downgrade
- Loading branch information
Showing
4 changed files
with
22 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
if ((Get-ItemProperty $oemInfo -Name "Model" -EA 0).Model -notlike "*Atlas*") { | ||
Write-Output "Model doesn't contain Atlas, Atlas doesn't seem to be installed currently." | ||
if (20 -lt ((Get-Date) - (Get-CimInstance Win32_OperatingSystem).InstallDate).Days) { | ||
@" | ||
Windows seems to have been installed a while ago. A full Windows reinstall is highly recommended to ensure your initial install of Atlas works without problems. | ||
Atlas will install anyways, but remember this if there's issues. | ||
Follow our installation guide: https://docs.atlasos.net/getting-started/installation/ | ||
"@ | msg * | ||
} | ||
exit 2 | ||
} |
This file was deleted.
Oops, something went wrong.