configPath refactoring

Let's assume that we will always load the base synthdefs. configPath is now a true user-defined path
This commit is contained in:
2024-05-15 18:25:27 +02:00
parent 03fd9c85d6
commit 011cef1023
3 changed files with 6 additions and 6 deletions

View File

@ -53,8 +53,11 @@ Boot {
s.latency = 0.3;
// Resume normal boot sequence
"-> Loading config from: %".format(configPath ? (this.localPath +/+ "Startup.scd")).postln;
(configPath ? (this.localPath +/+ "Startup.scd")).load;
(this.localPath +/+ "Startup.scd").load;
if (configPath.notNil, {
configPath.load;
});
BuboUtils.ready.postln;
this.installServerTreeBehavior();
this.clock.enableMeterSync();
@ -136,5 +139,4 @@ Boot {
currentEnvironment.play;
});
}
}