This commit is contained in:
2026-03-24 11:04:45 +08:00
parent cc9942e480
commit 5c43a1fc5e
26 changed files with 34 additions and 9 deletions
+16 -7
View File
@@ -1,12 +1,21 @@
# Right_bash
右键Bash(Bash on Debian on Windows)
# Help
Right_bash.exe -h,? print help
Right_bash.exe -a add Registry
Right_bash.exe -d delete Registry
Right_bash.exe -b Start SSH on boot
Right_bash.exe -p Turn off and start SSH
## Help
```powershell
PS D:\git.aixiao.me\Right_bash\x64\Release> .\Right_bash.exe -h
Right_bash 4.0 (Smart Check Edition)
Author: aixiao@aixiao.me
Usage: Right_bash.exe [-a | -d] [-b DistroName] [-p DistroName] [-h]
Options:
-h, -? Print help
-a Add Right-click menu (No Admin required)
-d Delete Right-click menu
-b arg Start SSH on boot (e.g., -b Ubuntu)
-p arg Disable SSH on boot (e.g., -p Ubuntu)
PS D:\git.aixiao.me\Right_bash\x64\Release>
```
Binary file not shown.
Binary file not shown.
+6 -1
View File
@@ -1 +1,6 @@

getopt.c
main.cpp
getopt.obj : 找到 MSIL .netmodule 或使用 /GL 编译的模块;正在使用 /LTCG 重新启动链接;将 /LTCG 添加到链接命令行以改进链接器性能
正在生成代码
已完成代码的生成
Right_bash.vcxproj -> D:\git.aixiao.me\Right_bash\x64\Release\Right_bash.exe
Binary file not shown.
@@ -0,0 +1,2 @@
D:\git.aixiao.me\Right_bash\src\getopt.c;D:\git.aixiao.me\Right_bash\Right_bash\x64\Release\getopt.obj
D:\git.aixiao.me\Right_bash\src\main.cpp;D:\git.aixiao.me\Right_bash\Right_bash\x64\Release\main.obj
@@ -0,0 +1,2 @@
^D:\GIT.AIXIAO.ME\RIGHT_BASH\RIGHT_BASH\ICON.ICO
C:\Users\aixiao\icon.ico
@@ -0,0 +1 @@
^D:\GIT.AIXIAO.ME\RIGHT_BASH\RIGHT_BASH\ICON.ICO
@@ -0,0 +1,2 @@
^D:\GIT.AIXIAO.ME\RIGHT_BASH\RIGHT_BASH\ICON.ICO
C:\USERS\AIXIAO\ICON.ICO
@@ -0,0 +1,2 @@
PlatformToolSet=v145:VCToolArchitecture=Native64Bit:VCToolsVersion=14.50.35717:VCServicingVersionCompilers=14.50.35727:TargetPlatformVersion=10.0.26100.0:
Release|x64|D:\git.aixiao.me\Right_bash\|
@@ -0,0 +1,2 @@
^D:\GIT.AIXIAO.ME\RIGHT_BASH\RIGHT_BASH\X64\RELEASE\GETOPT.OBJ|D:\GIT.AIXIAO.ME\RIGHT_BASH\RIGHT_BASH\X64\RELEASE\MAIN.OBJ|D:\GIT.AIXIAO.ME\RIGHT_BASH\RIGHT_BASH\X64\RELEASE\RESOURCE.RES|D:\GIT.AIXIAO.ME\RIGHT_BASH\RIGHT_BASH\X64\RELEASE\RIGHT_BASH.RES
D:\git.aixiao.me\Right_bash\Right_bash\x64\Release\Right_bash.iobj
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -22,7 +22,7 @@ void help()
0
};
static const char name[] = "Right_bash 4.0 (Smart Check Edition)";
static const char usage[] = "Usage: program.exe [-a][-d] [-b DistroName] [-p DistroName] [-h]";
static const char usage[] = "Usage: Right_bash.exe [-a][-d] [-b DistroName] [-p DistroName] [-h]";
static const char author[] = "Author: aixiao@aixiao.me";
printf("%s\n", name);
Binary file not shown.
Binary file not shown.