diff --git a/go.mod b/go.mod index ded0e61..17e009c 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module datesorter +module dategrouper go 1.23.6 diff --git a/install_context_menu.reg b/install_context_menu.reg new file mode 100644 index 0000000..be02b81 --- /dev/null +++ b/install_context_menu.reg @@ -0,0 +1,19 @@ +Windows Registry Editor Version 5.00 + +[HKEY_CURRENT_USER\Software\Classes\Directory\shell\Group by date] +@="Group by date" + +[HKEY_CURRENT_USER\Software\Classes\Directory\shell\Group by date\command] +@="C:\\Users\\administrator\\go\\bin\\dategrouper.exe \"%1\"" + +[HKEY_CURRENT_USER\Software\Classes\*\shell\Group by date] +@="Group by date" + +[HKEY_CURRENT_USER\Software\Classes\*\shell\Group by date\command] +@="C:\\Users\\administrator\\go\\bin\\dategrouper.exe \"%1\"" + +[HKEY_CURRENT_USER\Software\Classes\AllFileSystemObjects\shell\Group by date] +@="Group by date" + +[HKEY_CURRENT_USER\Software\Classes\AllFileSystemObjects\shell\Group by date\command] +@="C:\\Users\\administrator\\go\\bin\\dategrouper.exe %*" \ No newline at end of file diff --git a/uninstall_context_menu.reg b/uninstall_context_menu.reg new file mode 100644 index 0000000..47c9e86 --- /dev/null +++ b/uninstall_context_menu.reg @@ -0,0 +1,8 @@ +Windows Registry Editor Version 5.00 + +[-HKEY_CURRENT_USER\Software\Classes\Directory\shell\Group by date] +[-HKEY_CURRENT_USER\Software\Classes\Directory\shell\Group by date\command] +[-HKEY_CURRENT_USER\Software\Classes\*\shell\Group by date] +[-HKEY_CURRENT_USER\Software\Classes\*\shell\Group by date\command] +[-HKEY_CURRENT_USER\Software\Classes\AllFileSystemObjects\shell\Group by date] +[-HKEY_CURRENT_USER\Software\Classes\AllFileSystemObjects\shell\Group by date\command] \ No newline at end of file