brave-portable icon indicating copy to clipboard operation
brave-portable copied to clipboard

I created a little batch script to update Brave Portable!

Open MagicalDrizzle opened this issue 1 year ago • 7 comments

Script: https://github.com/MagicalDrizzle/batch-collection/blob/main/getbrave.cmd
Instructions: https://github.com/MagicalDrizzle/batch-collection/blob/main/README.getbrave.md
The script in action:

Select channel:
[1] Release
[2] Beta (default)
[3] Nightly
> 2

> Local: 1.63.126, Upstream: 1.63.126
> Up-to-date!

Press any key to continue . . .
Select channel:
[1] Release
[2] Beta (default)
[3] Nightly
> 1

> Local: 1.61.109, Upstream: 1.61.120
> New version available!
> Update? [Y,N]?
Select channel:
[1] Release
[2] Beta (default)
[3] Nightly
> 1

> Local: 1.63.126, Upstream: 1.61.120
> Warning: You may have chosen an update channel more downstream than your local version.
> For example, if you have Nightly version but you chose Beta/Release.
> Only proceed if you are switching your update channel.
> Do you wish to update anyway? [Y,N]?

MagicalDrizzle avatar Jan 20 '24 04:01 MagicalDrizzle

I won't use it, I'll save it as update.bat After running, I selected 2. If you press enter again, it will exit. It seems like nothing has been updated. I don't know if it's an update to "brake portable. exe" or an update to "brake portable \ app \ Brave. exe"

I hope to solve my confusion next time: "Brave portable. exe" generated a data folder, but it started slowly. Windows 11 still opens "brave portable \ app \ Brave. exe" by default, and Brave. exe is faster. I really wish I could use "Brave. exe", but it won't generate a Data folder. What should I do?

Thank you~

ednykissyou avatar Jan 23 '24 18:01 ednykissyou

If you want to use brave.exe,

start "" brave.exe --user-data-dir=profile --no-default-browser-check --disable-machine-id --disable-encryption-win

copy all of that into a file named brave_portable.cmd and put the file in the same directory as brave.exe. I have created another script here, put it in the same location as brave.exe and run it to update Brave. https://github.com/MagicalDrizzle/batch-collection/blob/main/getbrave_standalone.cmd

MagicalDrizzle avatar Jan 27 '24 08:01 MagicalDrizzle

So we can use this script to update portable version without waiting for portapps ?

mikuppy avatar Jan 28 '24 15:01 mikuppy

That's right :) https://github.com/MagicalDrizzle/batch-collection/blob/main/getbrave_standalone.cmd If you use that script you won't even need to download brave-portable

MagicalDrizzle avatar Jan 28 '24 19:01 MagicalDrizzle

That's right :) https://github.com/MagicalDrizzle/batch-collection/blob/main/getbrave_standalone.cmd If you use that script you won't even need to download brave-portable

Can you make a script for chrome as well , thanks for your work

mikuppy avatar Jan 30 '24 14:01 mikuppy

Sadly there does not seem to be any official offline installer download link for Chrome, you need to run the setup...the reason why this script is possible is Brave releasing the offline installer on GitHub.

If you are comfortable with Chromium instead, there is this project and I highly recommend it! https://github.com/henrypp/chrlauncher

MagicalDrizzle avatar Jan 31 '24 13:01 MagicalDrizzle

yes the script installs brave to the portable folder but its no longer "portable" as the browsers data file now moves to the user folder hidden away in your pc,s local folder.

Dutchgold avatar Mar 04 '24 16:03 Dutchgold