Set executable flag on applications while deploying

Under Windows there is no executable flag in the filesystem.
So take the information that we got, which file
is an executable and set the executable flag if needed.

Change-Id: I0a7026911d1f7791434c39cc0917d6e49cfa1667
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
This commit is contained in:
Andreas Holzammer
2012-10-08 15:46:38 +02:00
committed by Christian Kandeler
parent 5554e3616e
commit 47ff91a584
8 changed files with 74 additions and 17 deletions

View File

@@ -48,9 +48,10 @@ public:
m_files << file;
}
void addFile(const QString &localFilePath, const QString &remoteDirectory)
void addFile(const QString &localFilePath, const QString &remoteDirectory,
DeployableFile::Type type = DeployableFile::TypeNormal)
{
addFile(DeployableFile(localFilePath, remoteDirectory));
addFile(DeployableFile(localFilePath, remoteDirectory, type));
}
int fileCount() const { return m_files.count(); }