diff --git a/.vscode/launch.json b/.vscode/launch.json index d0b6d27..dd29fff 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,12 +5,19 @@ "version": "0.2.0", "configurations": [ { - "name": "Python 调试程序", + "name": "Python 调试 main", "type": "debugpy", "request": "launch", "program": "src/debug.py", "console": "integratedTerminal" }, + { + "name": "Python 调试 hook", + "type": "debugpy", + "request": "launch", + "program": "src/hook.pyw", + "console": "integratedTerminal" + }, { "command": "make debug", "name": "打包并在虚拟机中运行", diff --git a/.vscode/settings.json b/.vscode/settings.json index a9be085..51a47fa 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,8 @@ { "yaml.schemas": { "https://json.schemastore.org/yamllint.json": "file:///c%3A/Users/Administrator/Desktop/PEinjector/package/cli/manifest.yml" - } + }, + "python.analysis.extraPaths": [ + "./tool" + ] } \ No newline at end of file diff --git a/package/cli/1.reg b/package/cli/1.reg new file mode 100644 index 0000000..809223b Binary files /dev/null and b/package/cli/1.reg differ diff --git a/package/cli/manifest.json b/package/cli/manifest.json index 7fb48e0..ebfc763 100644 --- a/package/cli/manifest.json +++ b/package/cli/manifest.json @@ -28,18 +28,18 @@ } }, "start": { - "icon": [ - { - "name": "CMD", - "command": "cmd", - "args": "", - "icon": "X:/Windows/system32/cmd.exe" - } - ], + "icon": { + "name": "CMD", + "command": "cmd", + "icon": "X:/Windows/system32/cmd.exe" + }, "path": [ "X:/Windows/system32/cli" ] }, + "reg": [ + "1.reg" + ], "keywords": [ "cli", "PEinjector" diff --git a/tool/.keep b/tool/.keep deleted file mode 100644 index e69de29..0000000