Skip to content

Commit 493ad6d

Browse files
authored
Update user agent
1 parent 334fb96 commit 493ad6d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build-whatsapp.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ echo -e "\nBuilding version: $VERSION\n"
1515
wget -qO- https://aur.archlinux.org/cgit/aur.git/plain/whatsapp-nativefier-inject.js?h=whatsapp-nativefier-arch-electron >./clear-sw-cache.js
1616

1717
for ARCH in armv7l arm64 x64; do
18-
nativefier -a ${ARCH} --inject clear-sw-cache.js --browserwindow-options '{ "webPreferences": { "spellcheck": true } }' --single-instance --tray --maximize --user-agent "Mozilla/5.0 (X11; Linux ${ARCH}) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36" -p linux --name "WhatsApp" https://web.whatsapp.com -e "$(wget -qO- https://api.github.com/repos/electron/electron/releases/latest | jq -r '.tag_name' | sed s/v//g)"
18+
nativefier -a ${ARCH} --inject clear-sw-cache.js --browserwindow-options '{ "webPreferences": { "spellcheck": true } }' --single-instance --tray --maximize --user-agent "Mozilla/5.0 (X11; Linux ${ARCH}) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36" -p linux --name "WhatsApp" https://web.whatsapp.com -e "$(wget -qO- https://api.github.com/repos/electron/electron/releases/latest | jq -r '.tag_name' | sed s/v//g)"
1919
done
2020

2121
for FOLDER in $(ls | grep "^WhatsApp"); do

0 commit comments

Comments
 (0)