Skip to content

Commit 2d74335

Browse files
committed
Handle partially implemented Airwin in updater script
1 parent dc0ed69 commit 2d74335

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

scripts/configure.pl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,11 @@
7474
if (!grep(/$fx/, @forceIsMonoForPlugins)) {
7575
my $fn = $fx;
7676
$fn =~ s/Point$/Poynt/; # Fix for "weird" naming in MacAU/Point plugin
77-
open (AU, "< libs/airwindows/plugins/MacAU/$fx/$fn.h") || die "Can't open what: $!";
77+
unless (open (AU, "< libs/airwindows/plugins/MacAU/$fx/$fn.h")) {
78+
warn "Can't open $fx/$fn.h: $!, Assuming stereo\n";
79+
$isMonos{$fx} = 1;
80+
next;
81+
}
7882
while (<AU>) {
7983
$isMonos{$fx} = 0 if (m/SupportedNumChannels/);
8084
}

0 commit comments

Comments
 (0)