Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\shotgrid]
"URL Protocol"=""
[HKEY_CLASSES_ROOT\shotgrid\shell]
[HKEY_CLASSES_ROOT\shotgrid\shell\open]
[HKEY_CLASSES_ROOT\shotgrid\shell\open\command]
@="python" "~\Shotgrid-AMIs\download_controller.py" "%1"
-
Info - batch file 이용하여 cmd 확인
Registry Editor
[HKEY_CLASSES_ROOT\shotgrid\shell\open\command] @="C:\Windows\System32\cmd.exe" "/k" "{path}\test.bat" "%1"
test.bat
python ~\Shotgrid-AMIs\download_controller.py %1 pause
$ cd ~/.local/share/applications
$ vim shotgrid.desktop
[Desktop Entry]
Name=shotgrid
Type=Application
Exec=python ~/Shotgrid-AMIs/download_controller.py %U
Terminal=true
MimeType=x-scheme-handler/shotgrid;
$ update-desktop-database ~/.local/share/applications/