mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-05 10:32:28 +01:00
eabe625cd9
Update to Qt 6.2.2
15 lines
578 B
Plaintext
15 lines
578 B
Plaintext
function Component()
|
|
{
|
|
// Install to @RootDir@ instead of @HomeDir@ on Windows
|
|
if (installer.value("os") === "win") {
|
|
var homeDir = installer.value("HomeDir");
|
|
var targetDir = installer.value("TargetDir").replace(homeDir, "@RootDir@");
|
|
installer.setValue("TargetDir", targetDir);
|
|
}
|
|
|
|
// do not show component selection page
|
|
installer.setDefaultPageVisible(QInstaller.ComponentSelection, false);
|
|
// no startmenu entry so no need to ask where to create it
|
|
installer.setDefaultPageVisible(QInstaller.StartMenuSelection, false);
|
|
}
|