Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. static JsonRW()
  2. {
  3. string syncFilesPath = Sync.pathToDownloadFolder;
  4. string folder = "";
  5. if(Directory.GetFiles(syncFilesPath).Length >= 4)
  6. {
  7. folder = syncFilesPath;
  8. }
  9. CategoryPath = folder + @"category.json";
  10. CategoryRecipePath = folder + @"categoryrecipe.json";
  11. ProductPath = folder + @"product.json";
  12. RecipePath = folder + @"recipe.json";
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement