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 {
|
||||
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);
|
||||
|
@ -79,5 +78,3 @@ Project {
|
|||
qbs.installPrefix: '/'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user