Skip to content

Commit 0aaca81

Browse files
committed
Update License
1 parent 9039865 commit 0aaca81

File tree

2 files changed

+44
-1
lines changed

2 files changed

+44
-1
lines changed

zff

0 Bytes
Binary file not shown.

zff_main_en.cpp

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,43 @@
44
2020
55
66
*/
7+
8+
9+
10+
11+
/*
12+
* LanGong OhZff Zff game is undered MIT-License
13+
*
14+
* MIT License
15+
*
16+
* Copyright (c) 2020 LanGongDEV
17+
*
18+
* Permission is hereby granted, free of charge, to any person obtaining a copy
19+
* of this software and associated documentation files (the "Software"), to deal
20+
* in the Software without restriction, including without limitation the rights
21+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
22+
* copies of the Software, and to permit persons to whom the Software is
23+
* furnished to do so, subject to the following conditions:
24+
*
25+
* The above copyright notice and this permission notice shall be included in all
26+
* copies or substantial portions of the Software.
27+
*
28+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
29+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
30+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
31+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
32+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
33+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
34+
* SOFTWARE.
35+
*
36+
*/
37+
38+
39+
40+
41+
42+
43+
744
#include<iostream>
845
#include<cstdio>
946
#include<cstdlib>
@@ -467,7 +504,7 @@ int main(int argc, char* argv[]){
467504
else if (strcmp(argv[1], "init") == 0)
468505
{
469506
if (display_log) printf (" >> Waiting 'init.sh'\n");
470-
system ("bash /usr/share/ohzff-zff/init.sh");
507+
system ("bash /usr/share/ohzff-zff/init.sh || bash ./init.sh");
471508
return 0;
472509
}
473510
else if (strcmp(argv[1], "update") == 0)
@@ -482,6 +519,12 @@ int main(int argc, char* argv[]){
482519
if (display_log) printf (" >> Debug mod and exit with %d\n", 6);
483520
return 6;
484521
}
522+
else if (strcmp(argv[1], "license") == 0)
523+
{
524+
printf (" LanGong OhZff Zff game is undered MIT License.\n\n\n");
525+
printf ("MIT License\n\nCopyright (c) 2020 LanGongDEV\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n");
526+
return 0;
527+
}
485528
else
486529
{
487530
printf ("%s\n", ebox[4]);

0 commit comments

Comments
 (0)