Update Notepad++.script, Update PowerShellCore.script - add pwsh.exe to system path

This commit is contained in:
Homes32
2024-06-17 22:04:07 -05:00
parent 572b19b9c5
commit cc765fcd4e
2 changed files with 17 additions and 6 deletions

View File

@@ -30,19 +30,19 @@
[Main] [Main]
Title=Notepad++ Title=Notepad++
Description=(v8.6.7.0) Notepad++ is a free and open source code editor and Notepad replacement that supports multiple languages. Description=(v8.6.8.0) Notepad++ is a free and open source code editor and Notepad replacement that supports multiple languages.
Author=Homes32 Author=Homes32
Level=5 Level=5
Selected=True Selected=True
Mandatory=False Mandatory=False
Version=1.4.8.0 Version=1.4.9.0
Date=2024-06-03 Date=2024-06-14
[Variables] [Variables]
%ProgramFolder%="Notepad++" %ProgramFolder%="Notepad++"
%ProgramExe%="notepad++.exe" %ProgramExe%="notepad++.exe"
%ShellExtDll%="NppShell_06.dll" %ShellExtDll%="NppShell_06.dll"
%ProgramVersion%=8.6.7 %ProgramVersion%=8.6.8
%DownloadURLx86%=https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v%ProgramVersion%/npp.%ProgramVersion%.portable.7z %DownloadURLx86%=https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v%ProgramVersion%/npp.%ProgramVersion%.portable.7z
%DownloadURLx64%=https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v%ProgramVersion%/npp.%ProgramVersion%.portable.x64.7z %DownloadURLx64%=https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v%ProgramVersion%/npp.%ProgramVersion%.portable.x64.7z
%aToolbarIconMap%=Fluent UI: small|small|Fluent UI: large|large|Filled Fluent UI: small|small2|Filled Fluent UI: large|large2|Standard icons: small|standard %aToolbarIconMap%=Fluent UI: small|small|Fluent UI: large|large|Filled Fluent UI: small|small2|Filled Fluent UI: large|large2|Standard icons: small|standard

View File

@@ -35,8 +35,8 @@ Author=Homes32
Level=5 Level=5
Selected=False Selected=False
Mandatory=False Mandatory=False
Version=1.0.12.0 Version=1.0.13.0
Date=2024-06-03 Date=2024-06-15
[Variables] [Variables]
%ProgramFolder%="PowerShell" %ProgramFolder%="PowerShell"
@@ -62,6 +62,17 @@ Decompress,"%ProgramsCache%\%ProgramFolder%\%SetupFile%","%TargetPrograms%\%Prog
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
// Settings // Settings
RegLoadHives
// Register AppPath
RegWrite,HKLM,REG_EXPAND_SZ,"Tmp_Software\Microsoft\Windows\CurrentVersion\App Paths\%ProgramExe%","","%PEPrograms%\%ProgramFolder%\%ProgramExe%"
// Add to system PATH
RegRead,HKLM,"Tmp_System\ControlSet001\Control\Session Manager\Environment","Path",%SysPath%
StrFormat,CTrim,%SysPath%,";",%SysPath%
RegWrite,HKLM,0x2,"Tmp_System\ControlSet001\Control\Session Manager\Environment","Path","%SysPath%;%PEPrograms%\%ProgramFolder%\;"
RegUnloadHives
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
// Shortcuts // Shortcuts