Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
mycard
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
syntax_j
mycard
Commits
14f5af66
Commit
14f5af66
authored
Jul 07, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
now it may work
parent
2786c34b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
app/app-detail.component.ts
app/app-detail.component.ts
+4
-6
app/ygopro.component.ts
app/ygopro.component.ts
+3
-1
No files found.
app/app-detail.component.ts
View file @
14f5af66
...
...
@@ -253,12 +253,10 @@ export class AppDetailComponent implements OnInit, OnChanges {
let
extname
=
path
.
extname
(
filename
).
slice
(
1
);
// let remote = require('electron').remote
let
filePaths
=
await
new
Promise
<
string
[]
>
((
resolve
,
reject
)
=>
{
remote
.
dialog
.
showOpenDialog
({
filters
:
[{
name
:
filename
,
extensions
:
[
extname
]}],
properties
:
[
'
openFile
'
]
},
resolve
);
});
let
{
filePaths
}
=
(
await
remote
.
dialog
.
showOpenDialog
({
filters
:
[{
name
:
filename
,
extensions
:
[
extname
]}],
properties
:
[
'
openFile
'
]
}));
if
(
filePaths
&&
filePaths
[
0
])
{
this
.
import_path
=
filePaths
[
0
];
...
...
app/ygopro.component.ts
View file @
14f5af66
...
...
@@ -643,7 +643,9 @@ export class YGOProComponent implements OnInit, OnDestroy {
copy
(
text
:
string
,
event
:
Event
)
{
clipboard
.
writeText
(
text
);
$
(
'
#copy-wrapper
'
).
tooltip
({
trigger
:
'
manual
'
}).
tooltip
(
'
show
'
);
const
copyWrapper
=
$
(
'
#copy-wrapper
'
);
copyWrapper
.
tooltip
({
trigger
:
'
manual
'
})
copyWrapper
.
tooltip
(
'
show
'
);
}
join_room
(
room
:
Room
)
{
...
...
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