fix
Hentua
2023-06-21 04bba509b1b557f0981ff525c35c628a23397bae
src/main/java/cc/mrbird/febs/common/runner/FebsStartedUpRunner.java
@@ -63,17 +63,17 @@
            log.info("/ /`  / / \\ | |\\/| | |_) | |   | |_   | |  | |_  ");
            log.info("\\_\\_, \\_\\_/ |_|  | |_|   |_|__ |_|__  |_|  |_|__ ");
            log.info("                                                      ");
            log.info("美澳商城 权限系统启动完毕,地址:{}", url);
            log.info("国潮奢美 权限系统启动完毕,地址:{}", url);
            boolean auto = febsProperties.isAutoOpenBrowser();
            if (auto && StringUtils.equalsIgnoreCase(active, FebsConstant.DEVELOP)) {
                String os = System.getProperty("os.name");
                // 默认为 windows时才自动打开页面
                if (StringUtils.containsIgnoreCase(os, FebsConstant.SYSTEM_WINDOWS)) {
                    //使用默认浏览器打开系统登录页
                    Runtime.getRuntime().exec("cmd  /c  start " + url);
                }
            }
//            boolean auto = febsProperties.isAutoOpenBrowser();
//            if (auto && StringUtils.equalsIgnoreCase(active, FebsConstant.DEVELOP)) {
//                String os = System.getProperty("os.name");
//                // 默认为 windows时才自动打开页面
//                if (StringUtils.containsIgnoreCase(os, FebsConstant.SYSTEM_WINDOWS)) {
//                    //使用默认浏览器打开系统登录页
//                    Runtime.getRuntime().exec("cmd  /c  start " + url);
//                }
//            }
        }
    }
}