gologin 2.1.27 → 2.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -1
- package/package.json +1 -1
- package/src/gologin.js +2 -4
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/src/gologin.js
CHANGED
|
@@ -155,10 +155,6 @@ export class GoLogin {
|
|
|
155
155
|
return JSON.parse(profileResponse);
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
async emptyProfile() {
|
|
159
|
-
return readFile(_resolve(__dirname, 'gologin_zeroprofile.b64')).then(res => res.toString());
|
|
160
|
-
}
|
|
161
|
-
|
|
162
158
|
async getProfileS3() {
|
|
163
159
|
const token = this.access_token;
|
|
164
160
|
debug('getProfileS3 token=', token, 'profile=', this.profile_id);
|
|
@@ -489,6 +485,7 @@ export class GoLogin {
|
|
|
489
485
|
await this.downloadProfileAndExtract(profile, local);
|
|
490
486
|
}
|
|
491
487
|
|
|
488
|
+
await _promises.rm(join(profilePath, 'Default', 'Sync Data'), { recursive: true }).catch(() => null);
|
|
492
489
|
const pref_file_name = join(profilePath, 'Default', 'Preferences');
|
|
493
490
|
debug('reading', pref_file_name);
|
|
494
491
|
|
|
@@ -1094,6 +1091,7 @@ export class GoLogin {
|
|
|
1094
1091
|
`${SEPARATOR}Default${SEPARATOR}GPUCache`,
|
|
1095
1092
|
`${SEPARATOR}Default${SEPARATOR}DawnCache`,
|
|
1096
1093
|
`${SEPARATOR}Default${SEPARATOR}fonts_config`,
|
|
1094
|
+
`${SEPARATOR}Default${SEPARATOR}Sync Data`,
|
|
1097
1095
|
`${SEPARATOR}GrShaderCache`,
|
|
1098
1096
|
`${SEPARATOR}ShaderCache`,
|
|
1099
1097
|
`${SEPARATOR}biahpgbdmdkfgndcmfiipgcebobojjkp`,
|