feat: update license and enhance README; add Xiaohe Shuangpin registry settings

This commit is contained in:
siujamo
2026-03-17 15:43:11 +08:00
parent 3e8a63f59f
commit 901eb175e5
6 changed files with 71 additions and 19 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004 Version 2, December 2004
Copyright (C) 2025 Jam'o Siu <jamo.siu@outlook.com> Copyright (C) 2025 OnixByte <opensource@onixbyte.com>
Everyone is permitted to copy and distribute verbatim or modified Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long copies of this license document, and changing it is allowed as long
+19 -5
View File
@@ -1,11 +1,25 @@
# Shell Scripts # Shell Scripts
A curated collection of custom scripts developed and utilised throughout our software development lifecycle. These utilities address common development challenges, automate repetitive tasks, and enhance workflow efficiency. A collection of utility scripts for system and development task automation across Windows platforms. These scripts streamline common administrative tasks and enhance productivity.
This repository contains a variety of bespoke scripts for Windows and Unix-like systems, including route management utilities, environment configuration helpers, and development workflow accelerators. Each script is designed to solve particular challenges encountered during our development process. ## Contents
Organised by platform and purpose, these tools have been refined through practical use to optimise development workflows and system management tasks. ### Windows Scripts
--- - **RouteManager.ps1** - PowerShell utility for managing network route configurations
- **switch-right-click-menu-to-win10.cmd** - Switches Windows Explorer context menu to Windows 10 style
- **switch-right-click-menu-to-win11.cmd** - Switches Windows Explorer context menu to Windows 11 style
- **xiaoheshuangpin.reg** - Registry configuration for Xiaohe Shuangpin (小鹤双拼) Chinese input method
> Note: These scripts are primarily intended for internal use and may require customisation for your specific environment. Proper privilege elevation is implemented where system-level changes are required. ## Usage
1. Review the specific script documentation before use
2. Ensure appropriate permissions (administrator privileges may be required for system-level changes)
3. Customise settings as needed for your environment
4. Run the script from your preferred command-line interface
## Notes
- Scripts are designed for specific platforms and organised by operating system
- Some operations require elevated privileges
- Test in a non-production environment first if uncertain about the impact
-13
View File
@@ -1,13 +0,0 @@
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\InputMethod\Settings\CHS]
"Enable Cloud Candidate"=dword:00000000
"Enable Dynamic Candidate Ranking"=dword:00000001
"EnableExtraDomainType"=dword:00000001
"Enable self-learning"=dword:00000001
"EnableSmartSelfLearning"=dword:00000001
"EnableLiveSticker"=dword:00000000
"Enable EUDP"=dword:00000001
"Enable Double Pinyin"=dword:00000001
"UserDefinedDoublePinyinScheme0"="小鹤双拼*2*^*iuvdjhcwfg^xmlnpbksqszxkrltvyovt"
"DoublePinyinScheme"=dword:0000000a
@@ -1,3 +1,11 @@
REM This script switches the right-click context menu to Windows 10 style
REM by modifying the registry and restarting Windows Explorer
REM Add registry entry to disable Windows 11 context menu
reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve
REM Terminate Windows Explorer process
taskkill /f /im explorer.exe taskkill /f /im explorer.exe
REM Restart Windows Explorer to apply changes
start explorer.exe start explorer.exe
@@ -1,3 +1,11 @@
REM This script switches the right-click context menu to Windows 11 style
REM by modifying the registry and restarting Windows Explorer
REM Delete registry entry to enable Windows 11 context menu
reg delete "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}" /f reg delete "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}" /f
REM Terminate Windows Explorer process
taskkill /f /im explorer.exe taskkill /f /im explorer.exe
REM Restart Windows Explorer to apply changes
start explorer.exe start explorer.exe
+35
View File
@@ -0,0 +1,35 @@
Windows Registry Editor Version 5.00
; Configure Chinese (Simplified) Input Method settings for Xiaoheshuangpin (小鹤双拼) scheme
; This registry file sets up the double pinyin input method preferences
[HKEY_CURRENT_USER\Software\Microsoft\InputMethod\Settings\CHS]
; Disable cloud-based candidate suggestions
"Enable Cloud Candidate"=dword:00000000
; Enable dynamic candidate ranking based on usage
"Enable Dynamic Candidate Ranking"=dword:00000001
; Enable extra domain-specific dictionaries
"EnableExtraDomainType"=dword:00000001
; Enable self-learning from user input
"Enable self-learning"=dword:00000001
; Enable smart self-learning
"EnableSmartSelfLearning"=dword:00000001
; Disable live sticker suggestions
"EnableLiveSticker"=dword:00000000
; Enable EUDP (Extended User Dictionary Pinyin)
"Enable EUDP"=dword:00000001
; Enable double pinyin input method
"Enable Double Pinyin"=dword:00000001
; Define custom double pinyin scheme mapping for Xiaoheshuangpin layout
"UserDefinedDoublePinyinScheme0"="小鹤双拼*2*^*iuvdjhcwfg^xmlnpbksqszxkrltvyovt"
; Set active double pinyin scheme to custom scheme (0x0a = 10)
"DoublePinyinScheme"=dword:0000000a