Skip to content

Commit

Permalink
Added MIT license
Browse files Browse the repository at this point in the history
  • Loading branch information
gildor2 committed Jan 7, 2022
1 parent 60accbf commit 2f14020
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 4 deletions.
21 changes: 21 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright 2022, Konstantin Nosov

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
1 change: 1 addition & 0 deletions UmodelTool/AboutDialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class UIAboutDialog : public UIBaseDialog
+ NewControl(UILabel, GBuildString)
+ NewControl(UISpacer)
+ NewControl(UILabel, GCopyrightString)
+ NewControl(UILabel, GLicenseString)
]
]
// bottom part
Expand Down
4 changes: 2 additions & 2 deletions UmodelTool/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -471,8 +471,8 @@ static void PrintUsage()
static void PrintVersionInfo()
{
appPrintf(
"UE Viewer (UModel)\n" "%s\n" "%s\n" "%s\n",
GBuildString, GCopyrightString, GUmodelHomepage
"UE Viewer (UModel)\n" "%s\n" "%s\n" "%s\n%s\n",
GBuildString, GCopyrightString, GLicenseString, GUmodelHomepage
);
}

Expand Down
1 change: 1 addition & 0 deletions UmodelTool/MiscStrings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ const char* GUmodelHomepage = "https://www.gildor.org/en/projects/umodel";

const char* GBuildString = "Compiled " __DATE__ " (build " STR(GIT_REVISION) ")";
const char* GCopyrightString = "Copyright 2007-2022 Konstantin Nosov (Gildor). All rights reserved.";
const char* GLicenseString = "Licensed under the MIT License, see LICENSE.txt for more information.";
1 change: 1 addition & 0 deletions UmodelTool/MiscStrings.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ extern const char* GUmodelHomepage;

extern const char* GBuildString;
extern const char* GCopyrightString;
extern const char* GLicenseString;

#endif // __MISC_STRINGS_H__
2 changes: 1 addition & 1 deletion package_lnx.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
archive="umodel_linux.tar.gz"
filelist="umodel readme.txt"
filelist="umodel readme.txt LICENSE.txt"

for i in $filelist; do
if [ ! -f $i ]; then
Expand Down
2 changes: 1 addition & 1 deletion package_win32.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
archive="umodel_win32.zip"
filelist="umodel.exe umodel_64.exe readme.txt SDL2.dll SDL2_64.dll"
filelist="umodel.exe umodel_64.exe readme.txt SDL2.dll SDL2_64.dll LICENSE.txt"

# Build 32 and 64 bit executables
./build.sh || exit 1
Expand Down
Binary file modified umodel
Binary file not shown.
Binary file modified umodel.exe
Binary file not shown.

0 comments on commit 2f14020

Please sign in to comment.