build: prepare complete V1.2.1 runtime and Gitea regression workflow
Core regression / Python core and release configuration (push) Failing after 1m52s
Core regression / Python core and release configuration (push) Failing after 1m52s
This commit is contained in:
1 parent
344a2797b0
commit
cd9431985e
8 files changed
+99
-16
No files matched your search
@@ -3,14 +3,11 @@
|
||||
|
||||
from pathlib import Path
|
||||
import shutil
|
||||
import sys
|
||||
|
||||
import win32com.client.gencache
|
||||
|
||||
|
||||
project_root = Path(SPECPATH).parent
|
||||
sys.path.insert(0, str(project_root / 'packaging'))
|
||||
from dsh_runtime_staging import stage_node_modules
|
||||
generated_root = project_root / "build" / "DxPartReplace-generated"
|
||||
generated_root.mkdir(parents=True, exist_ok=True)
|
||||
viewdraw_api = win32com.client.gencache.EnsureModule(
|
||||
@@ -21,7 +18,7 @@ if viewdraw_api is None:
|
||||
shutil.copyfile(viewdraw_api.__file__, generated_root / "viewdraw_api.py")
|
||||
legacy_runtime_datas = [
|
||||
(
|
||||
str(project_root / 'src/dx_productivity/trial_task_center/assets/app.ico'),
|
||||
str(project_root / 'src/dx_productivity/trial_task_center/assets'),
|
||||
'dx_productivity/trial_task_center/assets',
|
||||
),
|
||||
(
|
||||
@@ -41,8 +38,9 @@ if (dsh_root / 'issue-bootstrap.json').is_file():
|
||||
if (dsh_root / 'node_modules' / '@deepseek-ai' / 'dsh' / 'package.json').is_file():
|
||||
if not (dsh_root / 'issue-bootstrap.json').is_file():
|
||||
raise RuntimeError('Provision the DSH issue-only reporter before packaging the native assistant.')
|
||||
staged_node_modules = stage_node_modules(
|
||||
dsh_root / 'node_modules', generated_root / 'dsh-node_modules')
|
||||
# Release distribution keeps the complete installed runtime, including
|
||||
# lazily loaded packages, native binaries, frontend assets and metadata.
|
||||
staged_node_modules = dsh_root / 'node_modules'
|
||||
legacy_runtime_datas.extend([
|
||||
(str(dsh_root / 'start.mjs'), 'dsh-runtime'),
|
||||
(str(dsh_root / 'package.json'), 'dsh-runtime'),
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# UTF-8
|
||||
VSVersionInfo(
|
||||
ffi=FixedFileInfo(
|
||||
filevers=(1, 1, 4, 4),
|
||||
prodvers=(1, 1, 4, 4),
|
||||
filevers=(1, 2, 1, 0),
|
||||
prodvers=(1, 2, 1, 0),
|
||||
mask=0x3f,
|
||||
flags=0x2,
|
||||
OS=0x40004,
|
||||
@@ -15,11 +15,11 @@ VSVersionInfo(
|
||||
StringTable('040904B0', [
|
||||
StringStruct('CompanyName', 'DxProductivity'),
|
||||
StringStruct('FileDescription', 'DxDesigner Part Replacement'),
|
||||
StringStruct('FileVersion', '1.1.4.4'),
|
||||
StringStruct('FileVersion', '1.2.1.0'),
|
||||
StringStruct('InternalName', 'DxPartReplace'),
|
||||
StringStruct('OriginalFilename', 'DxPartReplace.exe'),
|
||||
StringStruct('ProductName', 'DxDesigner Part Replacement'),
|
||||
StringStruct('ProductVersion', '1.1.4-beta.4')
|
||||
StringStruct('ProductVersion', '1.2.1')
|
||||
])
|
||||
]),
|
||||
VarFileInfo([VarStruct('Translation', [1033, 1200])])
|
||||
|
||||
Reference in new issue
Block a user