mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-18 04:54:38 +03:00
fix
This commit is contained in:
@@ -40,8 +40,7 @@ func setupCore() {
|
|||||||
// core setup
|
// core setup
|
||||||
os.Setenv("v2ray.conf.geoloader", "memconservative")
|
os.Setenv("v2ray.conf.geoloader", "memconservative")
|
||||||
neko_log.SetupLog(50*1024, "./neko.log")
|
neko_log.SetupLog(50*1024, "./neko.log")
|
||||||
_ = appLog.RegisterHandlerCreator(appLog.LogType_Console, func(lt appLog.LogType,
|
_ = appLog.RegisterHandlerCreator(appLog.LogType_Console, func(lt appLog.LogType, options appLog.HandlerCreatorOptions) (commonLog.Handler, error) {
|
||||||
options appLog.HandlerCreatorOptions) (commonLog.Handler, error) {
|
|
||||||
return commonLog.NewLogger(func() commonLog.Writer {
|
return commonLog.NewLogger(func() commonLog.Writer {
|
||||||
return &v2rayLogWriter{}
|
return &v2rayLogWriter{}
|
||||||
}), nil
|
}), nil
|
||||||
|
|||||||
@@ -234,8 +234,8 @@
|
|||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Settings</source>
|
<source>Core Options</source>
|
||||||
<translation type="unfinished">تنظیمات</translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
|
|||||||
@@ -228,8 +228,8 @@
|
|||||||
<translation>默认 uTLS 指纹</translation>
|
<translation>默认 uTLS 指纹</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Settings</source>
|
<source>Core Options</source>
|
||||||
<translation>设置</translation>
|
<translation>核心选项</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
|
|||||||
@@ -391,7 +391,7 @@ void DialogBasicSettings::on_inbound_auth_clicked() {
|
|||||||
|
|
||||||
void DialogBasicSettings::on_core_settings_clicked() {
|
void DialogBasicSettings::on_core_settings_clicked() {
|
||||||
auto w = new QDialog(this);
|
auto w = new QDialog(this);
|
||||||
w->setWindowTitle(software_core_name + " settings");
|
w->setWindowTitle(software_core_name + " Core Options");
|
||||||
auto layout = new QGridLayout;
|
auto layout = new QGridLayout;
|
||||||
w->setLayout(layout);
|
w->setLayout(layout);
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -590,10 +590,17 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="Line" name="line">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="core_settings">
|
<widget class="QPushButton" name="core_settings">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Settings</string>
|
<string>Core Options</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|||||||
Reference in New Issue
Block a user