Skip to content

Commit 13250eb

Browse files
committed
fix: support rootless tweaks
1 parent 588972c commit 13250eb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sign.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,10 @@ def extract_deb(app_bin_name: str, app_bundle_id: str, archive: Path, dest_dir:
206206
else:
207207
shutil.copy2(target, file)
208208

209+
rootless_dir = temp_dir2 / "var" / "jb"
210+
if rootless_dir.is_dir():
211+
temp_dir2 = rootless_dir
212+
209213
for glob in [
210214
"Library/Application Support/*/*.bundle",
211215
"Library/Application Support/*", # *.bundle, background@2x.png

0 commit comments

Comments
 (0)