Set up a system tray application. Download Tor Browser over I2P. This accomplishes all basic features.
This commit is contained in:
@ -28,10 +28,11 @@ type Client struct {
|
||||
}
|
||||
|
||||
// NewClient creates a new Client.
|
||||
func NewClient(verbose bool, lang string, os string, arch string, content *embed.FS) (*Client, error) {
|
||||
func NewClient(verbose bool, lang, os, arch, mirror string, content *embed.FS) (*Client, error) {
|
||||
m := &Client{
|
||||
TBD: tbget.NewTBDownloader(lang, os, arch, content),
|
||||
}
|
||||
m.TBD.Mirror = mirror
|
||||
m.TBD.Verbose = verbose
|
||||
m.TBD.MakeTBDirectory()
|
||||
tgz, sig, err := m.TBD.DownloadUpdaterForLang(lang)
|
||||
|
Reference in New Issue
Block a user