public StarboundGame(Guid id, StarboundGameSettings settings) : base(id, settings) { _executables = new Lazy<IRelativeFilePath[]>(() => Common.Flags.Is64BitOperatingSystem ? Metadata.GetExecutables().ToArray() : Metadata.GetExecutables().Skip(1).ToArray()); _serverExecutables = new Lazy<IRelativeFilePath[]>(() => Common.Flags.Is64BitOperatingSystem ? Metadata.GetServerExecutables().ToArray() : Metadata.GetServerExecutables().Skip(1).ToArray()); }
public StarboundGame(Guid id, StarboundGameSettings settings) : base(id, settings) { _executables = new Lazy <IRelativeFilePath[]>(() => Common.Flags.Is64BitOperatingSystem ? Metadata.GetExecutables().ToArray() : Metadata.GetExecutables().Skip(1).ToArray()); _serverExecutables = new Lazy <IRelativeFilePath[]>(() => Common.Flags.Is64BitOperatingSystem ? Metadata.GetServerExecutables().ToArray() : Metadata.GetServerExecutables().Skip(1).ToArray()); }