@david Thanks a million
to whom looking to the same thing, to set the theme as default theme we can use set_default!
s = RemoteTheme.update_tgz_theme( "/path/to/theme.tar.gz", user: Discourse.system_user)
s.set_default!
@david Thanks a million
to whom looking to the same thing, to set the theme as default theme we can use set_default!
s = RemoteTheme.update_tgz_theme( "/path/to/theme.tar.gz", user: Discourse.system_user)
s.set_default!