254 Commits

Author SHA1 Message Date
Howard Wu
bdcb07119c Fix magisk service seclabel 2023-05-16 00:17:04 +08:00
Howard Wu
62ad5d6277 Fix gmscore_app sepolicy 2023-05-15 21:52:17 +08:00
Howard Wu
510e4aac17 Reduce Magisk version requirements to 26.0 2023-05-15 02:24:01 +08:00
Howard Wu
6f9d5f0087 Magisk version 26.1+ required
Magisk below this version will not work on WSA with modules that use custom sepolicy
2023-05-15 02:22:21 +08:00
Howard Wu
5c2218df43
Fix Magisk integration (#536)
Co-authored-by: LoveSy <shana@zju.edu.cn>
2023-05-15 02:07:45 +08:00
Howard Wu
e8d81271f3 Cleanup echo info 2023-05-14 02:30:43 +08:00
Howard Wu
2364c36dbb Fix 2303 build failed
Fix #534

The commit also fixes an issue where the version number
was wrong when getting the download link online at the
same time when WSA was already downloaded
2023-05-14 00:33:09 +08:00
Howard Wu
6d5f3f4a67 Python Dependencies Silent Installation 2023-05-13 21:26:43 +08:00
Howard Wu
d6b7070121 Only use venv when Python version >= 3.11 2023-05-13 21:23:58 +08:00
Howard Wu
fd9569ce6e Add dependency erofs-utils 2023-05-13 20:51:52 +08:00
Howard Wu
cde01be6c8
Fix 2304 build (#531)
Starting with WSA version 2304, the system image is now raw EROFS
wrapped with `vhdx`. In this case, the integration has moved to mount
EROFS and use the mounted directory as `lowerdir`, use OverlayFS to 
make it readable and writeable, and modify it in the merged directory.
2023-05-13 20:45:09 +08:00
Howard Wu
285d43c601 Use Python3 virtual environments
Try to Fix #508
2023-05-12 00:07:27 +08:00
Howard Wu
ad396d6810 Add dependency sudo
Unsupported system without `sudo`
Close #499 #497
2023-04-18 17:11:37 +08:00
Howard Wu
f07cafe63f Don't double quote $SUDO
Try to Fix #497
2023-04-18 16:34:32 +08:00
Howard Wu
d8194364fa Fix dependencies install
Forget to update package list before install
2023-04-17 18:49:34 +08:00
Pawloland
8337c73a1e
Stop run.sh when installing dependencies fails (#490) 2023-04-12 21:13:57 +08:00
Howard Wu
b05bb4fa92 Add KernelSU link hint 2023-04-12 02:48:28 +08:00
Howard Wu
cce4b69776 Init download WSA version value 2023-04-12 02:45:08 +08:00
Howard Wu
73d851f879 Fix Kernel version for 2303 2023-04-12 02:43:07 +08:00
Howard Wu
6649117eeb Format code 2023-04-11 05:06:10 +08:00
Howard Wu
fd51bd872b Do not open and close files in each new thread 2023-04-11 04:55:18 +08:00
Howard Wu
bbfc3c2d29 Refine WSA download links generate
Refine dependencies install
2023-04-11 04:35:46 +08:00
Howard Wu
04103a8fd2 Don't append null parameter
Fix #484
2023-04-10 22:34:49 +08:00
S
1ebd85b105
Change user (#480) 2023-04-07 18:45:29 +08:00
Howard Wu
5d6baa3826 Fix permissions
Fix #478
2023-04-07 01:58:40 +08:00
Howard Wu
e7d94eabdb Delay creation of preinit block 2023-04-06 03:47:33 +08:00
Howard Wu
2e250809f4 Magisk rules dir -> preinit
4e2b88b3d0
2023-04-06 03:11:58 +08:00
Howard Wu
e5542d9e2e Allow stable Magisk 2023-04-06 02:49:09 +08:00
Howard Wu
13ca3b0e1f
Suppress Magisk reinstallation warning (#476)
https://github.com/topjohnwu/Magisk/pull/6691
2023-04-06 02:21:35 +08:00
Howard Wu
04c9029506 Update note 2023-03-29 20:11:29 +08:00
Howard Wu
530d4c574e Fix typo 2023-03-29 20:08:32 +08:00
Howard Wu
699bcf56ee run.sh added usage introduction 2023-03-29 20:05:27 +08:00
Howard Wu
cf1b850905 Add more workaround for Debian 2023-03-29 18:50:56 +08:00
Howard Wu
3b39690fef Remove support for the compression format tar.xz
This format has a very large memory requirement for generation, about 16GB, even with a fallback to a single-threaded compression step, which would be very slow.
This format is not widely used on Windows, and decompression is a pain.
The 7z format has a better balance of size and performance requirements.
2023-03-26 22:44:33 +08:00
Howard Wu
02621fc608 Revert "Don't use extractall"
This commit revert c04ad6660d6579c3dd4a2c20f44a734a18c7becc
2023-03-26 22:03:25 +08:00
Howard Wu
c04ad6660d Don't use extractall 2023-03-26 20:55:40 +08:00
Howard Wu
86759ad241 All Python scripts use relative path 2023-03-26 20:34:44 +08:00
Howard Wu
975bdcf4d8 Use absolute path when unzip WSA 2023-03-26 16:51:56 +08:00
Howard Wu
e7b1e89ada Show more info when extracting WSA 2023-03-26 12:00:04 +08:00
Howard Wu
d0e92b2395 Show more info when extracting WSA 2023-03-26 11:26:20 +08:00
Howard Wu
58e17da60a Don't filter any Python warnings 2023-03-24 22:53:48 +08:00
Howard Wu
8e3eef35a9 Force upgrade ca-certificates
People constantly suggest adding this #61 #431 #432
Close #432
2023-03-20 03:23:21 +08:00
Howard Wu
87ec298263
Fix resources merge for 2302 (#430)
Fix #424
2023-03-20 01:23:33 +08:00
Howard Wu
81d59ad9dd
Refine menu (#427)
Close #426
2023-03-19 19:34:31 +08:00
Howard Wu
22d67db126 Enable qemu-img convert Quiet mode 2023-03-18 18:49:31 +08:00
Howard Wu
e54892a94e Cleanup 2023-03-18 17:55:35 +08:00
Howard Wu
65c7c2670d Remove dependency wine, winetricks
Now `makepri` run at first-time install
2023-03-18 17:49:49 +08:00
Howard Wu
a7421623b8 Fix typo 2023-03-18 13:59:21 +08:00
Howard Wu
9236fac730
Support 2302 (vhdx) (#416)
* Announcement not supported 2302

Will switch to Powershell scripts that require running under Windows 11

* Support 2302

* format

* Update makepri

* Refine quotes

* Refine quotes +1

* Refine quotes *3

* Fix KernelSU Magisk fallback

* Fix KernelSU build

* Refine resources merge

* Update build.sh

* Refine resize
2023-03-18 13:56:49 +08:00
Howard Wu
58d25e9959 Remove dependency setools 2023-03-16 20:23:02 +08:00