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
b59a8bbc
Commit
b59a8bbc
authored
Dec 06, 2016
by
wudizhanche1000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tray
parent
530358c9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
app/mycard.component.html
app/mycard.component.html
+1
-1
apps.json
apps.json
+4
-4
index.js
index.js
+1
-1
No files found.
app/mycard.component.html
View file @
b59a8bbc
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
<i
(click)=
"currentWindow.minimize()"
class=
"fa fa-minus"
></i>
<i
(click)=
"currentWindow.minimize()"
class=
"fa fa-minus"
></i>
<i
*ngIf=
"!currentWindow.isMaximized()"
(click)=
"currentWindow.maximize()"
class=
"fa fa-expand"
></i>
<i
*ngIf=
"!currentWindow.isMaximized()"
(click)=
"currentWindow.maximize()"
class=
"fa fa-expand"
></i>
<i
*ngIf=
"currentWindow.isMaximized()"
(click)=
"currentWindow.unmaximize()"
class=
"fa fa-clone"
></i>
<i
*ngIf=
"currentWindow.isMaximized()"
(click)=
"currentWindow.unmaximize()"
class=
"fa fa-clone"
></i>
<i
(click)=
"
window.clos
e()"
class=
"fa fa-times"
></i>
<i
(click)=
"
currentWindow.hid
e()"
class=
"fa fa-times"
></i>
</div>
</div>
</div>
</div>
</nav>
</nav>
...
...
apps.json
View file @
b59a8bbc
...
@@ -861,7 +861,7 @@
...
@@ -861,7 +861,7 @@
"touhou"
"touhou"
],
],
"dependencies"
:
{
"dependencies"
:
{
"win32"
:
[],
"win32"
:
[
"directx"
],
"darwin"
:
[
"darwin"
:
[
"wine"
"wine"
]
]
...
@@ -1002,7 +1002,7 @@
...
@@ -1002,7 +1002,7 @@
"touhou"
"touhou"
],
],
"dependencies"
:
{
"dependencies"
:
{
"win32"
:
[],
"win32"
:
[
"directx"
],
"darwin"
:
[
"darwin"
:
[
"wine"
"wine"
]
]
...
@@ -1125,7 +1125,7 @@
...
@@ -1125,7 +1125,7 @@
"touhou"
"touhou"
],
],
"dependencies"
:
{
"dependencies"
:
{
"win32"
:
[],
"win32"
:
[
"directx"
],
"darwin"
:
[
"darwin"
:
[
"wine"
"wine"
]
]
...
@@ -1266,7 +1266,7 @@
...
@@ -1266,7 +1266,7 @@
"touhou"
"touhou"
],
],
"dependencies"
:
{
"dependencies"
:
{
"win32"
:
[],
"win32"
:
[
"directx"
],
"darwin"
:
[
"darwin"
:
[
"wine"
"wine"
]
]
...
...
index.js
View file @
b59a8bbc
...
@@ -155,7 +155,7 @@ function createWindow() {
...
@@ -155,7 +155,7 @@ function createWindow() {
}
}
function
createTray
()
{
function
createTray
()
{
let
tray
=
new
Tray
(
path
.
join
(
process
.
env
[
'
NODE_ENV
'
]
==
'
production
'
?
process
.
resourcesPath
:
app
.
getAppPath
(),
'
images
'
,
'
icon.
png
'
));
let
tray
=
new
Tray
(
path
.
join
(
process
.
env
[
'
NODE_ENV
'
]
==
'
production
'
?
process
.
resourcesPath
:
app
.
getAppPath
(),
'
images
'
,
'
icon.
ico
'
));
tray
.
on
(
'
click
'
,
(
event
)
=>
{
tray
.
on
(
'
click
'
,
(
event
)
=>
{
mainWindow
.
isVisible
()
?
mainWindow
.
hide
()
:
mainWindow
.
show
();
mainWindow
.
isVisible
()
?
mainWindow
.
hide
()
:
mainWindow
.
show
();
});
});
...
...
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