Associate with SWC extension

This commit is contained in:
Liushui
2026-01-16 16:43:49 +08:00
parent 57d4072b6a
commit ab4e7fe2d7
2 changed files with 17 additions and 1 deletions

View File

@@ -81,7 +81,7 @@ public class ContextMenuTools {
}
private static boolean addToContextMenu(boolean add, boolean fromCommandLine, String exeName) {
final String[] extensions = new String[]{"swf", "spl", "gfx", "swt"};
final String[] extensions = new String[]{"swf", "spl", "gfx", "swt", "swc"};
final WinReg.HKEY REG_CLASSES_HKEY = WinReg.HKEY_LOCAL_MACHINE;
final String REG_CLASSES_PATH = "Software\\Classes\\";