Skip to content

Commit

Permalink
更新
Browse files Browse the repository at this point in the history
  • Loading branch information
silentmoooon committed Nov 20, 2018
1 parent 6b318f8 commit c8738d3
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions ClipOne/view/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -144,16 +144,14 @@ public partial class MainWindow : Window
public MainWindow()
{
InitializeComponent();

System.IO.Directory.SetCurrentDirectory(System.Windows.Forms.Application.StartupPath);




}

private void Window_Loaded(object sender, RoutedEventArgs e)
{



if (!Directory.Exists(cacheDir))
{
Directory.CreateDirectory(cacheDir);
Expand Down Expand Up @@ -996,7 +994,7 @@ private void DiyHide()
if (activeHwnd != IntPtr.Zero)
{
WinAPIHelper.SetForegroundWindow(activeHwnd);
// File.AppendAllText("C:/Users/xiecan/test.txt", activeHwnd+"\n");

}


Expand Down

0 comments on commit c8738d3

Please sign in to comment.