diff --git a/provision/windows/GoogleChrome-master_preferences.json b/provision/windows/GoogleChrome-master_preferences.json index 50a5896..4a9e23a 100644 --- a/provision/windows/GoogleChrome-master_preferences.json +++ b/provision/windows/GoogleChrome-master_preferences.json @@ -9,7 +9,7 @@ "show_on_first_run_allowed": false }, "distribution": { - "import_bookmarks_from_file": "C:\\Program Files (x86)\\Google\\Chrome\\Application\\master_bookmarks.html", + "import_bookmarks_from_file": "C:\\Program Files\\Google\\Chrome\\Application\\master_bookmarks.html", "import_bookmarks": true, "import_history": true, "import_home_page": true, diff --git a/provision/windows/use-chocolatey-repository.ps1 b/provision/windows/use-chocolatey-repository.ps1 index e312f2b..5efd399 100644 --- a/provision/windows/use-chocolatey-repository.ps1 +++ b/provision/windows/use-chocolatey-repository.ps1 @@ -22,8 +22,8 @@ Write-Host 'Installing Google Chrome from the nexus server...' # do not ignore the checksums and there's a new chrome version available. # see https://www.chromium.org/administrators/configuring-other-preferences choco install -y --ignore-checksums googlechrome -$chromeLocation = 'C:\Program Files (x86)\Google\Chrome\Application' -cp -Force GoogleChrome-external_extensions.json (Get-Item "$chromeLocation\*\default_apps\external_extensions.json").FullName +$chromeLocation = 'C:\Program Files\Google\Chrome\Application' +cp -Force GoogleChrome-external_extensions.json (Resolve-Path "$chromeLocation\*\default_apps\external_extensions.json") cp -Force GoogleChrome-master_preferences.json "$chromeLocation\master_preferences" cp -Force GoogleChrome-master_bookmarks.html "$chromeLocation\master_bookmarks.html"