Created
August 9, 2020 12:49
-
-
Save alkuzad/cf5d084769d7344cdf67c3ec2f58feda to your computer and use it in GitHub Desktop.
DuckDuckGo is free search engine, not spying as google
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rem asar v3.0.3, slack 4.8.0 | |
rem sed is from scoop git package, also in unxutils-separated or standard unxutils | |
set SLACK_HOME=%USERPROFILE%\scoop\apps\slack\current | |
npm install -g asar | |
cd %SLACK_HOME%\resources | |
asar extract app.asar slack-source | |
del app.asar | |
sed -i "s@searchGoogle@searchDuckDuckGo@g" slack-source/dist/main.bundle.js | |
sed -i "s@https://www.google.com/search?q=@https://duckduckgo.com/?q=@" slack-source/dist/main.bundle.js | |
sed -i "s@Search with Google@Search with DuckDuckGo@" slack-source/dist/main.bundle.js | |
asar pack slack-source app.asar | |
rd /q /s slack-source |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment