mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-16 11:42:22 +08:00
Release: 1.0.10
This commit is contained in:
parent
476fbdcc27
commit
a80dc3897f
|
@ -33,12 +33,24 @@ namespace BililiveRecorder.WPF
|
|||
|
||||
private void Save(object sender, RoutedEventArgs e)
|
||||
{
|
||||
if (!_CheckSavePath()) return;
|
||||
DialogResult = true;
|
||||
Close();
|
||||
}
|
||||
|
||||
private bool _CheckSavePath()
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(Settings.SavePath))
|
||||
{
|
||||
MessageBox.Show("请设置一个录像保存路径", "保存路径不能为空", MessageBoxButton.OK, MessageBoxImage.Warning);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
private void Cancel(object sender, RoutedEventArgs e)
|
||||
{
|
||||
if (!_CheckSavePath()) return;
|
||||
Close();
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ $commit_message_version_regex="^Release: (\d+\.\d+\.\d+)$"
|
|||
|
||||
if ($env:APPVEYOR_REPO_BRANCH -eq "dev" -and $env:APPVEYOR_REPO_COMMIT_MESSAGE -cmatch $commit_message_version_regex)
|
||||
{
|
||||
git checkout dev
|
||||
git checkout dev -q
|
||||
$env:BILILIVERECORDER_RELEASE=$true
|
||||
$env:p_version="$($Matches[1]).0"
|
||||
Update-AppveyorBuild -Version "$env:p_version"
|
||||
|
|
Loading…
Reference in New Issue
Block a user