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

Create script wrapper to simplify things and etc #53

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

cupang-afk
Copy link

actualy this is my first time creating a pr, sorry if my code is mess

well what i do is

  • add SETUP.cmd to run install.sh and install the Appx package
  • add install.sh for extracting msixbundle, moving the .img file, copy gapps, install unzip and lzip etc
  • install.sh also run the other script extract_gapps_pico.sh, extend_and_mount_images.sh, apply.sh, unmount_images.sh just like in the README.md
  • made change to VARIABLE.sh so no need to setup Root path and Architecture
  • made change to all other script too, adding quotation mark " to every variable so Root path that has space/whitespace doesn't break the script

sudo.vbs is for getting admin access (UAC) for installing Appx package via powershell

so yeah we can just

  1. run SETUP.cmd
  2. insert wsl sudo password
  3. drag msixbundle and opengapps.zip to the terminal
  4. drink a coffe untill UAC promt show up :)

uhh im not testing arm64 architecture so im not sure if it'll work
and uhh, i dont know why if i run SETUP.cmd as admin, the drag n drop is broken so, sudo.vbs is a lifesaver

@khanhtranngoccva
Copy link

hey I also made a Python script that does the same, except it's one-click (the downside, the link for OpenGapps and MSIXBundle is hardcoded :( )

@khanhtranngoccva
Copy link

khanhtranngoccva commented Oct 26, 2021

WSA_OneClickRun.zip
it's broken, I'll fix later

@actualdankcoder
Copy link

actualdankcoder commented Oct 28, 2021

(the downside, the link for OpenGapps and MSIXBundle is hardcoded :( )
@khanhtranngoccva

store links are temporary so I doubt the msixbundle part would work

@SonaliBendre
Copy link

(the downside, the link for OpenGapps and MSIXBundle is hardcoded :( )
@khanhtranngoccva

store links are temporary so I doubt the msixbundle part would work

You can use https://store.rg-adguard.net/ api

@khanhtranngoccva
Copy link

khanhtranngoccva commented Oct 31, 2021

This one has the API and safe deletion
WSA_OneClickRun.zip
basically downloads everything from the internet now, install WSL and stuff
BTW I forget, the autorun shortcut does not work :(

EDIT: check newest pull request, this does not work anymore because of some filename changes

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

Successfully merging this pull request may close these issues.

5 participants