Skip to content

Commit

Permalink
Internal cleanup
Browse files Browse the repository at this point in the history
Replace NuGet with KeePass source
Internal adjustments
  • Loading branch information
Rookiestyle committed May 24, 2020
1 parent 58632fc commit 123b630
Show file tree
Hide file tree
Showing 7 changed files with 67 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ assignees: ''
---

## Summary
[TIP]: # (DO NOT include screenshots of your actual database)
[TIP]: # (DO NOT include screenshots of your actual database)
[TIP]: # (DO NOT post sensitive data of any kind)
[NOTE]: # (Provide a brief overview of what the new feature is all about )
[NOTE]: # (Provide a brief overview of what the new feature is all about)


## Added value
[NOTE]: # (Describe how you and other users would benefit from this feature)


## Example
[NOTE]: (Show a picture or a mock-up if applicable)
[NOTE]: # (Show a picture or a mock-up if applicable)
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/translation.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ assignees: ''

---

NOTE: # (Please do not forget to attach the translation file)
[NOTE]: # (Please do not forget to attach the translation file)
Language:
- [ ] New translation
- [ ] Update existing translation
- [ ] If updated: Only added missing Texts
- [ ] All relevant texts translated

NOTE: # (A text is relevant if the standard text in english language is NOT sufficient)
[NOTE]: # (A text is relevant if the standard text in english language is NOT sufficient)
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
translationcopy.cmd

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
Expand Down
40 changes: 40 additions & 0 deletions plgxcreate.cmd
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%
8 changes: 8 additions & 0 deletions plgxexclude.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
bin\
obj\
.vs
.git
.user
.sln
.suo
.pdb
4 changes: 4 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Details can be found in the configuration settings.
- [Configuration](#configuration)
- [One-click plugin update](#one-click-plugin-update)
- [Translations](#translations)
- [Requirements](#requirements)

# Configuration
EarlyUpdateCheck integrates into KeePass' options form.
Expand Down Expand Up @@ -53,3 +54,6 @@ Example: `EarlyUpdateCheck.de.language.xml`

The language identifier in the filename must match the language identifier inside the KeePass language that you can select using *View -> Change language...*\
This identifier is shown there as well.

# Requirements
* KeePass: 2.38
10 changes: 10 additions & 0 deletions translationcopy.cmd
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
)

0 comments on commit 123b630

Please sign in to comment.