Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static JsonRW()
- {
- string syncFilesPath = Sync.pathToDownloadFolder;
- string folder = "";
- if(Directory.GetFiles(syncFilesPath).Length >= 4)
- {
- folder = syncFilesPath;
- }
- CategoryPath = folder + @"category.json";
- CategoryRecipePath = folder + @"categoryrecipe.json";
- ProductPath = folder + @"product.json";
- RecipePath = folder + @"recipe.json";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement