Commit b7ea0516 authored by wudizhanche1000's avatar wudizhanche1000

tar路径

parent 327e6687
...@@ -28,9 +28,9 @@ export class InstallService { ...@@ -28,9 +28,9 @@ export class InstallService {
constructor(private http: Http, private appsService: AppsService) { constructor(private http: Http, private appsService: AppsService) {
if (process.platform === "win32") { if (process.platform === "win32") {
this.tarPath = path.join(process.resourcesPath, 'bin/tar.exe'); this.tarPath = path.join(process.resourcesPath, 'bin', 'bsdtar.exe');
} else { } else {
this.tarPath = "tar" this.tarPath = "bsdtar"
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment