WSAGAScript icon indicating copy to clipboard operation
WSAGAScript copied to clipboard

Create script wrapper to simplify things and etc

Open cupang-afk opened this issue 4 years ago • 5 comments

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

cupang-afk avatar Oct 26 '21 07:10 cupang-afk

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 avatar Oct 26 '21 07:10 khanhtranngoccva

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

khanhtranngoccva avatar Oct 26 '21 07:10 khanhtranngoccva

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

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

actualdankcoder avatar Oct 28 '21 12:10 actualdankcoder

(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

SonaliBendre avatar Oct 28 '21 22:10 SonaliBendre

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

khanhtranngoccva avatar Oct 31 '21 05:10 khanhtranngoccva