Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
Breeze
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DeStream-public
Breeze
Commits
4e2ac789
Commit
4e2ac789
authored
Jun 30, 2017
by
dev0tion
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Breeze tray icon
parent
2f134f99
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
main.ts
Breeze.UI/main.ts
+7
-2
breeze-logo-tray.ico
Breeze.UI/src/assets/images/breeze-logo-tray.ico
+0
-0
breeze-logo-tray.png
Breeze.UI/src/assets/images/breeze-logo-tray.png
+0
-0
No files found.
Breeze.UI/main.ts
View file @
4e2ac789
...
...
@@ -116,8 +116,13 @@ function createTray() {
let
appIcon
=
null
;
const
iconName
=
process
.
platform
===
'win32'
?
'./assets/images/breeze-logo.png'
:
'./assets/images/breeze-logo.png'
;
const
iconPath
=
path
.
join
(
__dirname
,
iconName
);
var
iconPath
if
(
os
.
platform
==
'win32'
)
{
iconPath
=
__dirname
+
'/assets/images/breeze-logo-tray.ico'
;
}
else
{
iconPath
=
__dirname
+
'/assets/images/breeze-logo-tray.png'
;
}
appIcon
=
new
Tray
(
iconPath
);
const
contextMenu
=
Menu
.
buildFromTemplate
([{
label
:
'Hide/Show'
,
...
...
Breeze.UI/src/assets/images/breeze-logo-tray.ico
0 → 100644
View file @
4e2ac789
1.12 KB
Breeze.UI/src/assets/images/breeze-logo-tray.png
0 → 100644
View file @
4e2ac789
715 Bytes
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