From 88ee06215698700209a824135f8c8d33637dfce0 Mon Sep 17 00:00:00 2001 From: Alexis Lopez Zubieta Date: Tue, 23 Apr 2019 15:54:24 -0500 Subject: [PATCH] Move store id to the end of the file name --- src/cli/commands/InstallCommand.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli/commands/InstallCommand.cpp b/src/cli/commands/InstallCommand.cpp index 617af7d..462cebc 100644 --- a/src/cli/commands/InstallCommand.cpp +++ b/src/cli/commands/InstallCommand.cpp @@ -44,8 +44,8 @@ void InstallCommand::createApplicationsDir() { } QString InstallCommand::buildTargetPath(Attica::Content content) { - QString fileName = content.id() + '-' + content.name().replace(" ", "_") + '-' + content.version() + '-' + - content.updated().toString("yyyyMMdd-HH:mm"); + QString fileName = content.name().replace(" ", "_") + '-' + content.version() + '-' + + content.updated().toString("yyyyMMdd-HH:mm") + "__" + content.id(); return QDir::homePath() + "/Applications/" + fileName.toLower() + ".AppImage"; } -- 2.18.1