Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOProUnity_V2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赤子奈落
YGOProUnity_V2
Commits
81ef8d76
Commit
81ef8d76
authored
Sep 01, 2021
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
allow to disable check update
parent
fb702504
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
Assets/SibylSystem/Menu/Menu.cs
Assets/SibylSystem/Menu/Menu.cs
+4
-0
No files found.
Assets/SibylSystem/Menu/Menu.cs
View file @
81ef8d76
...
...
@@ -42,6 +42,10 @@ public class Menu : WindowServantSP
{
yield
return
new
WaitForSeconds
(
1
);
var
verFile
=
File
.
ReadAllLines
(
"config/ver.txt"
,
Encoding
.
UTF8
);
if
(
verFile
.
Length
==
0
)
// 放一个空的 ver.txt 以关闭自动更新功能
{
yield
break
;
}
if
(
verFile
.
Length
!=
2
||
!
Uri
.
IsWellFormedUriString
(
verFile
[
1
],
UriKind
.
Absolute
))
{
Program
.
PrintToChat
(
InterString
.
Get
(
"YGOPro2 自动更新:[ff5555]未设置更新服务器,无法检查更新。[-]@n请从官网重新下载安装完整版以获得更新。"
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment