From 1132d5394485eeb9db5b58541ffc0b9d881e28e9 Mon Sep 17 00:00:00 2001 From: MyDrift Date: Fri, 9 Aug 2024 19:40:14 +0200 Subject: [PATCH] move naming from winutil to wpf --- .../Invoke-WPFUIElements.ps1} | 2 +- scripts/main.ps1 | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) rename functions/{private/Invoke-WinUtilUIElements.ps1 => public/Invoke-WPFUIElements.ps1} (99%) diff --git a/functions/private/Invoke-WinUtilUIElements.ps1 b/functions/public/Invoke-WPFUIElements.ps1 similarity index 99% rename from functions/private/Invoke-WinUtilUIElements.ps1 rename to functions/public/Invoke-WPFUIElements.ps1 index 1e81526e..ea9dbd04 100644 --- a/functions/private/Invoke-WinUtilUIElements.ps1 +++ b/functions/public/Invoke-WPFUIElements.ps1 @@ -1,4 +1,4 @@ -function Invoke-WinUtilUIElements { +function Invoke-WPFUIElements { <# .SYNOPSIS Adds UI elements to a specified Grid in the WinUtil GUI based on a JSON configuration. diff --git a/scripts/main.ps1 b/scripts/main.ps1 index c99f4b90..6ee8e300 100644 --- a/scripts/main.ps1 +++ b/scripts/main.ps1 @@ -85,9 +85,9 @@ try { # Load the configuration files -Invoke-WinUtilUIElements -configVariable $sync.configs.applications -panel "install" -Invoke-WinUtilUIElements -configVariable $sync.configs.tweaks -panel "tweaks" -Invoke-WinUtilUIElements -configVariable $sync.configs.feature -panel "features" +Invoke-WPFUIElements -configVariable $sync.configs.applications -panel "install" +Invoke-WPFUIElements -configVariable $sync.configs.tweaks -panel "tweaks" +Invoke-WPFUIElements -configVariable $sync.configs.feature -panel "features" #===========================================================================