Skip to content

Commit

Permalink
Merge pull request #16 from rstolpe/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
rstolpe authored Jan 19, 2023
2 parents bb1508d + 567ebf1 commit 6d322a6
Show file tree
Hide file tree
Showing 15 changed files with 18 additions and 390 deletions.
7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,14 @@
.Trashes
ehthumbs.db
Thumbs.db

RSModuleBuilder.ps1
*.csproj.user

bin/
obj/
.vs/
.vscode/
.idea/
.idea/
license/

WinSoftwareUpdate.psd1.source
154 changes: 0 additions & 154 deletions .src/WinSoftwareUpdate.psd1.source

This file was deleted.

23 changes: 0 additions & 23 deletions .src/license/LICENSE.source

This file was deleted.

4 changes: 2 additions & 2 deletions .src/private/function/Confirm-RSWinGet.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
Write-Output "WinGet is not installed, downloading and installing WinGet..."
}
else {
Write-Output "Checking if it's any newer version of WinGet to download and install..."
Write-OutPut "Checking if it's any newer version of WinGet to download and install..."
}

# Collecting information from GitHub regarding latest version of WinGet
Expand Down Expand Up @@ -79,7 +79,7 @@
Write-Output "WinGet has a newer version $($GitHubInfo.Tag), downloading and installing it..."
Invoke-WebRequest -UseBasicParsing -Uri $GitHubInfo.DownloadUrl -OutFile $GitHubInfo.OutFile

Write-Output "Installing version $($GitHubInfo.Tag) of WinGet..."
Write-Verbose "Installing version $($GitHubInfo.Tag) of WinGet..."
Add-AppxPackage $($GitHubInfo.OutFile)
}
else {
Expand Down
4 changes: 3 additions & 1 deletion .src/public/function/Update-RSWinSoftware.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
# Importing appx with -usewindowspowershell if your using PowerShell 7 or higher
if ($PSVersionTable.PSVersion.Major -ge 7) {
import-module appx -usewindowspowershell
Write-Output "== This messages is expected if you are using PowerShell 7 or higher =="
Write-Output "`n=== This messages is expected if you are using PowerShell 7 or higher ===`n"
}

# Getting system information
Expand All @@ -81,4 +81,6 @@

# Starts to check for updates of the installed software
Start-RSWinGet

Write-OutPut "`n=== \\\ Script Finished /// ===`n"
}
Loading

0 comments on commit 6d322a6

Please sign in to comment.