docs: record notarized build 2, FCP acceptance and remote recovery
这个提交包含在:
1 父节点
ce7e0a3371
当前提交
4da4620c09
13 个文件已更改
+455
-307
没有与搜索条件相匹配的文件
@@ -40,6 +40,8 @@ def main():
|
||||
print('Building final Release',flush=True)
|
||||
run('xcodebuild','-project','大鱼调色.xcodeproj','-scheme','Wrapper Application','-configuration','Release','-derivedDataPath',str(CACHE/'DerivedData'),'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)
|
||||
for name in ['large.png','small.png']:
|
||||
if (ROOT/'template'/name).exists():shutil.copy2(ROOT/'template'/name,b.parent/name)
|
||||
identity(APP,'com.dayu.color');plugin=APP/PLUGIN;identity(plugin,'com.dayu.color.XPC')
|
||||
for name in ['FxPlug','PluginManager']:run('codesign','--force','--timestamp','--options','runtime','--sign',IDENTITY,str(plugin/'Contents/Frameworks'/(name+'.framework')))
|
||||
run('codesign','--force','--timestamp','--options','runtime','--sign',IDENTITY,str(plugin))
|
||||
@@ -76,6 +78,11 @@ def main():
|
||||
TEMPLATE.parent.mkdir(parents=True,exist_ok=True)
|
||||
if TEMPLATE.exists():shutil.copy2(TEMPLATE,CACHE/'previous-template.moef')
|
||||
tmp=TEMPLATE.with_name('.dayu-color-template-stage.moef');shutil.copy2(DEST/'Contents/Resources/FCP Templates/大鱼调色.moef',tmp);os.replace(tmp,TEMPLATE)
|
||||
for name in ['large.png','small.png']:
|
||||
source=DEST/'Contents/Resources/FCP Templates'/name;target=TEMPLATE.parent/name
|
||||
if source.exists():
|
||||
if target.exists():os.chflags(target,0)
|
||||
shutil.copy2(source,target);os.chflags(target,2)
|
||||
# All generated copies are removed before final registry/host verification.
|
||||
for copy,expected in [(APP,'com.dayu.color'),(LOOSE,'com.dayu.color.XPC')]+([(old,'com.dayu.color')] if old else []):
|
||||
if copy.exists():identity(copy,expected);unregister(copy/PLUGIN if copy.suffix=='.app' else copy);shutil.rmtree(copy)
|
||||
|
||||
在新工单中引用
屏蔽一个用户