From 4c27545e139e80b1a67456db5eb9efa8444e4192 Mon Sep 17 00:00:00 2001 From: poikilos <7557867+poikilos@users.noreply.github.com> Date: Fri, 19 May 2017 18:25:50 -0400 Subject: [PATCH] WIP deploy script --- winclient/deploy.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 winclient/deploy.py diff --git a/winclient/deploy.py b/winclient/deploy.py new file mode 100644 index 0000000..8b8c520 --- /dev/null +++ b/winclient/deploy.py @@ -0,0 +1,10 @@ +#!/usr/bin/env python +import os +deploy_path = "C:\\Games\\ENLIVEN-deploy" +if not os.path.isdir(deploy_path): + os.makedirs(deploy_path) +games_path = os.path.join(deploy_path, "games") +game_path = os.path.join(games_path, "ENLIVEN") +mods_path = os.path.join(game_path, "mods") +if not os.path.isdir(deploy_path): + os.makedirs(mods_path)