mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-11 21:03:05 +08:00
Chg: Small enhancement for Notepad3Portable Release version
This commit is contained in:
parent
8e47ea6e09
commit
b7cc0e5ddd
@ -12,9 +12,9 @@ PowerShell.exe -NoProfile -NonInteractive -NoLogo -ExecutionPolicy Unrestricted
|
||||
set EXITCODE=%ERRORLEVEL%
|
||||
::ECHO ERRORLEVEL=%EXITCODE%
|
||||
|
||||
:: Pause for 2 seconds to verify the "Notepad3 version number:" before exiting
|
||||
:: Pause for 4 seconds to verify the "Notepad3 version number:" before exiting
|
||||
:: ============================================================================
|
||||
ping -n 3 127.0.0.1>nul
|
||||
ping -n 5 127.0.0.1>nul
|
||||
|
||||
goto :END
|
||||
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
:: Batch file for ALPHA and XPERIMENTAL version
|
||||
@echo off
|
||||
setlocal
|
||||
set _VERPATCH_=alpha
|
||||
echo."%_VERPATCH_%">.\np3portableapp\_buildname.txt
|
||||
echo."_%_VERPATCH_%">.\np3portableapp\_buildname.txt
|
||||
Version -VerPatch "%_VERPATCH_%"
|
||||
endlocal
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
:: Batch file for BETA version
|
||||
@echo off
|
||||
setlocal
|
||||
set _VERPATCH_=beta
|
||||
echo."%_VERPATCH_%">.\np3portableapp\_buildname.txt
|
||||
echo."_%_VERPATCH_%">.\np3portableapp\_buildname.txt
|
||||
Version -VerPatch "%_VERPATCH_%"
|
||||
endlocal
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
:: Batch file for RELEASE CANDIDATE version
|
||||
@echo off
|
||||
setlocal
|
||||
set _VERPATCH_=rc
|
||||
echo."%_VERPATCH_%">.\np3portableapp\_buildname.txt
|
||||
echo."_%_VERPATCH_%">.\np3portableapp\_buildname.txt
|
||||
Version -VerPatch "%_VERPATCH_%"
|
||||
endlocal
|
||||
|
||||
7
Version_rel.cmd
Normal file
7
Version_rel.cmd
Normal file
@ -0,0 +1,7 @@
|
||||
:: Batch file for RELEASE version (without the separator "_" before ".paf" in Notepad3Portable)
|
||||
@echo off
|
||||
setlocal
|
||||
set _VERPATCH_=
|
||||
echo."%_VERPATCH_%">.\np3portableapp\_buildname.txt
|
||||
Version -VerPatch "%_VERPATCH_%"
|
||||
endlocal
|
||||
@ -24,7 +24,7 @@ CommercialUse=true
|
||||
|
||||
[Version]
|
||||
PackageVersion=xxxVERSIONxxx
|
||||
DisplayVersion=xxxVERSIONxxx_xxxDEVNAMExxx
|
||||
DisplayVersion=xxxVERSIONxxxxxxDEVNAMExxx
|
||||
|
||||
[SpecialPaths]
|
||||
Plugins=NONE
|
||||
|
||||
@ -216,7 +216,7 @@ del /f /q "%NP3_PORTAPP_INFO%_tmp.ini"
|
||||
:: call %SCRIPT_DIR%Signing_for_NP3P_2nd_EXE.cmd
|
||||
|
||||
:: Creation of a "7-Zip" file by appending the extension ".7z"
|
||||
set Notepad3Portable.paf.exe=%SCRIPT_DIR%Notepad3Portable_%VERSION%_%DEVNAME%.paf.exe
|
||||
set Notepad3Portable.paf.exe=%SCRIPT_DIR%Notepad3Portable_%VERSION%%DEVNAME%.paf.exe
|
||||
if exist %Notepad3Portable.paf.exe% (
|
||||
copy /B %Notepad3Portable.paf.exe% %Notepad3Portable.paf.exe%.7z /Y /V
|
||||
) else (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user