Skip to content

Commit

Permalink
Add icons (#106)
Browse files Browse the repository at this point in the history
* Add icon

* Set up icons

* Add mac icon
  • Loading branch information
eatonphil committed Dec 6, 2021
1 parent 722a88b commit 956d70f
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 2 deletions.
7 changes: 5 additions & 2 deletions desktop/scripts/release.build
Expand Up @@ -6,5 +6,8 @@ prepend "window.DS_CONFIG_MODE='desktop';" build/ui.js
prepend "window.DS_CONFIG_VERSION='{arg0}';" build/ui.js
prepend "window.DS_CONFIG_VERSION='{arg0}';" build/desktop_runner.js
prepend "global.DS_CONFIG_VERSION='{arg0}';" build/desktop.js
yarn electron-packager --asar --overwrite --out=releases --build-version={arg0} --app-version={arg0} . "DataStation Community Edition"
zip -9 -r releases/datastation-{os}-{arch}-{arg0}.zip "releases/DataStation Community Edition-{os}-{arch}"
cp icon.png build/icon.png
cp icon.ico build/icon.ico
cp icon.icns build/icon.icns
yarn electron-packager --asar --overwrite --icon=build/icon.png --out=releases --build-version={arg0} --app-version={arg0} . "DataStation Community Edition"
# zip -9 -r releases/datastation-{os}-{arch}-{arg0}.zip "releases/DataStation Community Edition-{os}-{arch}"
Binary file added icon.icns
Binary file not shown.
Binary file added icon.ico
Binary file not shown.
Binary file added icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions ui/style.css
Expand Up @@ -29,6 +29,7 @@ a:hover {
.app--desktop,
.app--server {
border-top: 1px solid #ccc;
height: calc(100% - 1px);
}

.app main {
Expand Down Expand Up @@ -345,6 +346,8 @@ label.select select {
width: 350px;
background: #fbfbfb;
padding: 15px;
max-height: 100%;
overflow-y: hidden;
}

.sidebar--collapsed {
Expand Down Expand Up @@ -897,6 +900,12 @@ body.dark {
background: #29293c;
color: white;

.app--desktop,
.app--server {
border: 0;
height: 100%;
}

.alert {
color: black;
}
Expand Down

0 comments on commit 956d70f

Please sign in to comment.