File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,9 +9,10 @@ internal class Program
99 private static void Main ( )
1010 {
1111 Action < string > display = Console . WriteLine ;
12+ display ( "Checking if there are new images to be copied..." ) ;
1213 List < string > files = new List < string > ( ) ;
1314 int counter = 0 ;
14- const string userName = "userName " ;
15+ const string userName = "user " ;
1516 string imagePath = $@ "C:\Users\{ userName } \Pictures\fond_ecran";
1617 foreach ( string file in GetFilesFileteredBySize ( new DirectoryInfo ( $@ "C:\Users\{ userName } \AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets") , 100000 ) )
1718 {
@@ -36,7 +37,7 @@ private static void Main()
3637
3738 display ( $ "{ counter } images have been copied to the picture folder.") ;
3839 display ( "Press any key to exit:" ) ;
39- Console . ReadKey ( ) ;
40+ // Console.ReadKey(); // comment for batch to production
4041 }
4142
4243 public static List < string > GetFilesFileteredBySize ( DirectoryInfo directoryInfo , long sizeGreaterOrEqualTo )
You can’t perform that action at this time.
0 commit comments