fixed install from file
This commit is contained in:
@@ -310,7 +310,7 @@ export class HeaderComponent implements OnInit {
|
|||||||
properties: ['openFile', 'multiSelections'],
|
properties: ['openFile', 'multiSelections'],
|
||||||
defaultPath: this.adbService.savePath,
|
defaultPath: this.adbService.savePath,
|
||||||
});
|
});
|
||||||
files.forEach(filepath => {
|
files.filePaths.forEach(filepath => {
|
||||||
this.adbService.savePath = this.appService.path.dirname(filepath);
|
this.adbService.savePath = this.appService.path.dirname(filepath);
|
||||||
let install = this.adbService.installMultiFile(filepath);
|
let install = this.adbService.installMultiFile(filepath);
|
||||||
if (install) {
|
if (install) {
|
||||||
|
|||||||
+1
-2
@@ -101,7 +101,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular/cli": "^8.0.3",
|
"@angular/cli": "^8.0.3",
|
||||||
"electron": "^7.2.4",
|
"electron": "7.2.4",
|
||||||
"electron-builder": "^22.4.0",
|
"electron-builder": "^22.4.0",
|
||||||
"electron-notarize": "^0.1.1",
|
"electron-notarize": "^0.1.1",
|
||||||
"husky": "^2.3.0",
|
"husky": "^2.3.0",
|
||||||
@@ -111,4 +111,3 @@
|
|||||||
"typescript": "^3.8.3"
|
"typescript": "^3.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1008,7 +1008,7 @@ electron-updater@^4.1.2:
|
|||||||
pako "^1.0.10"
|
pako "^1.0.10"
|
||||||
semver "^6.2.0"
|
semver "^6.2.0"
|
||||||
|
|
||||||
electron@^7.2.4:
|
electron@7.2.4:
|
||||||
version "7.2.4"
|
version "7.2.4"
|
||||||
resolved "https://registry.yarnpkg.com/electron/-/electron-7.2.4.tgz#9fc0446dae23ead897af8742470cb18da55c6ce9"
|
resolved "https://registry.yarnpkg.com/electron/-/electron-7.2.4.tgz#9fc0446dae23ead897af8742470cb18da55c6ce9"
|
||||||
integrity sha512-Z+R692uTzXgP8AHrabE+kkrMlQJ6pnAYoINenwj9QSqaD2YbO8IuXU9DMCcUY0+VpA91ee09wFZJNUKYPMnCKg==
|
integrity sha512-Z+R692uTzXgP8AHrabE+kkrMlQJ6pnAYoINenwj9QSqaD2YbO8IuXU9DMCcUY0+VpA91ee09wFZJNUKYPMnCKg==
|
||||||
|
|||||||
Reference in New Issue
Block a user