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

Installer script that automatically installs WSA with Google Play and root as well as all prerequisites #98

Open
wants to merge 28 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
c8c9cf4
Update README.md
khanhtranngoccva Oct 31, 2021
e93cc28
One-click script wrapper for root + Google Play
khanhtranngoccva Oct 31, 2021
5798d87
One-click precompiled executable file
khanhtranngoccva Oct 31, 2021
d20b58a
Merge branch 'main' of https://github.com/khanhtranngoccva/WSAGAScript
khanhtranngoccva Oct 31, 2021
e6f1205
Update README.md
khanhtranngoccva Oct 31, 2021
94fbbfa
Merge branch 'WSA-Community:main' into main
khanhtranngoccva Nov 1, 2021
2a09970
Improved rollback and updatability
khanhtranngoccva Nov 1, 2021
a194d7e
Improved rollback and updatability
khanhtranngoccva Nov 1, 2021
2d4579d
Minor fixes
khanhtranngoccva Nov 1, 2021
ccad8d1
Minor fixes
khanhtranngoccva Nov 1, 2021
d0abeb0
Uninstaller script
khanhtranngoccva Nov 1, 2021
12cc3a3
Rename for easier use
khanhtranngoccva Nov 1, 2021
5468e24
rename kernel to match newest commit
khanhtranngoccva Nov 1, 2021
74d4b47
Script now checks for CPU architecture
khanhtranngoccva Nov 1, 2021
f4fc633
Minor fixes
khanhtranngoccva Nov 1, 2021
fa51fbb
Merge branch 'WSA-Community:main' into main
khanhtranngoccva Nov 1, 2021
0cc941b
Minor fixes for kernel
khanhtranngoccva Nov 1, 2021
163fc5d
Retries download if it fails for no reason
khanhtranngoccva Nov 1, 2021
943cf1c
Retries download if it fails for no reason
khanhtranngoccva Nov 1, 2021
de2efd4
Retries download if it fails for no reason
khanhtranngoccva Nov 1, 2021
f8e40bd
fixes kernel folder
khanhtranngoccva Nov 1, 2021
8697e2e
fixes kernel folder
khanhtranngoccva Nov 2, 2021
5e8add2
Fixes weird uninstall behavior that deletes the main installation fol…
khanhtranngoccva Nov 3, 2021
37d347d
Fixes stdout checking of uninstall script
khanhtranngoccva Nov 3, 2021
75e04f4
Merge branch 'WSA-Community:main' into main
khanhtranngoccva Nov 26, 2021
bba8be8
Captcha bypass
khanhtranngoccva Mar 26, 2022
73faa19
Merge remote-tracking branch 'origin/main'
khanhtranngoccva Mar 26, 2022
3a9da7c
Merge branch 'WSA-Community:main' into main
khanhtranngoccva May 14, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Improved rollback and updatability
  • Loading branch information
khanhtranngoccva committed Nov 1, 2021
commit a194d7e0577f72cbefe9e0fe9d1b59912c395f27
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
@@ -35,6 +35,7 @@ def cleanup():
remove("./TEMP/WSAGAScript-main")
remove("./TEMP/wsa.zip")
remove("./TEMP/WSAGAScript.zip")
remove("./TEMP/wsl_update_x64.msi")
if os.path.exists("./TEMP"):
for f in os.listdir("./TEMP"):
if fnmatch.fnmatch(f, "*.part*"):
@@ -165,7 +166,7 @@ def cleanup():
# cleans up
print("Cleaning up temporary files.")
cleanup()
install_process = subprocess.run(f"powershell.exe Add-AppxPackage -Registe '{new_install_location}\\AppXManifest.xml'")
install_process = subprocess.run(f"powershell.exe Add-AppxPackage -Register '{new_install_location}\\AppXManifest.xml'")

if not install_process.returncode:
if existing_install_version: