forked from Rookiestyle/EarlyUpdateCheck
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace NuGet with KeePass source Internal adjustments
- Loading branch information
1 parent
58632fc
commit 123b630
Showing
7 changed files
with
67 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
@echo off | ||
set plgxnet=%1 | ||
set plgxkp=2.38 | ||
set plgxos= | ||
|
||
cls | ||
cd %~dp0 | ||
|
||
for %%* in (.) do set CurrDirName=%%~nx* | ||
echo Processing %CurrDirName% | ||
|
||
echo Deleting existing PlgX folder | ||
rmdir /s /q plgx | ||
|
||
echo Creating PlgX folder | ||
mkdir plgx | ||
|
||
echo Copying files | ||
xcopy src plgx /s /e /exclude:plgxexclude.txt > nul | ||
|
||
echo Compiling PlgX | ||
cd.. | ||
cd _KeePass_Release | ||
KeePass.exe --plgx-create "%~dp0plgx" plgx-prereq-net:%plgxnet% -plgx-prereq-kp:%plgxkp% -plgx-prereq-os:%plgxos% | ||
cd .. | ||
cd %CurrDirName% | ||
|
||
echo Copying PlgX to KeePass plugin folder | ||
copy plgx.plgx "..\_KeePass_Release\Plugins\%CurrDirName%.plgx" | ||
|
||
echo Releasing PlgX | ||
move /y plgx.plgx "..\_Releases\%CurrDirName%.plgx" | ||
|
||
echo Cleaning up | ||
rmdir /s /q plgx | ||
|
||
echo Compiled with following minimum requirements: | ||
echo .NET = %plgxnet% | ||
echo KeePass = %plgxkp% | ||
echo OS = %plgxos% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
bin\ | ||
obj\ | ||
.vs | ||
.git | ||
.user | ||
.sln | ||
.suo | ||
.pdb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
@echo off | ||
cd %~dp0 | ||
|
||
if "%1" == "Debug" ( | ||
xcopy /y /c /i Translations\*.xml "..\_KeePass_Debug\Plugins\Translations" /EXCLUDE:..\translationsnocopy.txt | ||
) | ||
if "%1" == "ReleasePlgx" ( | ||
xcopy /y /c /i Translations\*.xml "..\_KeePass_Release\Plugins\Translations" /EXCLUDE:..\translationsnocopy.txt | ||
xcopy /y /c /i Translations\*.xml "..\_Releases\Translations" /EXCLUDE:..\translationsnocopy.txt | ||
) |