release: prepare 1.11.0 canvas tools and rebuild native template metadata
这个提交包含在:
1 父节点
1c3e294ce9
当前提交
2711e0016e
15 个文件已更改
+134
-24
没有与搜索条件相匹配的文件
+2
-2
@@ -35,7 +35,7 @@ def unregister(path):
|
||||
reg=run('pluginkit','-m','-A','-D','-v','-i','com.dayu.color.XPC')
|
||||
if any(l.rstrip().endswith('\t'+str(path)) for l in reg.splitlines()):run('pluginkit','-r',str(path))
|
||||
def self_test(executable,report):
|
||||
result=subprocess.run([str(executable),'--self-test'],cwd=ROOT,text=True,capture_output=True)
|
||||
result=subprocess.run([str(executable),'--self-test'],cwd=ROOT,text=True,capture_output=True,env=dict(os.environ,DY_DIAGNOSTIC_FACE_FIXTURE=str(ROOT/'tools/fixtures/astronaut.png')))
|
||||
report.write_text(result.stdout)
|
||||
report.with_suffix('.stderr').write_text(result.stderr)
|
||||
try:parsed=json.loads(result.stdout)
|
||||
@@ -53,7 +53,7 @@ def main():
|
||||
if IDENTITY not in ids:raise RuntimeError('有效发布证书或私钥不可用')
|
||||
if any(l.endswith('/Contents/MacOS/大鱼调色') for l in run('ps','-axo','comm=').splitlines()):raise RuntimeError('请先正常退出当前大鱼调色窗口')
|
||||
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')
|
||||
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)
|
||||
for name in ['large.png','small.png']:
|
||||
if (ROOT/'template'/name).exists():shutil.copy2(ROOT/'template'/name,b.parent/name)
|
||||
|
||||
在新工单中引用
屏蔽一个用户