feat(menu): 新增「综艺整理」,放在第 3 项
- install-explorer-menu.ps1:菜单顺序改为 媒体整理 / 媒体归档 / 综艺整理 / 补外挂字幕 / 入库校验(原 04/05 顺延) - explorer-media-rename.ps1:ActionPlan 增加 variety → media-rename.ps1 variety - 新增 assets/menu/variety.png 与 variety.ico(圆角渐变底 + 白色麦克风, 与其余三个图标同风格,8 个尺寸) - 已重装菜单并重启 explorer,注册表 5 项 action 均正确
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 5.8 KiB |
@@ -54,6 +54,7 @@ $PwshPath = (Get-Process -Id $PID).Path
|
|||||||
|
|
||||||
$ActionPlan = @{
|
$ActionPlan = @{
|
||||||
'archive' = @{ Runner = 'media-archive.ps1'; Extra = @() }
|
'archive' = @{ Runner = 'media-archive.ps1'; Extra = @() }
|
||||||
|
'variety' = @{ Runner = 'media-rename.ps1'; Extra = @('variety') }
|
||||||
'extract-subs' = @{ Runner = 'media-rename.ps1'; Extra = @('extract-subs') }
|
'extract-subs' = @{ Runner = 'media-rename.ps1'; Extra = @('extract-subs') }
|
||||||
'check' = @{ Runner = 'media-rename.ps1'; Extra = @('check') }
|
'check' = @{ Runner = 'media-rename.ps1'; Extra = @('check') }
|
||||||
'rename' = @{ Runner = 'media-rename.ps1'; Extra = @() }
|
'rename' = @{ Runner = 'media-rename.ps1'; Extra = @() }
|
||||||
|
|||||||
@@ -66,8 +66,9 @@ function Get-ItemIcon([string]$name) {
|
|||||||
$items = @(
|
$items = @(
|
||||||
@{ Key = '01-rename'; Text = '媒体整理'; Action = 'rename'; Icon = (Get-ItemIcon 'rename.ico') },
|
@{ Key = '01-rename'; Text = '媒体整理'; Action = 'rename'; Icon = (Get-ItemIcon 'rename.ico') },
|
||||||
@{ Key = '02-archive'; Text = '媒体归档'; Action = 'archive'; Icon = (Get-ItemIcon 'archive.ico') },
|
@{ Key = '02-archive'; Text = '媒体归档'; Action = 'archive'; Icon = (Get-ItemIcon 'archive.ico') },
|
||||||
@{ Key = '03-extract-subs'; Text = '补外挂字幕'; Action = 'extract-subs'; Icon = (Get-ItemIcon 'subtitle.ico') },
|
@{ Key = '03-variety'; Text = '综艺整理'; Action = 'variety'; Icon = (Get-ItemIcon 'variety.ico') },
|
||||||
@{ Key = '04-check'; Text = '入库校验'; Action = 'check'; Icon = (Get-ItemIcon 'check.ico') }
|
@{ Key = '04-extract-subs'; Text = '补外挂字幕'; Action = 'extract-subs'; Icon = (Get-ItemIcon 'subtitle.ico') },
|
||||||
|
@{ Key = '05-check'; Text = '入库校验'; Action = 'check'; Icon = (Get-ItemIcon 'check.ico') }
|
||||||
)
|
)
|
||||||
|
|
||||||
# Relative = ExtendedSubCommandsKey 的值(相对 HKEY_CLASSES_ROOT),同时用于定位注册表路径
|
# Relative = ExtendedSubCommandsKey 的值(相对 HKEY_CLASSES_ROOT),同时用于定位注册表路径
|
||||||
|
|||||||
Reference in New Issue
Block a user