Skip to content

Commit 6d322a6

Browse files
author
Robin Stolpe
authored
Merge pull request #16 from rstolpe/dev
Dev
2 parents bb1508d + 567ebf1 commit 6d322a6

15 files changed

Lines changed: 18 additions & 390 deletions

.gitignore

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,14 @@
2626
.Trashes
2727
ehthumbs.db
2828
Thumbs.db
29-
29+
RSModuleBuilder.ps1
3030
*.csproj.user
3131

3232
bin/
3333
obj/
3434
.vs/
3535
.vscode/
36-
.idea/
36+
.idea/
37+
license/
38+
39+
WinSoftwareUpdate.psd1.source

.src/WinSoftwareUpdate.psd1.source

Lines changed: 0 additions & 154 deletions
This file was deleted.

.src/license/LICENSE.source

Lines changed: 0 additions & 23 deletions
This file was deleted.

.src/private/function/Confirm-RSWinGet.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
Write-Output "WinGet is not installed, downloading and installing WinGet..."
4545
}
4646
else {
47-
Write-Output "Checking if it's any newer version of WinGet to download and install..."
47+
Write-OutPut "Checking if it's any newer version of WinGet to download and install..."
4848
}
4949

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

82-
Write-Output "Installing version $($GitHubInfo.Tag) of WinGet..."
82+
Write-Verbose "Installing version $($GitHubInfo.Tag) of WinGet..."
8383
Add-AppxPackage $($GitHubInfo.OutFile)
8484
}
8585
else {

.src/public/function/Update-RSWinSoftware.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
# Importing appx with -usewindowspowershell if your using PowerShell 7 or higher
6565
if ($PSVersionTable.PSVersion.Major -ge 7) {
6666
import-module appx -usewindowspowershell
67-
Write-Output "== This messages is expected if you are using PowerShell 7 or higher =="
67+
Write-Output "`n=== This messages is expected if you are using PowerShell 7 or higher ===`n"
6868
}
6969

7070
# Getting system information
@@ -81,4 +81,6 @@
8181

8282
# Starts to check for updates of the installed software
8383
Start-RSWinGet
84+
85+
Write-OutPut "`n=== \\\ Script Finished /// ===`n"
8486
}

0 commit comments

Comments
 (0)