Fix script compatibility.
This commit is contained in:
parent
8e49d56d3b
commit
f6e44564ff
|
@ -2,12 +2,11 @@ import qbs.FileInfo
|
|||
import qbs.Utilities
|
||||
import qbs.TemporaryDir
|
||||
|
||||
Project {
|
||||
InnoSetup {
|
||||
InnoSetup {
|
||||
Depends { name: "buildconfig" }
|
||||
|
||||
property bool _test: {
|
||||
var present = qbs.targetOS.includes("windows") && innosetup.present;
|
||||
var present = qbs.targetOS.contains("windows") && innosetup.present;
|
||||
console.info("has innosetup: " + present);
|
||||
if (present) {
|
||||
console.info("innosetup version " + innosetup.version);
|
||||
|
@ -78,6 +77,4 @@ Project {
|
|||
qbs.install: true
|
||||
qbs.installPrefix: '/'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user