mirror of
https://github.com/documize/community.git
synced 2025-08-05 05:25:27 +02:00
PRovide basic in-app purchase/renewal flow
This commit is contained in:
parent
e116d3b000
commit
d1b803b246
39 changed files with 1211 additions and 1154 deletions
|
@ -35,12 +35,8 @@ func startRuntime() (rt *env.Runtime, s *store.Store) {
|
|||
rt.Product.Version = fmt.Sprintf("%s.%s.%s", rt.Product.Major, rt.Product.Minor, rt.Product.Patch)
|
||||
rt.Product.Edition = "Test"
|
||||
rt.Product.Title = fmt.Sprintf("%s Edition", rt.Product.Edition)
|
||||
rt.Product.License = env.License{}
|
||||
rt.Product.License.Seats = 1
|
||||
rt.Product.License.Trial = false
|
||||
rt.Product.License.Edition = env.CommunityEdition
|
||||
|
||||
// parse settings from command line and environment
|
||||
// parse settings from command line and environment
|
||||
rt.Flags = env.ParseFlags()
|
||||
boot.InitRuntime(rt, s)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue