Skip to content

Commit 96a404e

Browse files
committed
Installer: Fix icon for taskbar
1 parent 01a5542 commit 96a404e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

installer/packages/qreal-base/ru.qreal.root.associations/meta/installscript.qs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Component.prototype.createOperations = function()
99
if (installer.value("os") === "win") {
1010
component.addOperation("RegisterFileType",
1111
"qrs",
12-
"C:\\Windows\\System32\\wscript.exe //nologo //b // \"@TargetDir@\\" +
12+
"C:\\Windows\\System32\\wscript.exe //nologo //e:vbscript //b // \"@TargetDir@\\" +
1313
installer.executableName + installer.execExtension + "\" \"%1\"",
1414
"@ProductName@ Project",
1515
"application/octet-stream",

installer/packages/qreal-base/ru.qreal.root.desktop_shortcut/meta/installscript.qs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ Component.prototype.createOperations = function()
66
{
77
component.createOperations();
88
if (installer.value("os") === "win") {
9-
component.addOperation("CreateShortcut", "@TargetDir@\\" + installer.executableName + installer.execExtension
9+
component.addOperation("CreateShortcut", "C:\\Windows\\System32\\wscript.exe //nologo //e:vbscript //b // \"@TargetDir@\\" +
10+
installer.executableName + installer.execExtension +"\""
1011
, "@DesktopDir@\\@ProductName@ @Version@" + installer.linkExtension, "iconPath=@TargetDir@\\trik-studio.ico");
1112
}
1213
}

0 commit comments

Comments
 (0)