Skip to content

Commit d713118

Browse files
committed
Fixes #312
1 parent 4292eb0 commit d713118

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

bucket/chrome-portable.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@
3131
"--user-data-dir=\"$dir\\User Data\""
3232
]
3333
],
34+
"post_install": [
35+
"Remove-Item -Force -Recurse -ErrorAction SilentlyContinue -Path \"$ENV:LOCALAPPDATA\\Google\\Chrome\\User Data\"",
36+
"New-Item -ItemType Junction -target \"$dir\\User Data\" -Path \"$ENV:LOCALAPPDATA\\Google\\Chrome\\User Data\""
37+
],
38+
"post_uninstall": [
39+
"Remove-Item -Force -Recurse -ErrorAction SilentlyContinue -Path \"$ENV:LOCALAPPDATA\\Google\\Chrome\\User Data\""
40+
],
3441
"shortcuts": [
3542
[
3643
"chrome.exe",
@@ -61,4 +68,4 @@
6168
}
6269
}
6370
}
64-
}
71+
}

0 commit comments

Comments
 (0)