update build_iso.py

This commit is contained in:
manuel 2024-03-19 11:14:02 -01:00
parent 2425406adc
commit 68bff21f42
1 changed files with 3 additions and 9 deletions

View File

@ -253,12 +253,6 @@ class Decsions:
" b-deb64",
type=str
)
self.argument_parser.add_argument("b",
help="identify the ISO to"
"build for example"
" b-loadxfdeb",
type=str
)
self.arguments = self.argument_parser.parse_args()
# Then determine what desktop build to look for
desktop_build_function = getattr(self, f'd{self.arguments.e[2:]}', None)
@ -343,15 +337,15 @@ class Decsions:
def dloadedxfce(self):
""" Arguments for the loaded xfce """
build_type_mapping = {
'b-loadxfdeb': ("deb", "_64"),
'b-loadxfdev': ("dev", "_64"),
'b-deb64': ("deb", "_64"),
'b-dev64': ("dev", "_64"),
}
build_argument = self.arguments.b
if build_argument in build_type_mapping:
pass
readybuild()
BuildLoadedxfce(*build_type_mapping[build_argument])
Buildloadedxfce(*build_type_mapping[build_argument])
else:
logger.critical("You have not specified a build to process!")