forked from Mirrors/gomuks
Remove tautology
This commit is contained in:
parent
ab18e4c28d
commit
97154a6787
1 changed files with 2 additions and 2 deletions
|
@ -17,12 +17,12 @@ import (
|
|||
"maunium.net/go/gomuks/ui"
|
||||
)
|
||||
|
||||
type HeadlessConfig struct {
|
||||
type Config struct {
|
||||
OutputDir, MxPassword, KeyPath, KeyPassword, RecoveryPhrase string
|
||||
MxID id.UserID
|
||||
}
|
||||
|
||||
func HeadlessInit(conf HeadlessConfig, updates chan fmt.Stringer) error {
|
||||
func Init(conf Config, updates chan fmt.Stringer) error {
|
||||
// setup package dir
|
||||
os.Setenv("GOMUKS_ROOT", conf.OutputDir)
|
||||
updates <- ExportDirSetMsg{dir: conf.OutputDir}
|
||||
|
|
Loading…
Add table
Reference in a new issue