utils.go 761 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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 Uploader struct {
  7. Queenter QueenterUp
  8. }
  9. type QueenterUp struct {
  10. Files []string
  11. Modify string
  12. PackName string
  13. Dest string
  14. }
  15. type Version struct {
  16. Label string
  17. Name string
  18. Icon string
  19. Type string
  20. Version string
  21. SizeM int
  22. Url string
  23. Platform string
  24. Thumbnail string
  25. }
  26. type App struct {
  27. Name string
  28. Version string
  29. LastUpdateDate string
  30. Icon string
  31. RevAssets []string
  32. Size string
  33. Tags string
  34. Desc string
  35. Entry string
  36. Type string
  37. Key string
  38. InstCount int
  39. }