【修改】试卷、试卷任务删除增加判断逻辑,ps增加注册表版本
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user