This repository was archived by the owner on Jan 28, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +28
-3
lines changed
DataCreator/DataCreator/Data/Games Expand file tree Collapse file tree 2 files changed +28
-3
lines changed Original file line number Diff line number Diff line change 1
- using System . ComponentModel . Composition ;
1
+ using System . Collections . Generic ;
2
+ using System . ComponentModel . Composition ;
3
+ using XElement . CloudSyncHelper . Serialization . DataTypes ;
4
+ using XElement . DotNet . System . Environment ;
2
5
3
6
namespace XElement . CloudSyncHelper . DataCreator . Data . Games
4
7
{
@@ -15,9 +18,28 @@ public Starbound() : base( "E33D0478-9ABC-49DC-9FA0-C9312BC5CF91" )
15
18
}
16
19
17
20
21
+ // TODO: Include
22
+ private List < AbstractLinkInfo > GetLinksForWin10 ( )
23
+ {
24
+ /*
25
+ * Locations:
26
+ * 1) <install-folder>\storage\player\
27
+ * ↑ folder link to "player" folder
28
+ * 2) <install-folder>\storage\universe\
29
+ * ↑ folder link to "universe" folder
30
+ * see https://pcgamingwiki.com/wiki/Starbound
31
+ */
32
+ return new List < AbstractLinkInfo > ( ) ;
33
+ }
34
+
35
+
18
36
protected override void OnImportsSatisfied ( )
19
37
{
20
- this . DefinitionInfo = this . _definitionFactory . GetSteamCloud ( ) ;
38
+ var osConfigs = new List < OsConfigurationInfo >
39
+ {
40
+ this . _osConfigFactory . Get ( this . GetLinksForWin10 ( ) , OsId . Win10 )
41
+ } ;
42
+ this . DefinitionInfo = this . _definitionFactory . Get ( osConfigs ) ;
21
43
return ;
22
44
}
23
45
}
Original file line number Diff line number Diff line change 107
107
<IsSteamCloudSupported value =" false" />
108
108
</Game >
109
109
<Game ApplicationName =" Starbound" FolderName =" Starbound 2013 [Starbound]" Id =" e33d0478-9abc-49dc-9fa0-c9312bc5cf91" TechNameMatcher =" Starbound" >
110
- <IsSteamCloudSupported value =" true" />
110
+ <OsConfig author =" XElement" name =" default" os =" Win10" >
111
+ <Links />
112
+ </OsConfig >
113
+ <IsSteamCloudSupported value =" false" />
111
114
</Game >
112
115
<Game ApplicationName =" Owlboy" FolderName =" Owlboy 2016 [Owlboy]" Id =" 3b69007d-6eb1-423d-9a56-8fe7c5bac404" TechNameMatcher =" Owlboy" >
113
116
<IsSteamCloudSupported value =" true" />
You can’t perform that action at this time.
0 commit comments