Skip to content

Commit

Permalink
pgrep -f for chromium-browser process detection
Browse files Browse the repository at this point in the history
  • Loading branch information
Botspot authored Feb 17, 2024
1 parent 1fd7029 commit d05bd1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/Better Chromium/uninstall
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ for profile in $profiles ;do
sed -i 's/"signin":{"AccountReconcilor":{"kDiceMigrationOnStartup2":true},"allowed":true,"allowed_on_next_startup":true}/"signin":{"AccountReconcilor":{"kDiceMigrationOnStartup2":true},"allowed":false,"allowed_on_next_startup":false}/g' "$HOME/.config/chromium/$profile/Preferences"
done

if pgrep chromium >/dev/null || pgrep chromium-browser >/dev/null ;then
if pgrep chromium >/dev/null || pgrep -f chromium-browser >/dev/null ;then
status "Changes will take effect after you relaunch Chromium."
fi
true

0 comments on commit d05bd1f

Please sign in to comment.