Set up a system tray application. Download Tor Browser over I2P. This accomplishes all basic features.

This commit is contained in:
idk
2022-02-15 00:24:30 -05:00
parent 060d885666
commit 3352191180
7 changed files with 61 additions and 21 deletions

View File

@ -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)