-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Artanidos
committed
Jan 20, 2023
1 parent
34fb66c
commit 2fed627
Showing
9 changed files
with
977 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Installer> | ||
<Name>FlatSiteBuilder</Name> | ||
<Version>2.3.0</Version> | ||
<Title>FlatSiteBuilder</Title> | ||
<Publisher>CrowdWare</Publisher> | ||
<InstallerWindowIcon>icon/icon_128.png</InstallerWindowIcon> | ||
<InstallerApplicationIcon>icon/icon_128</InstallerApplicationIcon> | ||
<StartMenuDir></StartMenuDir> | ||
<TargetDir>@HomeDir@/FlatSiteBuilder</TargetDir> | ||
<Translations> | ||
<Translation>en.qm</Translation> | ||
</Translations> | ||
</Installer> | ||
|
||
<!-- | ||
https://doc.qt.io/qtinstallerframework/ifw-globalconfig.html | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
packages/at.crowdware.FlatSiteBuilder/meta/installscript.qs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
function Component() | ||
{ | ||
// default constructor | ||
} | ||
|
||
Component.prototype.createOperations = function() | ||
{ | ||
// call default implementation to actually install README.txt! | ||
component.createOperations(); | ||
|
||
if (systemInfo.productType === "windows") { | ||
component.addOperation("CreateShortcut", "@TargetDir@/README.txt", "@StartMenuDir@/README.lnk", | ||
"workingDirectory=@TargetDir@", "iconPath=%SystemRoot%/system32/SHELL32.dll", | ||
"iconId=2", "description=Open README file"); | ||
} | ||
} | ||
|
||
Component.prototype.createOperations = function() | ||
{ | ||
component.createOperations(); | ||
if (systemInfo.productType === "windows") { | ||
component.addOperation("CreateShortcut", | ||
"@TargetDir@/FlatSiteBuilder.exe", | ||
"@StartMenuDir@/FlatSiteBuilder.lnk", | ||
"iconPath=@TargetDir@/icon/icon_128.ico", "iconId=0", | ||
"description=Start FlatSiteBuilder"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Package> | ||
<DisplayName>FlatSiteBuilder</DisplayName> | ||
<Description>Install FlatSiteBuilder 2.3.0 on your computer.</Description> | ||
<Version>2.3.0</Version> | ||
<ReleaseDate>2023-01-20</ReleaseDate> | ||
<Default>true</Default> | ||
<Script>installscript.qs</Script> | ||
</Package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Oops, something went wrong.