Commit Graph

105 Commits

Author SHA1 Message Date
Howard Wu
0bb1cfe3fc Fallback to apk if magisk zip not found 2022-10-26 22:28:04 +08:00
Howard Wu
064688d940 Fix Magisk stub permission 2022-10-24 22:25:13 +08:00
Howard Wu
8367bf2b60 Minor Changes 2022-10-22 18:57:06 +08:00
Howard Wu
ff4ca1921d OUTPUT_NAME -> OUTPUT_PATH 2022-10-22 18:32:39 +08:00
Howard Wu
ac4f52ac49 Supports compression using zip format 2022-10-22 18:30:46 +08:00
Howard Wu
1fc795b7fe Supports compression using xz format
Close #203
2022-10-22 01:03:02 +08:00
Howard Wu
b092bcefe1 Update build.sh
Unable to detect if it is in Windows terminal
2022-10-05 22:20:14 +08:00
Howard Wu
97dba57d42 Update installation script
Make sure to run Powershell on the Administrator account using the console host
Check the version before installing dependencies, and install dependencies only if needed
2022-10-05 21:47:46 +08:00
Howard Wu
db46b5eb1d Fix config SELinux label 2022-10-02 19:40:49 +08:00
Syuugo
d072fca386
Fix Improved method of adding features (#162)
Co-authored-by: Howard Wu <40033067+Howard20181@users.noreply.github.com>
2022-10-02 19:31:42 +08:00
Howard Wu
9672e2cfb2
Update installation script
Make sure to run Powershell using the Windows console host
2022-10-02 19:05:08 +08:00
MilkClouds
ed2529e620
Fixed typo related to f.close() (#155) 2022-09-30 00:55:43 +08:00
Howard Wu
105a778eee Manually grant executable privileges to linker
Even though executable permissions have been added to the version control, considering that some people don't use it, they directly download the zip archive and unzip it, which by default has no executable permissions
Close #121
2022-09-24 15:42:37 +08:00
Howard Wu
2564ad0387 Fix OpenSUSE need install package 2022-09-23 17:19:14 +08:00
Howard Wu
0e31e695b3 Preference for whiptail 2022-09-23 17:02:37 +08:00
Howard Wu
97e5072d9f Minor Fixes 2022-09-23 16:43:50 +08:00
Howard Wu
9bf6f6ce1b Also check if sudo exists in run.sh
More distributions supported
Now supports OpenSUSE's default package manager
2022-09-23 16:31:12 +08:00
ShyPixie
dca675e5f6
Make sudo optional 2022-09-22 19:27:11 -03:00
Howard Wu
f3ed2d7a83 Fix /sbin label 2022-09-22 19:46:23 +08:00
Howard Wu
1917586e6b Set SELinux context using setfattr
to make it work properly on distributions that do not support SELinux

Add new dependency `attr`

Close #127
2022-09-22 19:37:17 +08:00
Howard Wu
e3ca2a6e2e close #122 2022-09-22 14:38:11 +08:00
Howard Wu
42f56d9af4 Request root access only when all files are present in offline mode 2022-09-17 21:23:18 +08:00
Howard Wu
9968805324 Use pathlib instead of os.path 2022-09-17 21:15:44 +08:00
Syuugo
08fbb8d9dc
Add batch script (#116)
Co-authored-by: Howard Wu <40033067+Howard20181@users.noreply.github.com>
2022-09-17 20:38:33 +08:00
Howard Wu
823f1895d0 Fix stupid mistake 2022-09-17 00:57:15 +08:00
Howard Wu
2a86e252a2 Minor change 2022-09-16 19:32:04 +08:00
Howard Wu
d296e27659 Fix Play Services SElinux Policy
close #55
2022-09-16 16:22:45 +08:00
Howard Wu
317fb94198 Update run.sh 2022-09-15 00:38:43 +08:00
Howard Wu
48bf7f8d15 Update run.sh 2022-09-15 00:38:03 +08:00
bri
adac723617
add 7zip to check_dependencies() in run.sh (#111) 2022-09-15 00:36:18 +08:00
Howard Wu
32c19f2f03 Workaround #108 2022-09-13 19:11:45 +08:00
Howard Wu
afb6e676d5 Make MindTheGapps default 2022-09-10 15:02:46 +08:00
Howard Wu
2c3240a7ee Minor changes 2022-09-10 14:58:18 +08:00
Syuugo
37b59237d7
Build x86_64 with MindTheGappsBuilder (#94)
Co-authored-by: Howard Wu <40033067+Howard20181@users.noreply.github.com>
2022-09-10 14:40:21 +08:00
Howard Wu
29c373b9fd Get Magisk link: Fallback to Jsdelivr
Some regions can't connect to Github smoothly. Fallback to Jsdelivr.
2022-09-09 18:46:41 +08:00
Howard Wu
5f10ebcd29
close #85 2022-09-08 10:21:50 +08:00
Howard Wu
a93e299f91 Selectable temporary directory locations
Uncomment `export TMPDIR=$PARENT_DIR/WORK_DIR_` to use the source directory as the working directory
This allows the script to work on devices with low `/tmp`
 storage space
close #31
2022-09-07 19:53:36 +08:00
Howard Wu
6d9f1e8754 close #76 2022-09-06 16:15:22 +08:00
Howard Wu
dca2264212
Merge pull request #70 from s1204IT/main 2022-09-05 13:47:19 +08:00
Howard Wu
89bf502389 Install dependencies only if needed 2022-09-05 13:41:13 +08:00
Syuugo
4f3a5e3587
Fix 2022-09-04 23:44:31 +09:00
Howard Wu
70bb0fdb8f Formatting codes 2022-09-04 00:43:31 +08:00
Howard Wu
bc48faf17a Rewrite usage. 2022-09-04 00:32:32 +08:00
Howard Wu
0d08462c49 Change the integration GApps conditions 2022-09-03 23:44:52 +08:00
Howard Wu
1591313b20 Remove duplicate product size calculation. 2022-09-03 23:18:38 +08:00
someone5678
07d36084cc scripts: Fix MindTheGapps integration
* Fix MindTheGapps integration failure in build.sh due to missing element in GAPPS_BRAND_MAP and GAPPS_VARIANT_MAP
* Change MindTheGApps to MindTheGapps as that is the official name of the project[1]
* Add PRODUCT_SIZE caculation as MindTheGApps has gapps blobs and packages in product partion too

ref:
[1] https://gitlab.com/MindTheGapps/vendor_gapps
2022-09-03 23:30:34 +09:00
Howard Wu
b03a18f7d1 Enable file integrity checks and resume incomplete downloads 2022-09-03 21:50:35 +08:00
Howard Wu
a400bd362f
Merge pull request #66 from kokarare1212/patch-1 2022-09-03 21:27:18 +08:00
Syuugo
2ef1502adc
Eliminate ca-certificates 2022-09-03 22:19:03 +09:00
碧舞すみほ
c111114d24
Update build.sh
Fix nameserver timeout error
2022-09-03 19:40:44 +09:00