about summary refs log tree commit diff
path: root/fun/uggc/uggc.reg
diff options
context:
space:
mode:
authorKane York <kanepyork@gmail.com>2020-06-15T17·20-0700
committerriking <rikingcoding@gmail.com>2020-06-15T18·19+0000
commit2237a51d10c7ffd30ca3ef08762212f271fee01e (patch)
treeadefa578d60dc934743eaa2f394155e6ad191658 /fun/uggc/uggc.reg
parent9885b70b7aa8e90da930a2cab2af9318d4bede88 (diff)
feat(fun/uggc): create a rot13 url handler r/968
Example usage:
$ /nix/store/9kgpv4n62vhxs971jkvwvvl3msm4wpm8-uggc/bin/uggc 'uggcf://gjvggre.pbz/alnabgrpu/fgnghf/1272363652679524352'

Change-Id: I8fd5f77416116ce1a6ab7f96d3f2c726ef663677
Reviewed-on: https://cl.tvl.fyi/c/depot/+/386
Reviewed-by: tazjin <mail@tazj.in>
Reviewed-by: eta <eta@theta.eu.org>
Diffstat (limited to 'fun/uggc/uggc.reg')
-rw-r--r--fun/uggc/uggc.reg23
1 files changed, 23 insertions, 0 deletions
diff --git a/fun/uggc/uggc.reg b/fun/uggc/uggc.reg
new file mode 100644
index 0000000000..bfb8e1952f
--- /dev/null
+++ b/fun/uggc/uggc.reg
@@ -0,0 +1,23 @@
+Windows Registry Editor Version 5.00
+
+[HKEY_CLASSES_ROOT\uggc]
+"URL Protocol"=""
+@="URL:Rot13 HTTP URL Protocol"
+
+[HKEY_CLASSES_ROOT\uggcf]
+"URL Protocol"=""
+@="URL:Rot13 HTTPS URL Protocol"
+
+[HKEY_CLASSES_ROOT\uggc\shell]
+
+[HKEY_CLASSES_ROOT\uggcf\shell]
+
+[HKEY_CLASSES_ROOT\uggc\shell\open]
+
+[HKEY_CLASSES_ROOT\uggcf\shell\open]
+
+[HKEY_CLASSES_ROOT\uggc\shell\open\command]
+@="\"C:\\Program Files\\uggc\\uggc.exe\" \"%1\""
+
+[HKEY_CLASSES_ROOT\uggcf\shell\open\command]
+@="\"C:\\Program Files\\uggc\\uggc.exe\" \"%1\""