~chromium-team/chromium-browser/focal-stable

« back to all changes in this revision

Viewing changes to debian/apport/chromium-browser.py

  • Committer: Olivier Tilloy
  • Author(s): Sébastien Bacher
  • Date: 2020-10-22 16:08:46 UTC
  • Revision ID: olivier.tilloy@canonical.com-20201022160846-hochssst6wyj70k9
[ Sébastien Bacher ]
* debian/apport/chromium-browser.py:
  - the profile is now installed in the common directory (LP: #1900170)

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
import apport.hookutils
21
21
 
22
22
 
 
23
SNAP_USER_COMMON = os.path.expanduser('~/snap/chromium/common')
23
24
SNAP_USER_DATA = os.path.expanduser('~/snap/chromium/current')
24
25
 
25
26
 
88
89
            if len(version) > 0:
89
90
                report['Snap.FlashPlayerVersion'] = version[0].decode()
90
91
 
91
 
    user_profile_dir = os.path.join(SNAP_USER_DATA, '.config/chromium/Default')
 
92
    user_profile_dir = os.path.join(SNAP_USER_COMMON, 'chromium/Default')
92
93
    user_prefs(report, os.path.join(user_profile_dir, 'Preferences'))
93
94
 
94
95
    report['DiskUsage'] = \