Merge pull request #86 from isanae/master

Added trosski's morrowind stylesheet
This commit is contained in:
isanae
2020-12-20 23:13:36 -05:00
committed by GitHub
3 changed files with 9 additions and 7 deletions
+1
View File
@@ -127,6 +127,7 @@ config = {
'paper-automata_version': '2.2',
'paper-mono_version': '2.1',
'1809-dark-mode_version': '2.0',
'ModOrganizer_Style_Morrowind_version': '1.0',
#the usvfs version below will only be used if
'usvfs_version': 'v0.4.8',
+1 -1
View File
@@ -130,7 +130,7 @@ for author, git_path, path, branch, dependencies, Build in [
"modorganizer-lootcli",
"usvfs", "githubpp",
"ncc", "openssl",
"paper-light-and-dark", "paper-automata", "paper-mono", "1809-dark-mode"], True),
"paper-light-and-dark", "paper-automata", "paper-mono", "1809-dark-mode", "ModOrganizer_Style_Morrowind"], True),
]:
cmake_param = cmake_parameters() + ["-DCMAKE_INSTALL_PREFIX:PATH={}".format(config["paths"]["install"])]
# build_step = cmake.CMake().arguments(cmake_param).install()
+7 -6
View File
@@ -47,8 +47,8 @@ def copy_stylesheets(context, dir):
copytree_fixed(src, dst)
return True
def create_stylesheet_project(author, name, filename=None, extension="7z"):
version = "v" + config[name + "_version"]
def create_stylesheet_project(author, name, filename=None, version_prefix="", extension="7z"):
version = version_prefix + config[name + "_version"]
if filename is None:
filename = config[name + "_version"]
dir = name + "-" + version
@@ -57,7 +57,8 @@ def create_stylesheet_project(author, name, filename=None, extension="7z"):
.depend(build.Execute(lambda context: copy_stylesheets(context, dir))
.depend(github.Release(author, name, version, filename, extension)))
create_stylesheet_project("6788-00", "paper-light-and-dark")
create_stylesheet_project("6788-00", "paper-automata", "Paper-Automata")
create_stylesheet_project("6788-00", "paper-mono", "Paper-Mono")
create_stylesheet_project("6788-00", "1809-dark-mode")
create_stylesheet_project("6788-00", "paper-light-and-dark", version_prefix="v")
create_stylesheet_project("6788-00", "paper-automata", "Paper-Automata", version_prefix="v")
create_stylesheet_project("6788-00", "paper-mono", "Paper-Mono", version_prefix="v")
create_stylesheet_project("6788-00", "1809-dark-mode", version_prefix="v")
create_stylesheet_project("Trosski", "ModOrganizer_Style_Morrowind", "Transparent-Style-Morrowind")