Normalize bundled resource permissions and gate Installer payload modes

这个提交包含在:
mac 于 2026-11-06 10:43:03 +08:00 提交
1 父节点 9f5f065977
当前提交 474bff9ea9
2 个文件已更改
+37 -1

没有与搜索条件相匹配的文件

+5 -1
查看文件
@@ -55,8 +55,12 @@ def main():
print('Building final Release',flush=True)
run('xcodebuild','-project','大鱼调色.xcodeproj','-scheme','Wrapper Application','-configuration','Release','-enableAddressSanitizer','NO','-derivedDataPath',str(CACHE/'DerivedData'),'clean','build',log=CACHE/'release-build.log')
b=APP/'Contents/Resources/FCP Templates/大鱼调色.moef';b.parent.mkdir(parents=True,exist_ok=True);shutil.copy2(ROOT/'template/大鱼调色.moef',b)
b.chmod(0o644)
for name in ['large.png','small.png']:
if (ROOT/'template'/name).exists():shutil.copy2(ROOT/'template'/name,b.parent/name)
if (ROOT/'template'/name).exists():
target=b.parent/name;shutil.copy2(ROOT/'template'/name,target);target.chmod(0o644)
# Sources on exFAT can be exposed as owner-only. Installer changes ownership to root.
(APP/'Contents/Resources/Basis_balanceWheel.png').chmod(0o644)
identity(APP,'com.dayu.color');plugin=APP/PLUGIN;identity(plugin,'com.dayu.color.XPC')
# Xcode registers its build product with Launch Services. Keep the host from
# discovering this generated copy while signing/notarization are pending.