Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Neos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
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
MyCard
Neos
Commits
5dd78259
Commit
5dd78259
authored
Mar 06, 2023
by
Chunchi Che
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/cards.db' into 'main'
pack cards.db in dist See merge request
!118
parents
87106ec4
25a3759a
Pipeline
#20481
passed with stages
in 6 minutes and 5 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
neos.config.json
neos.config.json
+1
-0
src/ui/WaitRoom.tsx
src/ui/WaitRoom.tsx
+2
-1
No files found.
neos.config.json
View file @
5dd78259
...
...
@@ -6,6 +6,7 @@
}],
"assetsPath"
:
"/neos-assets"
,
"cardImgUrl"
:
"https://cdn02.moecube.com:444/images/ygopro-images-zh-CN"
,
"cardsDbUrl"
:
"https://cdn02.moecube.com:444/ygopro-database/zh-CN/cards.cdb"
,
"ui"
:
{
"ground"
:
{
"width"
:
9.9
,
...
...
src/ui/WaitRoom.tsx
View file @
5dd78259
...
...
@@ -42,6 +42,7 @@ import { initMeExtraDeckMeta } from "../reducers/duel/extraDeckSlice";
import
type
{
MenuProps
,
UploadProps
}
from
"
antd
"
;
import
{
useParams
}
from
"
react-router-dom
"
;
import
{
selectDuelStart
}
from
"
../reducers/moraSlice
"
;
import
NeosConfig
from
"
../../neos.config.json
"
;
const
READY_STATE
=
"
ready
"
;
...
...
@@ -71,7 +72,7 @@ const WaitRoom = () => {
// 初始化sqlite
await
sqliteMiddleWare
({
cmd
:
sqliteCmd
.
INIT
,
initInfo
:
{
dbUrl
:
"
/ygopro-database/locales/zh-CN/cards.cdb
"
},
initInfo
:
{
dbUrl
:
NeosConfig
.
cardsDbUrl
},
});
};
...
...
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