Skip to content

Commit 84b9066

Browse files
committed
portable cache dir fix
1 parent 10c9aeb commit 84b9066

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

infra/portable/THORIUM-PORTABLE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ exec > >(exec cat)
6060
exec 2> >(exec cat >&2)
6161

6262
# Note: exec -a below is a bashism.
63-
exec -a "$0" "$HERE/thorium" "--user-data-dir=$(pwd)/.config/thorium" "--disable-machine-id" "--disable-encryption" "$@"
63+
exec -a "$0" "$HERE/thorium" "--user-data-dir=$(pwd)/.config/thorium" "--disk-cache-dir=$(pwd)/.config/cache" "--disable-machine-id" "--disable-encryption" "$@"

infra/portable/THORIUM.BAT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
START "" "%cd%\BIN\thorium.exe" --user-data-dir="%~dp0%\USER_DATA" --allow-outdated-plugins --disable-logging --disable-breakpad
1+
START "" "%cd%\BIN\thorium.exe" --user-data-dir="%~dp0%\USER_DATA" --disk-cache-dir="%~dp0%\USER_DATA\cache" --allow-outdated-plugins --disable-logging --disable-breakpad

0 commit comments

Comments
 (0)