Improved handling for end-user
This commit is contained in:
parent
c1f9923e8b
commit
841a492351
1 changed files with 5 additions and 1 deletions
|
|
@ -20,17 +20,21 @@ def main() -> None:
|
||||||
os.mkdir("./out")
|
os.mkdir("./out")
|
||||||
|
|
||||||
if not os.path.exists("./base_layers"):
|
if not os.path.exists("./base_layers"):
|
||||||
|
os.mkdir("./base_layers")
|
||||||
print("Base Layers folder not found!")
|
print("Base Layers folder not found!")
|
||||||
print(
|
print(
|
||||||
"Please place your Base Layer Textures in a new folder adjacent to this file named `base_layers`"
|
"Please place your Base Layer Textures in a new folder adjacent to this file named `base_layers`"
|
||||||
)
|
)
|
||||||
|
input("Press Enter to Exit")
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
if not os.path.exists("./overlay_layers"):
|
if not os.path.exists("./overlay_layers"):
|
||||||
|
os.mkdir("./overlay_layers")
|
||||||
print("Overlay Layers folder not found!")
|
print("Overlay Layers folder not found!")
|
||||||
print(
|
print(
|
||||||
"Please place your Overlay Textures in a new folder adjacent to this file named `overlay_layers`"
|
"Please place your Overlay Textures in a new folder adjacent to this file named `overlay_layers`"
|
||||||
)
|
)
|
||||||
|
input("Press Enter to Exit")
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
for base_fn in os.listdir("./base_layers"):
|
for base_fn in os.listdir("./base_layers"):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue