Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I created a little batch script to update Brave Portable! #153

Open
MagicalDrizzle opened this issue Jan 20, 2024 · 7 comments
Open

I created a little batch script to update Brave Portable! #153

MagicalDrizzle opened this issue Jan 20, 2024 · 7 comments

Comments

@MagicalDrizzle
Copy link

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]?
@ednykissyou
Copy link

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~

@MagicalDrizzle
Copy link
Author

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

@mikuppy
Copy link

mikuppy commented Jan 28, 2024

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

@MagicalDrizzle
Copy link
Author

MagicalDrizzle commented Jan 28, 2024

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

@mikuppy
Copy link

mikuppy commented Jan 30, 2024

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

@MagicalDrizzle
Copy link
Author

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

@Dutchgold
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants