* feat: 新增重试上传次数限制 * feat: 新增上传后WebHook设置选项 * feat: 新增上传webhook逻辑 * mod: 将功能配置移至直播配置中的更多设置 * mod: 修改webhook传输的信息 * mod: 修正错误的数据类型 Refactor webhook upload logic and update build configs Replaces the 'uploaded_webhook' field with a 'webhook' postprocessor in the upload workflow, updating both backend and frontend to support this change. Updates the Tauri app to use the correct resource path for the sidecar binary, adjusts process management, and modifies build and workflow scripts for improved compatibility. Also bumps the 'stream-gears' crate version to 1.0.1 and adds '_internal' to .gitignore. Update pyinstaller-publish.yml Fix pyinstaller copy metadata (#1357) * Update tauri.conf.json * Update biliup.spec Update pyinstaller-publish.yml feat: 新增上传重试次数限制和上传结果webhook通知 (#1355) * feat: 新增重试上传次数限制 * feat: 新增上传后WebHook设置选项 * feat: 新增上传webhook逻辑 * mod: 将功能配置移至直播配置中的更多设置 * mod: 修改webhook传输的信息 * mod: 修正错误的数据类型 Refactor webhook upload logic and update build configs Replaces the 'uploaded_webhook' field with a 'webhook' postprocessor in the upload workflow, updating both backend and frontend to support this change. Updates the Tauri app to use the correct resource path for the sidecar binary, adjusts process management, and modifies build and workflow scripts for improved compatibility. Also bumps the 'stream-gears' crate version to 1.0.1 and adds '_internal' to .gitignore.
57 lines
1.3 KiB
RPMSpec
57 lines
1.3 KiB
RPMSpec
# -*- mode: python ; coding: utf-8 -*-
|
|
from PyInstaller.utils.hooks import collect_all, copy_metadata
|
|
|
|
datas = [('biliup/database/migration/', 'biliup/database/migration/'), ('biliup/web/public/', 'biliup/web/public/'), ('biliup/Danmaku/douyin_util/', 'biliup/Danmaku/douyin_util/')]
|
|
binaries = []
|
|
hiddenimports = []
|
|
tmp_ret = collect_all('biliup.plugins')
|
|
datas += tmp_ret[0]; binaries += tmp_ret[1]; hiddenimports += tmp_ret[2]
|
|
# datas += copy_metadata('biliup')
|
|
|
|
a = Analysis(
|
|
['biliup\\__main__.py'],
|
|
pathex=[],
|
|
binaries=binaries,
|
|
datas=datas,
|
|
hiddenimports=hiddenimports,
|
|
hookspath=[],
|
|
hooksconfig={},
|
|
runtime_hooks=[],
|
|
excludes=[],
|
|
noarchive=False,
|
|
optimize=0,
|
|
)
|
|
pyz = PYZ(a.pure)
|
|
|
|
exe = EXE(
|
|
pyz,
|
|
a.scripts,
|
|
[], # a.binaries 从这里移除
|
|
[], # a.datas 从这里移除
|
|
[],
|
|
name='biliup',
|
|
debug=False,
|
|
bootloader_ignore_signals=False,
|
|
strip=False,
|
|
upx=True,
|
|
upx_exclude=[],
|
|
runtime_tmpdir=None,
|
|
console=True,
|
|
disable_windowed_traceback=False,
|
|
argv_emulation=False,
|
|
target_arch=None,
|
|
codesign_identity=None,
|
|
entitlements_file=None,
|
|
icon=['public\\logo.png'],
|
|
)
|
|
|
|
# One-Folder Mode
|
|
coll = COLLECT(
|
|
exe,
|
|
a.binaries,
|
|
a.datas,
|
|
strip=False,
|
|
upx=True,
|
|
upx_exclude=[],
|
|
name='bbup' # 这是最终生成的文件夹的名称
|
|
) |