From 04bba509b1b557f0981ff525c35c628a23397bae Mon Sep 17 00:00:00 2001 From: Hentua <wangdoubleone@gmail.com> Date: Wed, 21 Jun 2023 15:35:07 +0800 Subject: [PATCH] fix --- src/main/java/cc/mrbird/febs/common/runner/FebsStartedUpRunner.java | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/main/java/cc/mrbird/febs/common/runner/FebsStartedUpRunner.java b/src/main/java/cc/mrbird/febs/common/runner/FebsStartedUpRunner.java index 24b5534..8cacfac 100644 --- a/src/main/java/cc/mrbird/febs/common/runner/FebsStartedUpRunner.java +++ b/src/main/java/cc/mrbird/febs/common/runner/FebsStartedUpRunner.java @@ -63,17 +63,17 @@ log.info("/ /` / / \\ | |\\/| | |_) | | | |_ | | | |_ "); log.info("\\_\\_, \\_\\_/ |_| | |_| |_|__ |_|__ |_| |_|__ "); log.info(" "); - log.info("FEBS 权限系统启动完毕,地址:{}", 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); +// } +// } } } } -- Gitblit v1.9.1