Commit Graph

89 Commits

Author SHA1 Message Date
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
Syuugo
60f5c87cea Minor Changes 2022-09-03 13:32:52 +09:00
Howard Wu
f09e4f4f9b Minor Changes 2022-09-03 12:24:28 +08:00
Howard Wu
d0cb48c214 Fix artifact name 2022-09-01 11:19:49 +08:00
Howard Wu
2e07425e9f Fix the problem that offline mode reports an error when choosing not to integrate GApps. 2022-09-01 11:11:43 +08:00
Howard Wu
e717deaa1d Show help info if input error 2022-09-01 10:55:19 +08:00
Howard Wu
4142f3b0b9 close #56 2022-09-01 10:40:35 +08:00
Howard Wu
9908c9a909 Check if custom Magisk exists 2022-08-31 01:10:20 +08:00
Howard Wu
cfe108f47c Fix custom Magisk install 2022-08-31 00:50:21 +08:00
Howard Wu
c0fb8f1d2b Show help without reporting errors. 2022-08-31 00:23:41 +08:00
Howard Wu
5d608e3a86 Fix release type selector 2022-08-30 23:57:26 +08:00
Howard Wu
73cb428d1b Check input 2022-08-30 23:47:09 +08:00
Howard Wu
2b493f8e74 Fix offline mode 2022-08-30 21:59:26 +08:00
Howard Wu
d30124de60 Offline mode: more detailed error reporting 2022-08-29 18:51:16 +08:00
Howard Wu
741c7fe611 off-line -> offline 2022-08-29 16:47:59 +08:00
Howard Wu
3eaeeae198
Disable offline mode by default 2022-08-29 16:39:35 +08:00
Howard20181
4e0aca05bd Implement cli 2022-08-29 16:29:54 +08:00