mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 04:34:59 +00:00
refactor<*>: use DynamicResource instead of StaticResource for brushes and locales
This commit is contained in:
parent
4a56b47265
commit
afc4eafb6f
73 changed files with 630 additions and 601 deletions
|
@ -14,11 +14,6 @@ namespace SourceGit.Views {
|
|||
txtRelease.Text = App.Text("UpdateAvailable.Title", ver.Name);
|
||||
}
|
||||
|
||||
public static void Open(Window owner, Models.Version ver) {
|
||||
var dialog = new Upgrade(ver) { Owner = owner };
|
||||
dialog.ShowDialog();
|
||||
}
|
||||
|
||||
private void Download(object sender, RoutedEventArgs e) {
|
||||
var info = new ProcessStartInfo("cmd", $"/c start https://gitee.com/sourcegit/SourceGit/releases/{Version.TagName}");
|
||||
info.CreateNoWindow = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue