From e739ef57afc9c80fa02c5ff6a7c20ce9ad673b4c Mon Sep 17 00:00:00 2001 From: USER Date: Fri, 22 Aug 2025 16:54:00 +0100 Subject: [PATCH] . --- PS/pShowAppIcons.ps1 | 8 ++++++++ PS/pShowSeconds.ps1 | 5 +++++ printfix.bat => archive/printfix.bat | 0 bin/pull.bat | 11 ----------- BaseGit.bat => git/BaseGit.bat | 0 BaseGitClone.bat => git/BaseGitClone.bat | 0 BaseGitConfig.bat => git/BaseGitConfig.bat | 0 BaseGitPull.bat => git/BaseGitPull.bat | 0 8 files changed, 13 insertions(+), 11 deletions(-) create mode 100644 PS/pShowAppIcons.ps1 create mode 100644 PS/pShowSeconds.ps1 rename printfix.bat => archive/printfix.bat (100%) delete mode 100644 bin/pull.bat rename BaseGit.bat => git/BaseGit.bat (100%) rename BaseGitClone.bat => git/BaseGitClone.bat (100%) rename BaseGitConfig.bat => git/BaseGitConfig.bat (100%) rename BaseGitPull.bat => git/BaseGitPull.bat (100%) diff --git a/PS/pShowAppIcons.ps1 b/PS/pShowAppIcons.ps1 new file mode 100644 index 0000000..d4b88f0 --- /dev/null +++ b/PS/pShowAppIcons.ps1 @@ -0,0 +1,8 @@ +Set-StrictMode -Version 'latest' +if (Test-Path -Path 'HKCU:\Control Panel\NotifyIconSettings') +{ + Get-ChildItem -Path 'HKCU:\Control Panel\NotifyIconSettings' | + ForEach-Object { + Set-ItemProperty -Path ($_.PSPath) -ErrorAction SilentlyContinue -Name 'IsPromoted' -Value 0x00000001 + } +} diff --git a/PS/pShowSeconds.ps1 b/PS/pShowSeconds.ps1 new file mode 100644 index 0000000..6920b5f --- /dev/null +++ b/PS/pShowSeconds.ps1 @@ -0,0 +1,5 @@ + +If (!(Test-Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced")) { + New-Item -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" | Out-Null } +Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "ShowSecondsInSystemClock" -Type DWord -Value 1 + diff --git a/printfix.bat b/archive/printfix.bat similarity index 100% rename from printfix.bat rename to archive/printfix.bat diff --git a/bin/pull.bat b/bin/pull.bat deleted file mode 100644 index 4c712c7..0000000 --- a/bin/pull.bat +++ /dev/null @@ -1,11 +0,0 @@ - - -curl --ssl-no-revoke -o c:\Packages\wlocal.zip https://git.cabinbagonly.com/mirror/wLocal/archive/main.zip -curl --ssl-no-revoke -o c:\Packages\wbase.zip https://git.cabinbagonly.com/mirror/wBase/archive/main.zip -curl --ssl-no-revoke -o c:\Packages\wpublic.zip https://git.cabinbagonly.com/mirror/wPublic/archive/main.zip - -cd \scripts -tar -xvf c:\Packages\wlocal.zip -tar -xvf c:\Packages\wbase.zip -tar -xvf c:\Packages\wpublic.zip - diff --git a/BaseGit.bat b/git/BaseGit.bat similarity index 100% rename from BaseGit.bat rename to git/BaseGit.bat diff --git a/BaseGitClone.bat b/git/BaseGitClone.bat similarity index 100% rename from BaseGitClone.bat rename to git/BaseGitClone.bat diff --git a/BaseGitConfig.bat b/git/BaseGitConfig.bat similarity index 100% rename from BaseGitConfig.bat rename to git/BaseGitConfig.bat diff --git a/BaseGitPull.bat b/git/BaseGitPull.bat similarity index 100% rename from BaseGitPull.bat rename to git/BaseGitPull.bat