Commit graph

111 commits

Author SHA1 Message Date
Howard Wu
cde01be6c8
Fix 2304 build ()
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 
2023-05-12 00:07:27 +08:00
Howard Wu
ad396d6810 Add dependency sudo
Unsupported system without `sudo`
Close  
2023-04-18 17:11:37 +08:00
Howard Wu
f07cafe63f Don't double quote $SUDO
Try to Fix 
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
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
bbfc3c2d29 Refine WSA download links generate
Refine dependencies install
2023-04-11 04:35:46 +08:00
Howard Wu
5d6baa3826 Fix permissions
Fix 
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 ()
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
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
87ec298263
Fix resources merge for 2302 ()
Fix 
2023-03-20 01:23:33 +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) ()
* 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
fa79cc8480
Support integrate KernelSU ()
* Support integrate KernelSU

* Fix zip MIME type

* Better print
2023-03-08 22:40:19 +08:00
Howard Wu
b7778ffcec Don't ignore SC2086
Fix 
Some user run the build script as root user, which cause makepri failed to read files from work dir, this change force using wine when run build in root user
2023-03-07 17:55:46 +08:00
LoveSy
db56036594
No need DT_NEEDED 2023-03-04 21:01:00 +08:00
Howard Wu
081213a1ed Enforce Magisk 24.0+ 2023-03-04 03:14:45 +08:00
Howard Wu
cfea6309d5 Mount SELinux policy path 2023-03-04 03:09:32 +08:00
Howard Wu
e5554ed61b Prepare worker
4318ab5cd2
2023-03-04 00:39:33 +08:00
Howard Wu
357e2e8bf1 Change variable name 2023-03-04 00:10:12 +08:00
Howard20181
312cc188e0 Add an alert that OpenGApps will fail to start
Close 
2023-01-29 03:47:34 +08:00
Howard20181
bbcb14caa4 Get MindTheGApps from Github
Temporary fix for 
2023-01-19 23:17:26 +08:00
Fernando Fernández
a5f46350b8
Separating the install script from the build script and warn on uninstall ()
Co-authored-by: Howard20181 <40033067+Howard20181@users.noreply.github.com>
2023-01-11 20:54:39 +08:00
Howard20181
3c7be0aa1c Get WSA version before extract 2023-01-11 17:27:06 +08:00
Howard20181
d41bee363b Fix offline mode GApps version 2023-01-11 17:05:56 +08:00
ISHANSH LAL (a.K.a t-RED)
8cc5f9c1ab
Rewrite random character generator ()
Co-authored-by: Howard20181 <40033067+Howard20181@users.noreply.github.com>
2023-01-11 16:36:49 +08:00
Syuugo
30816216a0
Fix output messages () 2023-01-11 16:12:20 +08:00
Howard20181
f9a8b78ed5 Properly clean up the working directory 2023-01-03 18:04:05 +08:00
Howard20181
d3a055c591 Fix merge res 2023-01-03 16:47:58 +08:00
Howard20181
6199cc938e Merge successfully before continuing to modify AppxManifest.xml 2023-01-02 17:39:29 +08:00
Howard20181
c4d06eecd0 Always use the Windows environment in WSL 2023-01-02 16:19:10 +08:00
4qwerty7
c143787681
Support no wine execution in WSL ()
Closes 
2023-01-02 15:51:04 +08:00
Howard Wu
39d51aaf44
Close 2022-12-25 18:02:47 +08:00
Howard Wu
be86d42785 Correctly get Magisk version number from zip 2022-12-11 22:57:45 +08:00
Howard Wu
50ee54c122 Minor change 2022-12-11 18:54:56 +08:00
Howard Wu
cb597c27fb Update magiskrc
1. Handle zygote restarts
2. Low case service names
2022-12-11 18:52:14 +08:00
Syuugo
e5f25504a0
Added artifact name more details ()
Co-authored-by: Howard Wu <40033067+Howard20181@users.noreply.github.com>
2022-12-09 20:36:59 +08:00
Syuugo
6e31ee5e53
Compatible with 2211 and later (Remove Amazon Appstore) () 2022-12-09 20:13:22 +08:00
Howard Wu
b71eed35fa Skip merge language resources when they do not exist 2022-12-09 20:11:20 +08:00
Howard Wu
67682f8ca5
Add skip download wsa () 2022-12-09 18:10:28 +08:00