File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/Umbraco.Web/Install/InstallSteps Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -21,16 +21,16 @@ public StarterKitDownloadStep(ApplicationContext applicationContext)
21
21
22
22
private const string RepoGuid = "65194810-1f85-11dd-bd0b-0800200c9a66" ;
23
23
24
+ //adding a package guid hardcoded, so we can change the sent package remotely, currently this just points to txt kit
25
+ //but a future starterkit will be inserted under the same guid on our.
26
+ private const string PackageGuid = "69E44BEB-15FF-4CEE-8B64-0A7DAE498657" ;
27
+
24
28
public override InstallSetupResult Execute ( Guid ? starterKitId )
25
29
{
26
30
//if there is no value assigned then use the default starter kit
27
31
if ( starterKitId . HasValue == false )
28
32
{
29
- //get a default package GUID (currently the first one found)
30
- var r = new org . umbraco . our . Repository ( ) ;
31
- var modules = r . Modules ( ) ;
32
- var defaultPackageId = modules . First ( ) . RepoGuid ;
33
- starterKitId = defaultPackageId ;
33
+ starterKitId = Guid . Parse ( PackageGuid ) ;
34
34
}
35
35
else if ( starterKitId . Value == Guid . Empty )
36
36
{
You can’t perform that action at this time.
0 commit comments