forked from JanisEst/KeePassQRCodeView
-
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.
- Loading branch information
1 parent
cd921ee
commit 7162b84
Showing
1 changed file
with
20 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
@echo off | ||
|
||
set plugin=%cd%\plugin | ||
set source=%plugin%\source | ||
|
||
echo coping source files to plugin\source for clean plugin | ||
if not exist %source% mkdir %source% | ||
cp *.cs %source% | ||
cp *.csproj %source% | ||
cp *.resx %source% | ||
xcopy /S /Y %cd%\Resources %source%\Resources\ >NUL | ||
xcopy /S /Y %cd%\Properties %source%\Properties\ >NUL | ||
del %plugin%\*.plgx | ||
|
||
echo compiling plugin | ||
"c:\Program Files (x86)\KeePass Password Safe 2\KeePass.exe" --plgx-create %source% -plgx-prereq-kp:2.41 --plgx-prereq-net:4.0 | ||
|
||
echo renaming | ||
ren %source%.plgx KeePassQRCodeView.plgx | ||
echo Clean compiled plugin is located in %cd%\plugin |