fix: allow safe fresh-clone DryRun builds
This commit is contained in:
@@ -44,10 +44,19 @@ public partial class App : Application
|
||||
#else
|
||||
const bool isDebugBuild = false;
|
||||
#endif
|
||||
var developmentLive = DevelopmentLiveLaunchBootstrap.TryApply(
|
||||
DevelopmentLiveLaunchBootstrap.ResolveLaunchArguments(
|
||||
|
||||
#if SOURCE_ONLY_RUNTIME
|
||||
const bool isSourceOnlyBuild = true;
|
||||
#else
|
||||
const bool isSourceOnlyBuild = false;
|
||||
#endif
|
||||
var launchArguments = isSourceOnlyBuild
|
||||
? null
|
||||
: DevelopmentLiveLaunchBootstrap.ResolveLaunchArguments(
|
||||
args.Arguments,
|
||||
Environment.GetCommandLineArgs()),
|
||||
Environment.GetCommandLineArgs());
|
||||
var developmentLive = DevelopmentLiveLaunchBootstrap.TryApply(
|
||||
launchArguments,
|
||||
isDebugBuild);
|
||||
System.Diagnostics.Debug.WriteLine(
|
||||
$"Development Live bootstrap: {developmentLive.Code}");
|
||||
|
||||
Reference in New Issue
Block a user