diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..ccbccc3 --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +2.2.0 diff --git a/build b/build index abf40bc..d8e9536 100644 --- a/build +++ b/build @@ -2,16 +2,25 @@ # 我自己用的打包脚本,放在这里方便维护 +set -e + +version=$(cat VERSION) + rm -rf VimDesktop mkdir VimDesktop -cp * VimDesktop -r 2>/dev/null +cp * VimDesktop -r 2>/dev/null || true cp /mnt/c/mine/app/AutoHotkey/AutoHotkeyU32.exe VimDesktop/vimd.exe rm -f VimDesktop/conf/vimd.ini rm -f VimDesktop/build rm -rf VimDesktop/VimDesktop rm -rf VimDesktop/doc/wiki/.git -a VimDesktop-$1.7z VimDesktop +a VimDesktop-$version.7z VimDesktop +mv VimDesktop-$version.7z ~/tmp + +cp /mnt/c/mine/app/AutoHotkey/AutoHotkeyU64.exe VimDesktop/vimd.exe +a VimDesktop-x86_64-$version.7z VimDesktop +mv VimDesktop-x86_64-$version.7z ~/tmp + rm -rf VimDesktop -mv VimDesktop-$1.7z ~/tmp diff --git a/conf/vimd_custom.ini b/conf/vimd_custom.ini index cb6f114..a8ecb22 100644 --- a/conf/vimd_custom.ini +++ b/conf/vimd_custom.ini @@ -21,14 +21,14 @@ enable_debug=0 =run|c:\mine\app\wsl-terminal\vim.exe c:\mine\app\0misc\doc\mine.txt ; win + l:锁屏 ; win + m:最小化所有窗口 -=run|c:\Windows\Sysnative\cmd.exe +=run|c:\Windows\System32\cmd.exe = ; win + p:多显示器 =run|c:\mine\app\wsl-terminal\open-wsl -C ~ -c zsh ; win + r:运行 ; win + s:搜索 = -=run|c:\mine\app\wsl-terminal\vim.exe c:\mine\app\0misc\doc\chrome_key.txt += =run|notepad =run|c:\mine\app\wsl-terminal\open-wsl -a ; win + x:开始按钮右键菜单 @@ -47,7 +47,7 @@ enable_debug=0 = = = -;= +=run|c:\mine\app\wsl-terminal\vim.exe c:\mine\app\0misc\doc\chrome_key.txt ;= ;= ;=