fixed windows bugs
This commit is contained in:
parent
ad826b3b43
commit
b403befe74
3 changed files with 11 additions and 2 deletions
|
@ -67,8 +67,7 @@ func (inst *Installer) StartDownloadDecompress() {
|
|||
|
||||
// 3) Decompress
|
||||
spm.UpdateProgress(0, "Decompressing...")
|
||||
packagePath := filepath.Join(inst.DownloadDir, "browser-amd64-nightly-linux.tar.gz")
|
||||
tempDir, err := spm.DecompressToTemp(packagePath)
|
||||
tempDir, err := spm.DecompressPackage(inst.DownloadDir)
|
||||
if err != nil {
|
||||
inst.LastError = err
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue