Migrate to private class properties/methods
This commit is contained in:
parent
7dbe57084b
commit
aa9f53df57
100 changed files with 3795 additions and 3944 deletions
|
@ -23,7 +23,7 @@ export class MacOSUpdater extends Updater {
|
|||
|
||||
logger.info('downloadAndInstall: handing download to electron...');
|
||||
try {
|
||||
await this.handToAutoUpdate(updateFilePath);
|
||||
await this.#handToAutoUpdate(updateFilePath);
|
||||
} catch (error) {
|
||||
const readOnly = 'Cannot update while running on a read-only volume';
|
||||
const message: string = error.message || '';
|
||||
|
@ -47,7 +47,7 @@ export class MacOSUpdater extends Updater {
|
|||
};
|
||||
}
|
||||
|
||||
private async handToAutoUpdate(filePath: string): Promise<void> {
|
||||
async #handToAutoUpdate(filePath: string): Promise<void> {
|
||||
const { logger } = this;
|
||||
const { promise, resolve, reject } = explodePromise<void>();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue