Add Windows context menu helper to MSI package by default.

This commit is contained in:
Reinhard Pointner 2019-02-26 22:55:43 +07:00
parent 1d97b4a0b6
commit c5cc97041b
3 changed files with 58 additions and 0 deletions

View File

@ -366,6 +366,9 @@
<copy todir="${dir.staging}/base/lib">
<fileset dir="${dir.lib}/native/win32-${msi.package.platform}" />
</copy>
<copy todir="${dir.staging}/base/menu">
<fileset dir="${dir.installer}/msi/menu" />
</copy>
<exec executable="heat" dir="${dir.staging}" failonerror="true">
<arg line="dir base -v -srd -gg -dr ApplicationBase -cg ApplicationBase -template fragment -sreg -sfrag -scom -out base.wxs" />

View File

@ -0,0 +1,44 @@
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\FileBotCommands]
"MUIVerb"="FileBot"
"SubCommands"="FileBot.Rename.Movie;FileBot.Rename.Series;FileBot.Rename.Anime"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\FileBotCommands]
"MUIVerb"="FileBot"
"SubCommands"="FileBot.Rename.Movie;FileBot.Rename.Series;FileBot.Rename.Anime;FileBot.Script.AMC;FileBot.Script.Artwork.Movie;FileBot.Script.Artwork.Series;FileBot.Script.Subtitles"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\FileBot.Rename.Movie]
@="Rename Movies"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\FileBot.Rename.Movie\command]
@="cmd /c filebot -rename -r \"%1\" --db TheMovieDB --format \"{plex.name}\" -non-strict --log-file context.log"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\FileBot.Rename.Series]
@="Rename TV Series"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\FileBot.Rename.Series\command]
@="cmd /c filebot -rename -r \"%1\" --db TheTVDB --format \"{plex.name}\" -non-strict --log-file context.log"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\FileBot.Rename.Anime]
@="Rename Anime"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\FileBot.Rename.Anime\command]
@="cmd /c filebot -rename -r \"%1\" --db AniDB --format \"{plex.name}\" -non-strict --log-file context.log"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\FileBot.Script.AMC]
@="Import to Video Library"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\FileBot.Script.AMC\command]
@="cmd /c filebot -script fn:amc \"%1\" --output \"%%USERPROFILE%%\\Videos\" -non-strict --log-file context.log"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\FileBot.Script.Artwork.Movie]
@="Fetch Artwork for Movies"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\FileBot.Script.Artwork.Movie\command]
@="cmd /c filebot -script fn:artwork.tmdb \"%1\" -non-strict --log-file context.log"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\FileBot.Script.Artwork.Series]
@="Fetch Artwork for TV Series"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\FileBot.Script.Artwork.Series\command]
@="cmd /c filebot -script fn:artwork.tvdb \"%1\" -non-strict --log-file context.log"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\FileBot.Script.Subtitles]
@="Fetch Subtitles"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\FileBot.Script.Subtitles\command]
@="cmd /c filebot -script fn:suball \"%1\" -non-strict --lang en --log-file context.log"

View File

@ -0,0 +1,11 @@
Windows Registry Editor Version 5.00
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\FileBotCommands]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\FileBotCommands]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\FileBot.Rename.Movie]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\FileBot.Rename.Series]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\FileBot.Rename.Anime]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\FileBot.Script.AMC]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\FileBot.Script.Artwork.Movie]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\FileBot.Script.Artwork.Series]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\FileBot.Script.Subtitles]