@@ -27,7 +27,8 @@ final class StandaloneInstallation
|
||||
}
|
||||
$settings = config('standalone-runtime');
|
||||
$settings['enabled'] = true;
|
||||
$settings['features'] = array_fill_keys(StandaloneRuntime::FEATURES, true);
|
||||
$selected = (new StandaloneArtifact)->verify($settings['root'], $settings['manifest_sha256']);
|
||||
$settings['features'] = array_fill_keys(array_values(array_intersect(StandaloneRuntime::FEATURES, $selected['manifest']['capabilities'])), true);
|
||||
$runtime = new StandaloneRuntime($settings, new StandaloneArtifact);
|
||||
$artifact = $runtime->artifact();
|
||||
$runtime->assertLoadedPackages(allowMissing: true);
|
||||
|
||||
Reference in New Issue
Block a user