Skip to content

Commit

Permalink
Added Windows installer files
Browse files Browse the repository at this point in the history
  • Loading branch information
bbogush committed Apr 28, 2019
1 parent 7461f24 commit d2a854e
Show file tree
Hide file tree
Showing 5 changed files with 742 additions and 0 deletions.
9 changes: 9 additions & 0 deletions windows/config/config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<Installer>
<Name>NANDO</Name>
<Version>2.2.0</Version>
<Title>NANDO Installer</Title>
<Publisher>NANDO</Publisher>
<StartMenuDir>NANDO</StartMenuDir>
<TargetDir>@ApplicationsDir@/NANDO</TargetDir>
</Installer>
43 changes: 43 additions & 0 deletions windows/packages/com.nando.nando/meta/installscript.qs
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/****************************************************************************
**
** Copyright (C) 2017 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the FOO module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:GPL-EXCEPT$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see https://www.qt.io/terms-conditions. For further
** information use the contact form at https://www.qt.io/contact-us.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU
** General Public License version 3 as published by the Free Software
** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
** included in the packaging of this file. Please review the following
** information to ensure the GNU General Public License requirements will
** be met: https://www.gnu.org/licenses/gpl-3.0.html.
**
** $QT_END_LICENSE$
**
****************************************************************************/

function Component()
{
// default constructor
}

Component.prototype.createOperations = function()
{
component.createOperations();

if (systemInfo.productType === "windows") {
component.addOperation("CreateShortcut", "@TargetDir@/nando.exe", "@StartMenuDir@/nando.lnk",
"workingDirectory=@TargetDir@", "iconPath=%SystemRoot%/system32/SHELL32.dll",
"iconId=2", "description=NANDO");
}
}
Loading

0 comments on commit d2a854e

Please sign in to comment.