fix state resource file name

This commit is contained in:
Sandeep Somavarapu
2022-06-13 18:15:01 +02:00
parent c6bbc786ed
commit 74c528db74
2 changed files with 2 additions and 2 deletions

View File

@@ -60,7 +60,7 @@ export abstract class AbstractNativeEnvironmentService implements INativeEnviron
get cacheHome(): URI { return URI.file(this.userDataPath); }
@memoize
get stateResource(): URI { return joinPath(this.appSettingsHome, 'globalStorage', 'state.json'); }
get stateResource(): URI { return joinPath(this.appSettingsHome, 'globalStorage', 'storage.json'); }
@memoize
get userRoamingDataHome(): URI { return this.appSettingsHome; }

View File

@@ -68,7 +68,7 @@ export class BrowserWorkbenchEnvironmentService implements IBrowserWorkbenchEnvi
get localHistoryHome(): URI { return joinPath(this.userRoamingDataHome, 'History'); }
@memoize
get stateResource(): URI { return joinPath(this.userRoamingDataHome, 'State', 'state.json'); }
get stateResource(): URI { return joinPath(this.userRoamingDataHome, 'State', 'storage.json'); }
/**
* In Web every workspace can potentially have scoped user-data