utils.go 714 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. package utils
  2. var PackConfPath = "package.json"
  3. var ConfigPath = "uploader.json"
  4. var OutputDb = "db.json"
  5. var AppConfPath = "app.json"
  6. type UpConfItem struct {
  7. Files []string
  8. Modify string
  9. PackName string
  10. Dest string
  11. }
  12. type Version struct {
  13. Label string
  14. Name string
  15. Icon string
  16. Type string
  17. Version string
  18. SizeM int
  19. Url string
  20. Platform string
  21. Thumbnail string
  22. }
  23. type App struct {
  24. Name string
  25. Version string
  26. LastUpdateDate string
  27. Icon string
  28. RevAssets []string
  29. Size string
  30. Tags string
  31. Desc string
  32. Entry string
  33. Type string
  34. Key string
  35. InstCount int
  36. }