fix notif local function execution
parent
e7d3a7a803
commit
ccc22ae282
|
@ -38,6 +38,9 @@ $Script:WorkingDir = $PSScriptRoot
|
||||||
. $WorkingDir\functions\Get-NotifLocale.ps1
|
. $WorkingDir\functions\Get-NotifLocale.ps1
|
||||||
. $WorkingDir\functions\Start-NotifTask.ps1
|
. $WorkingDir\functions\Start-NotifTask.ps1
|
||||||
|
|
||||||
|
#Get Toast Locale function
|
||||||
|
Get-NotifLocale
|
||||||
|
|
||||||
#Set common variables
|
#Set common variables
|
||||||
$OnClickAction = "$WorkingDir\logs\updates.log"
|
$OnClickAction = "$WorkingDir\logs\updates.log"
|
||||||
$Button1Text = $NotifLocale.local.outputs.output[11].message
|
$Button1Text = $NotifLocale.local.outputs.output[11].message
|
||||||
|
@ -45,9 +48,6 @@ $Title = "Winget-AutoUpdate (WAU)"
|
||||||
$Balise = "Winget-AutoUpdate (WAU)"
|
$Balise = "Winget-AutoUpdate (WAU)"
|
||||||
$UserRun = $True
|
$UserRun = $True
|
||||||
|
|
||||||
#Get Toast Locale function
|
|
||||||
Get-NotifLocale
|
|
||||||
|
|
||||||
if ($Logs) {
|
if ($Logs) {
|
||||||
if ((Test-Path "$WorkingDir\logs\updates.log")) {
|
if ((Test-Path "$WorkingDir\logs\updates.log")) {
|
||||||
Invoke-Item "$WorkingDir\logs\updates.log"
|
Invoke-Item "$WorkingDir\logs\updates.log"
|
||||||
|
|
Loading…
Reference in New Issue