Skip to content

Commit

Permalink
Ability to skip restart warning for Steam library related tasks (#63 #69
Browse files Browse the repository at this point in the history
)
  • Loading branch information
RevoLand committed Jul 19, 2019
1 parent 36ca4bf commit 49dafd9
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

## [UNRELEASED]

## [1.5.1.11] - 2019-07-19
### Added

- Ability to continue on error for task manager tasks (#68)
- Ability to skip restart warning for Steam library related tasks (#69)

### Changed

Expand Down
13 changes: 12 additions & 1 deletion Source/Steam Library Manager/Forms/TaskManagerView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,18 @@
<ToolTip>
<StackPanel>
<TextBlock FontWeight="Bold" Text="Continue on Error" />
<TextBlock Text="If active, SLM will move to the next task in the list on error." />
<TextBlock Text="If active, SLM will move to the next task in the list in case of an error with the active task." />
</StackPanel>
</ToolTip>
</CheckBox.ToolTip>
</CheckBox>
<CheckBox BorderBrush="{DynamicResource AccentColorBrush}" Margin="5,0,0,0" Content="Skip Steam Restart Dialog" IsChecked="{SLM:SettingBinding TaskManager_SteamRestartSkip}">
<CheckBox.ToolTip>
<ToolTip>
<StackPanel>
<TextBlock FontWeight="Bold" Text="Skip Steam Restart Dialog" />
<TextBlock Text="If active, SLM will not ask to restart Steam on Steam library related tasks." />
<TextBlock FontWeight="Bold" Text="However running Steam apps/games without restarting Steam may damage app/game installations and require manual processing!" />
</StackPanel>
</ToolTip>
</CheckBox.ToolTip>
Expand Down
2 changes: 1 addition & 1 deletion Source/Steam Library Manager/Functions/TaskManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ private static async Task ProcessTaskAsync(Definitions.List.TaskInfo CurrentTask
}
}

if (IsRestartRequired)
if (IsRestartRequired && !Properties.Settings.Default.TaskManager_SteamRestartSkip)
{
Steam.RestartSteamAsync();
IsRestartRequired = false;
Expand Down

0 comments on commit 49dafd9

Please sign in to comment.