-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Showing
9 changed files
with
44 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
function Component() | ||
{ | ||
} | ||
|
||
Component.prototype.createOperations = function() { | ||
component.createOperations(); | ||
component.addOperation("CreateShortcut", "@TargetDir@/nfc-lab.exe", "@StartMenuDir@/NFC-Laboratory.lnk", "workingDirectory=@TargetDir@"); | ||
} |
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Package> | ||
<Name>org.josevcm.nfclab</Name> | ||
<DisplayName>NFC Laboratory @nfc-lab_VERSION@ - [email protected]</DisplayName> | ||
<Description>NFC Laboratory Package Installer</Description> | ||
<Version>@nfc-lab_VERSION@</Version> | ||
|
@@ -8,4 +9,7 @@ | |
<License name="License Agreement" file="license.txt" /> | ||
</Licenses> | ||
<Default>true</Default> | ||
<ForcedInstallation>true</ForcedInstallation> | ||
<ForcedUpdate>true</ForcedUpdate> | ||
<Script>installscript.js</Script> | ||
</Package> |
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 |
---|---|---|
@@ -1,18 +1,20 @@ | ||
$SourcePath="@CMAKE_CURRENT_SOURCE_DIR@" | ||
$TargetPath="@CMAKE_CURRENT_BINARY_DIR@" | ||
|
||
# Copy application resources | ||
Copy-Item -Force -Recurse $SourcePath/dat/config $TargetPath/installer/packages/nfc-lab/data | ||
New-Item -Force -Path $TargetPath/installer/packages/org.josevcm.nfclab/data/ -ItemType "directory" | ||
New-Item -Force -Path $TargetPath/installer/packages/org.josevcm.nfclab/meta/ -ItemType "directory" | ||
|
||
# Copy application external libraries | ||
Copy-Item -Force $SourcePath/dll/usb-1.0.20/x86_64-w64-mingw32/bin/*.dll $TargetPath/installer/packages/nfc-lab/data/ | ||
# Copy application resources | ||
Copy-Item -Force $SourcePath/dat/config/*.conf $TargetPath/installer/packages/org.josevcm.nfclab/data/ | ||
Copy-Item -Force $SourcePath/dll/usb-1.0.20/x86_64-w64-mingw32/bin/*.dll $TargetPath/installer/packages/org.josevcm.nfclab/data/ | ||
Copy-Item -Force $TargetPath/src/nfc-app/app-qt/nfc-lab.exe $TargetPath/installer/packages/org.josevcm.nfclab/data/ | ||
|
||
# Copy application executable | ||
Copy-Item -Force $TargetPath/src/nfc-app/app-qt/nfc-lab.exe $TargetPath/installer/packages/nfc-lab/data/ | ||
# Copy installer resources | ||
Copy-Item -Force $SourcePath/dat/installer/*.js $TargetPath/installer/packages/org.josevcm.nfclab/meta/ | ||
|
||
# Create QT deployment from executable | ||
windeployqt.exe --debug --force --compiler-runtime --no-translations --no-system-d3d-compiler --no-angle --no-opengl-sw $TargetPath/installer/packages/nfc-lab/data/nfc-lab.exe | ||
# windeployqt.exe --release --force --compiler-runtime --no-translations --no-system-d3d-compiler --no-angle --no-opengl-sw $TargetPath/installer/packages/nfc-lab/data/nfc-lab.exe | ||
windeployqt.exe --debug --force --compiler-runtime --no-translations --no-system-d3d-compiler --no-angle --no-opengl-sw $TargetPath/installer/packages/org.josevcm.nfclab/data/nfc-lab.exe | ||
# windeployqt.exe --release --force --compiler-runtime --no-translations --no-system-d3d-compiler --no-angle --no-opengl-sw $TargetPath/installer/packages/org.josevcm.nfclab/data/nfc-lab.exe | ||
|
||
# Create QT installer | ||
binarycreator.exe -c $TargetPath/installer/config/config.xml -p $TargetPath/installer/packages $TargetPath/nfc-lab-@nfc-lab_VERSION@-x86_64.exe |
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 |
---|---|---|
|
@@ -3,6 +3,6 @@ | |
*/ | ||
#define NFC_LAB_VERSION_MAJOR 2 | ||
#define NFC_LAB_VERSION_MINOR 6 | ||
#define NFC_LAB_VERSION_PATCH 7 | ||
#define NFC_LAB_VERSION_STRING "2.6.7" | ||
#define NFC_LAB_VENDOR_STRING "NFC laboratory 2.6.7, Jose Vicente Campos Martinez - [email protected]" | ||
#define NFC_LAB_VERSION_PATCH 8 | ||
#define NFC_LAB_VERSION_STRING "2.6.8" | ||
#define NFC_LAB_VENDOR_STRING "NFC laboratory 2.6.8, Jose Vicente Campos Martinez - [email protected]" |
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