Skip to content

Commit 2f14020

Browse files
committedJan 7, 2022
Added MIT license
1 parent 60accbf commit 2f14020

9 files changed

+28
-4
lines changed
 

‎LICENSE.txt

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright 2022, Konstantin Nosov
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

‎UmodelTool/AboutDialog.h

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ class UIAboutDialog : public UIBaseDialog
3939
+ NewControl(UILabel, GBuildString)
4040
+ NewControl(UISpacer)
4141
+ NewControl(UILabel, GCopyrightString)
42+
+ NewControl(UILabel, GLicenseString)
4243
]
4344
]
4445
// bottom part

‎UmodelTool/Main.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -471,8 +471,8 @@ static void PrintUsage()
471471
static void PrintVersionInfo()
472472
{
473473
appPrintf(
474-
"UE Viewer (UModel)\n" "%s\n" "%s\n" "%s\n",
475-
GBuildString, GCopyrightString, GUmodelHomepage
474+
"UE Viewer (UModel)\n" "%s\n" "%s\n" "%s\n%s\n",
475+
GBuildString, GCopyrightString, GLicenseString, GUmodelHomepage
476476
);
477477
}
478478

‎UmodelTool/MiscStrings.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ const char* GUmodelHomepage = "https://www.gildor.org/en/projects/umodel";
77

88
const char* GBuildString = "Compiled " __DATE__ " (build " STR(GIT_REVISION) ")";
99
const char* GCopyrightString = "Copyright 2007-2022 Konstantin Nosov (Gildor). All rights reserved.";
10+
const char* GLicenseString = "Licensed under the MIT License, see LICENSE.txt for more information.";

‎UmodelTool/MiscStrings.h

+1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ extern const char* GUmodelHomepage;
55

66
extern const char* GBuildString;
77
extern const char* GCopyrightString;
8+
extern const char* GLicenseString;
89

910
#endif // __MISC_STRINGS_H__

‎package_lnx.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
archive="umodel_linux.tar.gz"
3-
filelist="umodel readme.txt"
3+
filelist="umodel readme.txt LICENSE.txt"
44

55
for i in $filelist; do
66
if [ ! -f $i ]; then

‎package_win32.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
archive="umodel_win32.zip"
3-
filelist="umodel.exe umodel_64.exe readme.txt SDL2.dll SDL2_64.dll"
3+
filelist="umodel.exe umodel_64.exe readme.txt SDL2.dll SDL2_64.dll LICENSE.txt"
44

55
# Build 32 and 64 bit executables
66
./build.sh || exit 1

‎umodel

0 Bytes
Binary file not shown.

‎umodel.exe

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)