Windows installer (wip)
This commit is contained in:
23
installer/build.sh
Executable file
23
installer/build.sh
Executable file
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
|
||||
VERSION=$(grep '<version>' ../pom.xml | head -1 | egrep -o '[0-9.]+')
|
||||
echo Generating installer script for pairgoth-$VERSION
|
||||
|
||||
# root files
|
||||
rm -rf target/*
|
||||
cp -r resources/files target
|
||||
|
||||
# icon
|
||||
cp resources/pairgoth.ico target/files
|
||||
|
||||
# java library
|
||||
mkdir -p target/files/lib
|
||||
cp ../application/target/pairgoth-engine.jar target/files/lib
|
||||
|
||||
# jre
|
||||
unzip -d target/files resources/jre.zip
|
||||
|
||||
# installer script
|
||||
sed -r -e "s/@VERSION@/$VERSION.0.0/g" resources/installer.nsi > target/installer.nsi
|
||||
|
||||
cat target/installer.nsi | makensis -V4 -
|
202
installer/resources/LICENSE.txt
Normal file
202
installer/resources/LICENSE.txt
Normal file
@@ -0,0 +1,202 @@
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
BIN
installer/resources/banner.bmp
Normal file
BIN
installer/resources/banner.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 926 KiB |
BIN
installer/resources/files/lib/pairgoth-engine.jar
Normal file
BIN
installer/resources/files/lib/pairgoth-engine.jar
Normal file
Binary file not shown.
2
installer/resources/files/pairgoth.properties
Normal file
2
installer/resources/files/pairgoth.properties
Normal file
@@ -0,0 +1,2 @@
|
||||
auth = none
|
||||
|
1757
installer/resources/files/tournamentfiles/000001-frioul-2018.tour
Normal file
1757
installer/resources/files/tournamentfiles/000001-frioul-2018.tour
Normal file
File diff suppressed because it is too large
Load Diff
6199
installer/resources/files/tournamentfiles/000002-paris-2021.tour
Normal file
6199
installer/resources/files/tournamentfiles/000002-paris-2021.tour
Normal file
File diff suppressed because it is too large
Load Diff
757
installer/resources/files/tournamentfiles/000003-stage-2021.tour
Normal file
757
installer/resources/files/tournamentfiles/000003-stage-2021.tour
Normal file
@@ -0,0 +1,757 @@
|
||||
{
|
||||
"id" : 3,
|
||||
"type" : "INDIVIDUAL",
|
||||
"name" : "Stage FFG 2021",
|
||||
"shortName" : "stage-2021",
|
||||
"startDate" : "2021-07-10",
|
||||
"endDate" : "2021-07-24",
|
||||
"country" : "FR",
|
||||
"location" : "Montcabrier",
|
||||
"online" : false,
|
||||
"komi" : 7.5,
|
||||
"rules" : "FRENCH",
|
||||
"gobanSize" : 19,
|
||||
"timeSystem" : {
|
||||
"type" : "STANDARD",
|
||||
"mainTime" : 60,
|
||||
"byoyomi" : 30,
|
||||
"periods" : 1
|
||||
},
|
||||
"rounds" : 10,
|
||||
"pairing" : {
|
||||
"type" : "MAC_MAHON",
|
||||
"base" : {
|
||||
"nx1" : 0.5,
|
||||
"dupWeight" : 5.0E14,
|
||||
"random" : 0.0,
|
||||
"colorBalanceWeight" : 1000000.0
|
||||
},
|
||||
"main" : {
|
||||
"catWeight" : 0.0,
|
||||
"scoreWeight" : 1.0E11,
|
||||
"upDownWeight" : 1.0E8,
|
||||
"upDownCompensate" : true,
|
||||
"upDownLowerMode" : "MIDDLE",
|
||||
"upDownUpperMode" : "MIDDLE",
|
||||
"maximizeSeeding" : 5000000.0,
|
||||
"firstSeedLastRound" : 2,
|
||||
"firstSeed" : "SPLIT_AND_RANDOM",
|
||||
"secondSeed" : "SPLIT_AND_SLIP",
|
||||
"firstSeedAddCrit" : "RATING",
|
||||
"secondSeedAddCrit" : "NONE"
|
||||
},
|
||||
"secondary" : {
|
||||
"barThreshold" : true,
|
||||
"rankThreshold" : 0,
|
||||
"winsThreshold" : false,
|
||||
"secWeight" : 1.0E11
|
||||
},
|
||||
"geo" : {
|
||||
"weight" : 1.215752192E9,
|
||||
"mmsDiffCountry" : 1,
|
||||
"mmsDiffClubGroup" : 2,
|
||||
"mmsDiffClub" : 3
|
||||
},
|
||||
"handicap" : {
|
||||
"weight" : 0.0,
|
||||
"useMMS" : false,
|
||||
"threshold" : 0,
|
||||
"correction" : 1,
|
||||
"ceiling" : 9
|
||||
},
|
||||
"placement" : [
|
||||
"MMS",
|
||||
"SOSM",
|
||||
"SOSOSM"
|
||||
],
|
||||
"mmFloor" : -20,
|
||||
"mmBar" : 0
|
||||
},
|
||||
"players" : [
|
||||
{
|
||||
"id" : 706,
|
||||
"name" : "Evain",
|
||||
"firstname" : "Andéol",
|
||||
"rating" : 1982,
|
||||
"rank" : -1,
|
||||
"country" : "FR",
|
||||
"club" : "31To"
|
||||
},
|
||||
{
|
||||
"id" : 707,
|
||||
"name" : "Guerre-Genton",
|
||||
"firstname" : "Philippe",
|
||||
"rating" : 2080,
|
||||
"rank" : 0,
|
||||
"country" : "FR",
|
||||
"club" : "13Ma"
|
||||
},
|
||||
{
|
||||
"id" : 708,
|
||||
"name" : "Ougier",
|
||||
"firstname" : "Ariane",
|
||||
"rating" : 2392,
|
||||
"rank" : 3,
|
||||
"country" : "FR",
|
||||
"club" : "38Gr"
|
||||
},
|
||||
{
|
||||
"id" : 709,
|
||||
"name" : "Fourcade",
|
||||
"firstname" : "Annabel",
|
||||
"rating" : -900,
|
||||
"rank" : -20,
|
||||
"country" : "FR",
|
||||
"club" : "31To"
|
||||
},
|
||||
{
|
||||
"id" : 710,
|
||||
"name" : "Bonetti",
|
||||
"firstname" : "Benoit",
|
||||
"rating" : -900,
|
||||
"rank" : -10,
|
||||
"country" : "FR",
|
||||
"club" : "31Ba"
|
||||
},
|
||||
{
|
||||
"id" : 711,
|
||||
"name" : "Frappart",
|
||||
"firstname" : "Bastien",
|
||||
"rating" : 1598,
|
||||
"rank" : -5,
|
||||
"country" : "FR",
|
||||
"club" : "94Ca"
|
||||
},
|
||||
{
|
||||
"id" : 712,
|
||||
"name" : "Rosenblatt",
|
||||
"firstname" : "Simon",
|
||||
"rating" : 2022,
|
||||
"rank" : -1,
|
||||
"country" : "FR",
|
||||
"club" : "75Op"
|
||||
},
|
||||
{
|
||||
"id" : 713,
|
||||
"name" : "Aim",
|
||||
"firstname" : "Warren",
|
||||
"rating" : 1877,
|
||||
"rank" : -2,
|
||||
"country" : "FR",
|
||||
"club" : "38Gr"
|
||||
},
|
||||
{
|
||||
"id" : 714,
|
||||
"name" : "Perrin",
|
||||
"firstname" : "Thibaut",
|
||||
"rating" : 1652,
|
||||
"rank" : -4,
|
||||
"country" : "FR",
|
||||
"club" : "38Gr"
|
||||
},
|
||||
{
|
||||
"id" : 715,
|
||||
"name" : "Robichon",
|
||||
"firstname" : "Benoit",
|
||||
"rating" : 2046,
|
||||
"rank" : -1,
|
||||
"country" : "FR",
|
||||
"club" : "38Gr"
|
||||
},
|
||||
{
|
||||
"id" : 716,
|
||||
"name" : "Ronayette",
|
||||
"firstname" : "Elodie",
|
||||
"rating" : 1436,
|
||||
"rank" : -7,
|
||||
"country" : "FR",
|
||||
"club" : "38Gr"
|
||||
},
|
||||
{
|
||||
"id" : 717,
|
||||
"name" : "Houari",
|
||||
"firstname" : "Kevin",
|
||||
"rating" : 1674,
|
||||
"rank" : -4,
|
||||
"country" : "FR",
|
||||
"club" : "92An"
|
||||
},
|
||||
{
|
||||
"id" : 718,
|
||||
"name" : "Stockholm",
|
||||
"firstname" : "Daniel",
|
||||
"rating" : 1391,
|
||||
"rank" : -7,
|
||||
"country" : "FR",
|
||||
"club" : "75OB"
|
||||
},
|
||||
{
|
||||
"id" : 719,
|
||||
"name" : "le",
|
||||
"firstname" : "Tâm_Loup",
|
||||
"rating" : 1492,
|
||||
"rank" : -6,
|
||||
"country" : "FR",
|
||||
"club" : "35Re"
|
||||
},
|
||||
{
|
||||
"id" : 720,
|
||||
"name" : "Mezouar",
|
||||
"firstname" : "Abdallah",
|
||||
"rating" : 2198,
|
||||
"rank" : 1,
|
||||
"country" : "FR",
|
||||
"club" : "69Ly"
|
||||
},
|
||||
{
|
||||
"id" : 721,
|
||||
"name" : "Rioland",
|
||||
"firstname" : "Florent",
|
||||
"rating" : 2342,
|
||||
"rank" : 2,
|
||||
"country" : "FR",
|
||||
"club" : "35Re"
|
||||
},
|
||||
{
|
||||
"id" : 722,
|
||||
"name" : "Wilhelm",
|
||||
"firstname" : "Lubin",
|
||||
"rating" : 2045,
|
||||
"rank" : -1,
|
||||
"country" : "FR",
|
||||
"club" : "69Ly"
|
||||
},
|
||||
{
|
||||
"id" : 723,
|
||||
"name" : "Ougier",
|
||||
"firstname" : "Guillaume",
|
||||
"rating" : 2418,
|
||||
"rank" : 3,
|
||||
"country" : "FR",
|
||||
"club" : "92An"
|
||||
},
|
||||
{
|
||||
"id" : 724,
|
||||
"name" : "Wargny",
|
||||
"firstname" : "Anaïs",
|
||||
"rating" : -900,
|
||||
"rank" : -20,
|
||||
"country" : "FR",
|
||||
"club" : "76Ha"
|
||||
},
|
||||
{
|
||||
"id" : 725,
|
||||
"name" : "Goossens",
|
||||
"firstname" : "Sylvie",
|
||||
"rating" : -101,
|
||||
"rank" : -22,
|
||||
"country" : "FR",
|
||||
"club" : "64Pa"
|
||||
},
|
||||
{
|
||||
"id" : 726,
|
||||
"name" : "Vieille",
|
||||
"firstname" : "Louis",
|
||||
"rating" : -900,
|
||||
"rank" : -10,
|
||||
"country" : "FR",
|
||||
"club" : "38Gr"
|
||||
},
|
||||
{
|
||||
"id" : 727,
|
||||
"name" : "Bouisset",
|
||||
"firstname" : "Rose-Marie",
|
||||
"rating" : 1280,
|
||||
"rank" : -8,
|
||||
"country" : "FR",
|
||||
"club" : "75OB"
|
||||
},
|
||||
{
|
||||
"id" : 728,
|
||||
"name" : "Johnson",
|
||||
"firstname" : "Hugo",
|
||||
"rating" : 1028,
|
||||
"rank" : -11,
|
||||
"country" : "FR",
|
||||
"club" : "34Mo"
|
||||
},
|
||||
{
|
||||
"id" : 729,
|
||||
"name" : "Beltran",
|
||||
"firstname" : "Arnaud",
|
||||
"rating" : 1989,
|
||||
"rank" : -1,
|
||||
"country" : "FR",
|
||||
"club" : "66Pe"
|
||||
},
|
||||
{
|
||||
"id" : 730,
|
||||
"name" : "Gaschignard",
|
||||
"firstname" : "Jean-Paul",
|
||||
"rating" : 1925,
|
||||
"rank" : -2,
|
||||
"country" : "FR",
|
||||
"club" : "42Se"
|
||||
},
|
||||
{
|
||||
"id" : 731,
|
||||
"name" : "Thomazeau",
|
||||
"firstname" : "Gregoire",
|
||||
"rating" : 1774,
|
||||
"rank" : -3,
|
||||
"country" : "FR",
|
||||
"club" : "00St"
|
||||
},
|
||||
{
|
||||
"id" : 732,
|
||||
"name" : "Perroux",
|
||||
"firstname" : "Etienne",
|
||||
"rating" : 1978,
|
||||
"rank" : -1,
|
||||
"country" : "FR",
|
||||
"club" : "91Or"
|
||||
},
|
||||
{
|
||||
"id" : 733,
|
||||
"name" : "Pittonet",
|
||||
"firstname" : "Jonathan",
|
||||
"rating" : -900,
|
||||
"rank" : -6,
|
||||
"country" : "FR",
|
||||
"club" : "00St"
|
||||
},
|
||||
{
|
||||
"id" : 734,
|
||||
"name" : "Yung",
|
||||
"firstname" : "Oscar",
|
||||
"rating" : 1689,
|
||||
"rank" : -4,
|
||||
"country" : "FR",
|
||||
"club" : "10Tr"
|
||||
},
|
||||
{
|
||||
"id" : 735,
|
||||
"name" : "Lidureau",
|
||||
"firstname" : "Nicolas",
|
||||
"rating" : 777,
|
||||
"rank" : -13,
|
||||
"country" : "FR",
|
||||
"club" : "06Ni"
|
||||
},
|
||||
{
|
||||
"id" : 736,
|
||||
"name" : "Lidureau",
|
||||
"firstname" : "Andrea",
|
||||
"rating" : -298,
|
||||
"rank" : -24,
|
||||
"country" : "FR",
|
||||
"club" : "06Ni"
|
||||
},
|
||||
{
|
||||
"id" : 737,
|
||||
"name" : "Clergue",
|
||||
"firstname" : "Olivier",
|
||||
"rating" : 2158,
|
||||
"rank" : 1,
|
||||
"country" : "FR",
|
||||
"club" : "13Ma"
|
||||
},
|
||||
{
|
||||
"id" : 738,
|
||||
"name" : "Mir",
|
||||
"firstname" : "Abel",
|
||||
"rating" : 1174,
|
||||
"rank" : -9,
|
||||
"country" : "FR",
|
||||
"club" : "75Ju"
|
||||
},
|
||||
{
|
||||
"id" : 739,
|
||||
"name" : "Grange-Praderas",
|
||||
"firstname" : "Jean-Romain",
|
||||
"rating" : 1250,
|
||||
"rank" : -8,
|
||||
"country" : "FR",
|
||||
"club" : "64Pa"
|
||||
},
|
||||
{
|
||||
"id" : 740,
|
||||
"name" : "Doisneau",
|
||||
"firstname" : "Brigitte",
|
||||
"rating" : 883,
|
||||
"rank" : -12,
|
||||
"country" : "FR",
|
||||
"club" : "44Na"
|
||||
},
|
||||
{
|
||||
"id" : 741,
|
||||
"name" : "Mangin",
|
||||
"firstname" : "Elian",
|
||||
"rating" : 2118,
|
||||
"rank" : 0,
|
||||
"country" : "FR",
|
||||
"club" : "38Gr"
|
||||
},
|
||||
{
|
||||
"id" : 742,
|
||||
"name" : "Lips",
|
||||
"firstname" : "Fabien",
|
||||
"rating" : 2408,
|
||||
"rank" : 3,
|
||||
"country" : "FR",
|
||||
"club" : "75Al"
|
||||
},
|
||||
{
|
||||
"id" : 743,
|
||||
"name" : "Battin",
|
||||
"firstname" : "Léo",
|
||||
"rating" : 2097,
|
||||
"rank" : 0,
|
||||
"country" : "FR",
|
||||
"club" : "42Se"
|
||||
},
|
||||
{
|
||||
"id" : 744,
|
||||
"name" : "Garlatti",
|
||||
"firstname" : "Gérald",
|
||||
"rating" : 1745,
|
||||
"rank" : -4,
|
||||
"country" : "FR",
|
||||
"club" : "73Ch"
|
||||
},
|
||||
{
|
||||
"id" : 745,
|
||||
"name" : "Teissier",
|
||||
"firstname" : "Antonin",
|
||||
"rating" : 605,
|
||||
"rank" : -15,
|
||||
"country" : "FR",
|
||||
"club" : "84Av"
|
||||
},
|
||||
{
|
||||
"id" : 746,
|
||||
"name" : "Lemoine",
|
||||
"firstname" : "Theo",
|
||||
"rating" : 2172,
|
||||
"rank" : 1,
|
||||
"country" : "FR",
|
||||
"club" : "49An"
|
||||
},
|
||||
{
|
||||
"id" : 747,
|
||||
"name" : "Robert",
|
||||
"firstname" : "Raphaël",
|
||||
"rating" : 1008,
|
||||
"rank" : -11,
|
||||
"country" : "FR",
|
||||
"club" : "59Li"
|
||||
},
|
||||
{
|
||||
"id" : 748,
|
||||
"name" : "Martin-Vallas",
|
||||
"firstname" : "Bruno",
|
||||
"rating" : 1050,
|
||||
"rank" : -10,
|
||||
"country" : "FR",
|
||||
"club" : "30LV"
|
||||
},
|
||||
{
|
||||
"id" : 749,
|
||||
"name" : "Chauvin",
|
||||
"firstname" : "Christian",
|
||||
"rating" : 1650,
|
||||
"rank" : -4,
|
||||
"country" : "FR",
|
||||
"club" : "13Ma"
|
||||
},
|
||||
{
|
||||
"id" : 750,
|
||||
"name" : "Papazoglou",
|
||||
"firstname" : "Alain",
|
||||
"rating" : 1704,
|
||||
"rank" : -4,
|
||||
"country" : "FR",
|
||||
"club" : "35Re"
|
||||
},
|
||||
{
|
||||
"id" : 751,
|
||||
"name" : "Col",
|
||||
"firstname" : "Sylvain",
|
||||
"rating" : 1796,
|
||||
"rank" : -3,
|
||||
"country" : "FR",
|
||||
"club" : "34Mo"
|
||||
},
|
||||
{
|
||||
"id" : 752,
|
||||
"name" : "Papazoglou",
|
||||
"firstname" : "Jean-Yves",
|
||||
"rating" : 1356,
|
||||
"rank" : -7,
|
||||
"country" : "FR",
|
||||
"club" : "31Ba"
|
||||
},
|
||||
{
|
||||
"id" : 753,
|
||||
"name" : "Gauthier",
|
||||
"firstname" : "Henri",
|
||||
"rating" : 2094,
|
||||
"rank" : 0,
|
||||
"country" : "FR",
|
||||
"club" : "21Di"
|
||||
},
|
||||
{
|
||||
"id" : 754,
|
||||
"name" : "Radal",
|
||||
"firstname" : "Lucien",
|
||||
"rating" : 1878,
|
||||
"rank" : -2,
|
||||
"country" : "FR",
|
||||
"club" : "38Gr"
|
||||
},
|
||||
{
|
||||
"id" : 755,
|
||||
"name" : "Paret",
|
||||
"firstname" : "Léonard",
|
||||
"rating" : 910,
|
||||
"rank" : -12,
|
||||
"country" : "FR",
|
||||
"club" : "38GJ"
|
||||
},
|
||||
{
|
||||
"id" : 756,
|
||||
"name" : "Saint-Paul",
|
||||
"firstname" : "Florent",
|
||||
"rating" : 1410,
|
||||
"rank" : -7,
|
||||
"country" : "FR",
|
||||
"club" : "69Ly"
|
||||
},
|
||||
{
|
||||
"id" : 757,
|
||||
"name" : "Goffard",
|
||||
"firstname" : "Mikaël",
|
||||
"rating" : 1490,
|
||||
"rank" : -6,
|
||||
"country" : "FR",
|
||||
"club" : "69Ly"
|
||||
},
|
||||
{
|
||||
"id" : 758,
|
||||
"name" : "Bisaccia",
|
||||
"firstname" : "Thomas",
|
||||
"rating" : 918,
|
||||
"rank" : -12,
|
||||
"country" : "FR",
|
||||
"club" : "42Se"
|
||||
},
|
||||
{
|
||||
"id" : 759,
|
||||
"name" : "Willenbucher",
|
||||
"firstname" : "Antoine",
|
||||
"rating" : 950,
|
||||
"rank" : -11,
|
||||
"country" : "FR",
|
||||
"club" : "13Ma"
|
||||
},
|
||||
{
|
||||
"id" : 760,
|
||||
"name" : "Bernard",
|
||||
"firstname" : "Gaultier",
|
||||
"rating" : 1710,
|
||||
"rank" : -4,
|
||||
"country" : "FR",
|
||||
"club" : "92An"
|
||||
},
|
||||
{
|
||||
"id" : 761,
|
||||
"name" : "Fiorina",
|
||||
"firstname" : "Baptiste",
|
||||
"rating" : 1474,
|
||||
"rank" : -6,
|
||||
"country" : "FR",
|
||||
"club" : "38Gr"
|
||||
},
|
||||
{
|
||||
"id" : 762,
|
||||
"name" : "Hautefeuille",
|
||||
"firstname" : "Octave",
|
||||
"rating" : 868,
|
||||
"rank" : -12,
|
||||
"country" : "FR",
|
||||
"club" : "31To"
|
||||
},
|
||||
{
|
||||
"id" : 763,
|
||||
"name" : "Bakri",
|
||||
"firstname" : "Adam",
|
||||
"rating" : -738,
|
||||
"rank" : -28,
|
||||
"country" : "FR",
|
||||
"club" : "77ML"
|
||||
},
|
||||
{
|
||||
"id" : 764,
|
||||
"name" : "Girousse",
|
||||
"firstname" : "Siméon",
|
||||
"rating" : 2273,
|
||||
"rank" : 2,
|
||||
"country" : "FR",
|
||||
"club" : "64Pa"
|
||||
},
|
||||
{
|
||||
"id" : 765,
|
||||
"name" : "Kuperberg",
|
||||
"firstname" : "Denis",
|
||||
"rating" : 2250,
|
||||
"rank" : 2,
|
||||
"country" : "FR",
|
||||
"club" : "69Ly"
|
||||
},
|
||||
{
|
||||
"id" : 766,
|
||||
"name" : "Lebas_de_Saint_Martin",
|
||||
"firstname" : "Sophie",
|
||||
"rating" : 1302,
|
||||
"rank" : -8,
|
||||
"country" : "FR",
|
||||
"club" : "75Al"
|
||||
},
|
||||
{
|
||||
"id" : 767,
|
||||
"name" : "Derrien",
|
||||
"firstname" : "Christele",
|
||||
"rating" : 835,
|
||||
"rank" : -13,
|
||||
"country" : "FR",
|
||||
"club" : "35Re"
|
||||
},
|
||||
{
|
||||
"id" : 768,
|
||||
"name" : "Kunne",
|
||||
"firstname" : "Stéphan",
|
||||
"rating" : 2320,
|
||||
"rank" : 2,
|
||||
"country" : "FR",
|
||||
"club" : "91Or"
|
||||
},
|
||||
{
|
||||
"id" : 769,
|
||||
"name" : "Forissier",
|
||||
"firstname" : "Gilles",
|
||||
"rating" : 402,
|
||||
"rank" : -17,
|
||||
"country" : "FR",
|
||||
"club" : "69Ly"
|
||||
},
|
||||
{
|
||||
"id" : 770,
|
||||
"name" : "Ravera",
|
||||
"firstname" : "Sylvain",
|
||||
"rating" : 1761,
|
||||
"rank" : -3,
|
||||
"country" : "FR",
|
||||
"club" : "92Le"
|
||||
},
|
||||
{
|
||||
"id" : 771,
|
||||
"name" : "Grosdoy",
|
||||
"firstname" : "Siméon",
|
||||
"rating" : 1375,
|
||||
"rank" : -7,
|
||||
"country" : "FR",
|
||||
"club" : "31To"
|
||||
},
|
||||
{
|
||||
"id" : 772,
|
||||
"name" : "Valot",
|
||||
"firstname" : "Raphaël",
|
||||
"rating" : 1718,
|
||||
"rank" : -4,
|
||||
"country" : "FR",
|
||||
"club" : "25Be"
|
||||
},
|
||||
{
|
||||
"id" : 773,
|
||||
"name" : "Barcelo",
|
||||
"firstname" : "Patrice",
|
||||
"rating" : 1979,
|
||||
"rank" : -1,
|
||||
"country" : "FR",
|
||||
"club" : "34Mo"
|
||||
},
|
||||
{
|
||||
"id" : 774,
|
||||
"name" : "Levointurier",
|
||||
"firstname" : "Christophe",
|
||||
"rating" : 1365,
|
||||
"rank" : -7,
|
||||
"country" : "FR",
|
||||
"club" : "00St"
|
||||
},
|
||||
{
|
||||
"id" : 775,
|
||||
"name" : "Bocquet",
|
||||
"firstname" : "Jean-François",
|
||||
"rating" : 1820,
|
||||
"rank" : -3,
|
||||
"country" : "FR",
|
||||
"club" : "92An"
|
||||
},
|
||||
{
|
||||
"id" : 776,
|
||||
"name" : "Gzhal",
|
||||
"firstname" : "Soufiane",
|
||||
"rating" : 750,
|
||||
"rank" : -13,
|
||||
"country" : "FR",
|
||||
"club" : "63Ce"
|
||||
},
|
||||
{
|
||||
"id" : 777,
|
||||
"name" : "Teissier",
|
||||
"firstname" : "Samuel",
|
||||
"rating" : 2351,
|
||||
"rank" : 3,
|
||||
"country" : "FR",
|
||||
"club" : "84Av"
|
||||
},
|
||||
{
|
||||
"id" : 778,
|
||||
"name" : "Paris",
|
||||
"firstname" : "Cyriel",
|
||||
"rating" : 950,
|
||||
"rank" : -11,
|
||||
"country" : "FR",
|
||||
"club" : "31To"
|
||||
},
|
||||
{
|
||||
"id" : 779,
|
||||
"name" : "Streicher",
|
||||
"firstname" : "Frédéric",
|
||||
"rating" : 2050,
|
||||
"rank" : 0,
|
||||
"country" : "FR",
|
||||
"club" : "38Gr"
|
||||
},
|
||||
{
|
||||
"id" : 780,
|
||||
"name" : "Puaud",
|
||||
"firstname" : "Denis",
|
||||
"rating" : 1360,
|
||||
"rank" : -7,
|
||||
"country" : "FR",
|
||||
"club" : "31Ba"
|
||||
},
|
||||
{
|
||||
"id" : 781,
|
||||
"name" : "Loizance",
|
||||
"firstname" : "Benjamin",
|
||||
"rating" : 1603,
|
||||
"rank" : -5,
|
||||
"country" : "FR",
|
||||
"club" : "35Re"
|
||||
}
|
||||
],
|
||||
"games" : []
|
||||
}
|
174
installer/resources/installer.nsi
Normal file
174
installer/resources/installer.nsi
Normal file
@@ -0,0 +1,174 @@
|
||||
!include MUI2.nsh
|
||||
|
||||
!define APP_NAME "Pairgoth"
|
||||
!define COMP_NAME "FFG"
|
||||
!define WEB_SITE "https://pairgoth.jeudego.org"
|
||||
!define VERSION "@VERSION@"
|
||||
!define COPYRIGHT "(c) FFG 2024"
|
||||
!define DESCRIPTION "Go Pairing Software"
|
||||
!define INSTALLER_NAME "target/install-pairgoth.exe"
|
||||
!define MAIN_APP_EXE "jre\bin\java.exe"
|
||||
!define MAIN_APP_ARGS "-jar lib\pairgoth-engine.jar"
|
||||
!define MAIN_APP_ICO "pairgoth.ico"
|
||||
!define ICON "resources/pairgoth.ico"
|
||||
!define BANNER "resources/banner.bmp"
|
||||
!define LICENSE_TXT "resources/LICENSE.txt"
|
||||
|
||||
!define INSTALL_DIR "$PROGRAMFILES64\${APP_NAME}"
|
||||
!define INSTALL_TYPE "SetShellVarContext all"
|
||||
!define REG_ROOT "HKLM"
|
||||
!define REG_APP_PATH "Software\Microsoft\Windows\CurrentVersion\App Paths\${MAIN_APP_EXE}"
|
||||
!define UNINSTALL_PATH "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APP_NAME}"
|
||||
!define REG_START_MENU "Start Menu Folder"
|
||||
|
||||
var SM_Folder
|
||||
|
||||
######################################################################
|
||||
|
||||
VIProductVersion "${VERSION}"
|
||||
VIAddVersionKey "ProductName" "${APP_NAME}"
|
||||
VIAddVersionKey "CompanyName" "${COMP_NAME}"
|
||||
VIAddVersionKey "LegalCopyright" "${COPYRIGHT}"
|
||||
VIAddVersionKey "FileDescription" "${DESCRIPTION}"
|
||||
VIAddVersionKey "FileVersion" "${VERSION}"
|
||||
|
||||
######################################################################
|
||||
|
||||
SetCompressor /SOLID Lzma
|
||||
Name "${APP_NAME}"
|
||||
Caption "${APP_NAME}"
|
||||
OutFile "${INSTALLER_NAME}"
|
||||
BrandingText "${APP_NAME}"
|
||||
InstallDirRegKey "${REG_ROOT}" "${REG_APP_PATH}" ""
|
||||
InstallDir "${INSTALL_DIR}"
|
||||
|
||||
######################################################################
|
||||
|
||||
!define MUI_ICON "${ICON}"
|
||||
!define MUI_UNICON "${ICON}"
|
||||
!define MUI_WELCOMEFINISHPAGE_BITMAP "${BANNER}"
|
||||
!define MUI_UNWELCOMEFINISHPAGE_BITMAP "${BANNER}"
|
||||
|
||||
######################################################################
|
||||
|
||||
!include "MUI2.nsh"
|
||||
|
||||
!define MUI_ABORTWARNING
|
||||
!define MUI_UNABORTWARNING
|
||||
|
||||
!insertmacro MUI_PAGE_WELCOME
|
||||
|
||||
!ifdef LICENSE_TXT
|
||||
!insertmacro MUI_PAGE_LICENSE "${LICENSE_TXT}"
|
||||
!endif
|
||||
|
||||
!insertmacro MUI_PAGE_DIRECTORY
|
||||
|
||||
!ifdef REG_START_MENU
|
||||
!define MUI_STARTMENUPAGE_DEFAULTFOLDER "${APP_NAME}"
|
||||
!define MUI_STARTMENUPAGE_REGISTRY_ROOT "${REG_ROOT}"
|
||||
!define MUI_STARTMENUPAGE_REGISTRY_KEY "${UNINSTALL_PATH}"
|
||||
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "${REG_START_MENU}"
|
||||
!insertmacro MUI_PAGE_STARTMENU Application $SM_Folder
|
||||
!endif
|
||||
|
||||
!insertmacro MUI_PAGE_INSTFILES
|
||||
|
||||
!insertmacro MUI_PAGE_FINISH
|
||||
|
||||
!insertmacro MUI_UNPAGE_CONFIRM
|
||||
|
||||
!insertmacro MUI_UNPAGE_INSTFILES
|
||||
|
||||
!insertmacro MUI_UNPAGE_FINISH
|
||||
|
||||
!insertmacro MUI_LANGUAGE "English"
|
||||
|
||||
######################################################################
|
||||
|
||||
Section -MainProgram
|
||||
${INSTALL_TYPE}
|
||||
|
||||
SetOverwrite ifnewer
|
||||
SetOutPath "$INSTDIR"
|
||||
File /r "target/files/"
|
||||
|
||||
SectionEnd
|
||||
|
||||
######################################################################
|
||||
|
||||
Section -Icons_Reg
|
||||
SetOutPath "$INSTDIR"
|
||||
WriteUninstaller "$INSTDIR\uninstall.exe"
|
||||
|
||||
!ifdef REG_START_MENU
|
||||
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
|
||||
CreateDirectory "$SMPROGRAMS\$SM_Folder"
|
||||
CreateShortCut "$SMPROGRAMS\$SM_Folder\${APP_NAME}.lnk" "$INSTDIR\${MAIN_APP_EXE}" "${MAIN_APP_ARGS}" "$INSTDIR/${MAIN_APP_ICO}"
|
||||
CreateShortCut "$DESKTOP\${APP_NAME}.lnk" "$INSTDIR\${MAIN_APP_EXE}"
|
||||
CreateShortCut "$SMPROGRAMS\$SM_Folder\Uninstall ${APP_NAME}.lnk" "$INSTDIR\uninstall.exe"
|
||||
|
||||
!ifdef WEB_SITE
|
||||
WriteIniStr "$INSTDIR\${APP_NAME} website.url" "InternetShortcut" "URL" "${WEB_SITE}"
|
||||
CreateShortCut "$SMPROGRAMS\$SM_Folder\${APP_NAME} Website.lnk" "$INSTDIR\${APP_NAME} website.url"
|
||||
!endif
|
||||
!insertmacro MUI_STARTMENU_WRITE_END
|
||||
!endif
|
||||
|
||||
!ifndef REG_START_MENU
|
||||
CreateDirectory "$SMPROGRAMS\${APP_NAME}"
|
||||
CreateShortCut "$SMPROGRAMS\${APP_NAME}\${APP_NAME}.lnk" "$INSTDIR\${MAIN_APP_EXE}"
|
||||
CreateShortCut "$DESKTOP\${APP_NAME}.lnk" "$INSTDIR\${MAIN_APP_EXE}"
|
||||
CreateShortCut "$SMPROGRAMS\${APP_NAME}\Uninstall ${APP_NAME}.lnk" "$INSTDIR\uninstall.exe"
|
||||
|
||||
!ifdef WEB_SITE
|
||||
WriteIniStr "$INSTDIR\${APP_NAME} website.url" "InternetShortcut" "URL" "${WEB_SITE}"
|
||||
CreateShortCut "$SMPROGRAMS\${APP_NAME}\${APP_NAME} Website.lnk" "$INSTDIR\${APP_NAME} website.url"
|
||||
!endif
|
||||
!endif
|
||||
|
||||
WriteRegStr ${REG_ROOT} "${REG_APP_PATH}" "" "$INSTDIR\${MAIN_APP_EXE}"
|
||||
WriteRegStr ${REG_ROOT} "${UNINSTALL_PATH}" "DisplayName" "${APP_NAME}"
|
||||
WriteRegStr ${REG_ROOT} "${UNINSTALL_PATH}" "UninstallString" "$INSTDIR\uninstall.exe"
|
||||
WriteRegStr ${REG_ROOT} "${UNINSTALL_PATH}" "DisplayIcon" "$INSTDIR\${MAIN_APP_EXE}"
|
||||
WriteRegStr ${REG_ROOT} "${UNINSTALL_PATH}" "DisplayVersion" "${VERSION}"
|
||||
WriteRegStr ${REG_ROOT} "${UNINSTALL_PATH}" "Publisher" "${COMP_NAME}"
|
||||
|
||||
!ifdef WEB_SITE
|
||||
WriteRegStr ${REG_ROOT} "${UNINSTALL_PATH}" "URLInfoAbout" "${WEB_SITE}"
|
||||
!endif
|
||||
SectionEnd
|
||||
|
||||
######################################################################
|
||||
|
||||
Section Uninstall
|
||||
${INSTALL_TYPE}
|
||||
|
||||
RmDir /r "$INSTDIR"
|
||||
|
||||
!ifdef REG_START_MENU
|
||||
!insertmacro MUI_STARTMENU_GETFOLDER "Application" $SM_Folder
|
||||
Delete "$SMPROGRAMS\$SM_Folder\${APP_NAME}.lnk"
|
||||
Delete "$SMPROGRAMS\$SM_Folder\Uninstall ${APP_NAME}.lnk"
|
||||
!ifdef WEB_SITE
|
||||
Delete "$SMPROGRAMS\$SM_Folder\${APP_NAME} Website.lnk"
|
||||
!endif
|
||||
Delete "$DESKTOP\${APP_NAME}.lnk"
|
||||
|
||||
RmDir "$SMPROGRAMS\$SM_Folder"
|
||||
!endif
|
||||
|
||||
!ifndef REG_START_MENU
|
||||
Delete "$SMPROGRAMS\${APP_NAME}\${APP_NAME}.lnk"
|
||||
Delete "$SMPROGRAMS\${APP_NAME}\Uninstall ${APP_NAME}.lnk"
|
||||
!ifdef WEB_SITE
|
||||
Delete "$SMPROGRAMS\${APP_NAME}\${APP_NAME} Website.lnk"
|
||||
!endif
|
||||
Delete "$DESKTOP\${APP_NAME}.lnk"
|
||||
|
||||
RmDir "$SMPROGRAMS\${APP_NAME}"
|
||||
!endif
|
||||
|
||||
DeleteRegKey ${REG_ROOT} "${REG_APP_PATH}"
|
||||
DeleteRegKey ${REG_ROOT} "${UNINSTALL_PATH}"
|
||||
SectionEnd
|
BIN
installer/resources/jre.zip
Normal file
BIN
installer/resources/jre.zip
Normal file
Binary file not shown.
BIN
installer/resources/pairgoth.ico
Normal file
BIN
installer/resources/pairgoth.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 142 KiB |
Reference in New Issue
Block a user