【修改】试卷、试卷任务删除增加判断逻辑,ps增加注册表版本

This commit is contained in:
huababa1
2025-07-07 19:47:11 +08:00
parent 794697fdbc
commit 594056f6cc
7 changed files with 75 additions and 20 deletions

View File

@@ -30,7 +30,13 @@ public class PsUtil {
public static String findPhotoshopExe() {
String[] regPaths = {
"HKLM\\SOFTWARE\\Classes\\Applications\\Photoshop.exe\\shell\\edit\\command",
"HKLM\\SOFTWARE\\WOW6432Node\\Classes\\Applications\\Photoshop.exe\\shell\\edit\\command"
"HKLM\\SOFTWARE\\WOW6432Node\\Classes\\Applications\\Photoshop.exe\\shell\\edit\\command",
"HKCU\\SOFTWARE\\Classes\\Applications\\Photoshop.exe\\shell\\edit\\command",
"HKLM\\SOFTWARE\\Adobe\\Photoshop",
"HKLM\\SOFTWARE\\WOW6432Node\\Adobe\\Photoshop",
"HKCR\\Photoshop.Image.13\\shell\\edit\\command",
"HKCR\\Photoshop.Image.13\\protocol\\StdFileEditing\\server",
"HKCR\\Photoshop.Image.13\\DefaultIcon",
};
for (String path : regPaths) {