summaryrefslogtreecommitdiffstats
path: root/gamechestcli/gamechest/runners/install.py
diff options
context:
space:
mode:
Diffstat (limited to 'gamechestcli/gamechest/runners/install.py')
-rw-r--r--gamechestcli/gamechest/runners/install.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gamechestcli/gamechest/runners/install.py b/gamechestcli/gamechest/runners/install.py
index 36b0153..7b2ff7c 100644
--- a/gamechestcli/gamechest/runners/install.py
+++ b/gamechestcli/gamechest/runners/install.py
@@ -1,5 +1,6 @@
import functools
import os
+from pathlib import Path
from .download import Download
from .extract import Extract
@@ -10,8 +11,7 @@ from .runnermulti import MultiSequencialRunnerBase
class Install(MultiSequencialRunnerBase):
def __init__(self, source, dest):
- filename = os.path.split(source)[1]
- tmpdest = os.path.join(dest, f'{filename}.rsynctmp')
+ tmpdest = Path(dest) / 'archive.rsynctmp'
runners = [
functools.partial(Download, source, tmpdest),
functools.partial(Extract, tmpdest, dest),