fix: allow safe fresh-clone DryRun builds
This commit is contained in:
@@ -22,8 +22,17 @@ public static class PlayoutOptionsLoader
|
||||
public static PlayoutOptions Load(
|
||||
string? path = null,
|
||||
string? operatorSceneDirectory = null,
|
||||
string? operatorBackgroundDirectory = null)
|
||||
string? operatorBackgroundDirectory = null,
|
||||
bool forceSafeDryRun = false)
|
||||
{
|
||||
// Source-only builds are for code/UI review on machines without the
|
||||
// approved runtime tree. Do not consume a previous machine-local playout
|
||||
// profile or process override in that build flavor.
|
||||
if (forceSafeDryRun)
|
||||
{
|
||||
return new PlayoutOptions();
|
||||
}
|
||||
|
||||
var options = LoadJson(path ?? DefaultPath);
|
||||
ApplyOperatorAssetOverrides(
|
||||
options,
|
||||
|
||||
Reference in New Issue
Block a user