Closed tymondouglas closed 6 months ago
https://raw.githubusercontent.com/sn-o-w/MagiskOnWSALocal/main/scripts/build.sh
Replace everything in your build.sh with the contents in the above URL, then try building again.
I've reverted some code and added the changes I did in a PR that was declined.
Until the upstream code is fixed, this should work.
runned thhe script and got this:COMMAND_LINE=--arch x64 --release-type retail --root-sol magisk --gapps-brand MindTheGapps --remove-amazon --compress --magisk-ver stable --compress-format zip
./build.sh: line 20: $'\r': command not found
./build.sh: line 64: syntax error near unexpected token $'{\r'' '/build.sh: line 64:
umount_clean() {
user@user-PC:~/MagiskOnWSALocal$
https://raw.githubusercontent.com/sn-o-w/MagiskOnWSALocal/main/scripts/build.sh Replace everything in your build.sh with the contents in the above URL, then try building again. I've reverted some code and added the changes I did in a PR that was declined. Until the upstream code is fixed, this should work.
runned thhe script and got this:COMMAND_LINE=--arch x64 --release-type retail --root-sol magisk --gapps-brand MindTheGapps --remove-amazon --compress --magisk-ver stable --compress-format zip ./build.sh: line 20: $'\r': command not found ./build.sh: line 64: syntax error near unexpected token
$'{\r'' '/build.sh: line 64:
umount_clean() { user@user-PC:~/MagiskOnWSALocal$
Work for me. You need to download the script directly in linux enviroment, such as wget in wsl. Or replace all "\r\n" with "\n" by text editor or tool after copy in windows.
@sn-o-w Thanks! It Worked!
https://raw.githubusercontent.com/sn-o-w/MagiskOnWSALocal/main/scripts/build.sh
Replace everything in your build.sh with the contents in the above URL, then try building again.
I've reverted some code and added the changes I did in a PR that was declined.
Until the upstream code is fixed, this should work.
Works 1-27-24
It worked
for those lost, go at the top, see https://github.com/LSPosed/MagiskOnWSALocal/issues/717#issuecomment-1779576833
https://raw.githubusercontent.com/sn-o-w/MagiskOnWSALocal/main/scripts/build.sh
Replace everything in your build.sh with the contents in the above URL, then try building again.
I've reverted some code and added the changes I did in a PR that was declined.
Until the upstream code is fixed, this should work.
I didn't analyze your changes but it worked for me.
https://raw.githubusercontent.com/sn-o-w/MagiskOnWSALocal/main/scripts/build.sh
Replace everything in your build.sh with the contents in the above URL, then try building again.
I've reverted some code and added the changes I did in a PR that was declined.
Until the upstream code is fixed, this should work.
Thank you so much. This method will remain available until 2024.
Steps to reproduce/复现步骤
Expected behaviour/预期行为
Successfully build
Actual behaviour/实际行为
No /output
MagiskOnWSALocal commit full SHA/MagiskOnWSALocal 提交的完整哈希
8548114d793c8aee7ccdb7038c355f44c713834a
Linux distribution info/Linux 发行版信息
WSL2 - Ubuntu 22.04 LTS Also tried in an actual baremetal Ubuntu 22.04 LTS
Windows version/Windows 版本
10.0.22621.2428
Build Parameters/构建参数
COMMAND_LINE=--arch x64 --release-type WIF --root-sol none --gapps-brand MindTheGapps --remove-amazon INFO: Architecture: x64 INFO: Release Type: WIF INFO: Magisk Version: stable INFO: GApps Brand: MindTheGapps INFO: GApps Variant: pico INFO: Root Solution: none Build: RELEASE_TYPE=Insider Fast
Version requirement/版本要求
Logs/日志