平台兼容性优化

This commit is contained in:
张家训
2026-06-25 16:55:47 +08:00
parent 9215896cea
commit b9e3f13cfd
7 changed files with 242 additions and 77 deletions
@@ -6,6 +6,7 @@ import com.example.workutils.system.plugin.PluginDescriptor;
import com.example.workutils.system.plugin.PluginManager;
import com.example.workutils.system.plugin.VisualPluginFactory;
import com.example.workutils.system.support.JfxBootstrap;
import com.example.workutils.system.support.SystemOpenHelper;
import com.example.workutils.system.support.WinConsole;
import com.example.workutils.system.ui.MainWindow;
import com.example.workutils.system.ui.Theme;
@@ -82,6 +83,7 @@ public class WorkUtilsApplication implements CommandLineRunner {
}
public static void main(String[] args) {
SystemOpenHelper.initialize();
WinConsole.ensureUtf8();
SpringApplication.run(WorkUtilsApplication.class, args);
}