Skip to content
This repository has been archived by the owner on Oct 29, 2020. It is now read-only.

Commit

Permalink
Version 2.0.0 source code
Browse files Browse the repository at this point in the history
  • Loading branch information
DM164 committed Jan 3, 2020
1 parent c50229e commit 7abec98
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 5 deletions.
29 changes: 29 additions & 0 deletions light-overlay.css
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,35 @@ p.volume.value {
opacity: 1;
}

/* NEEDS TO BE STYLED FOR LIGHT MODE */
/* Overlay next playing */
.overlay-next-playing {
position: fixed;
background: #1d1d1d;
min-width: 384px;
height: 340px;
width: 20%;
border-radius: 0px 0px 4px 4px;
animation: slide-in 0.9s forwards;
left: 50%;
top: 136px;
box-shadow: 3px 3px 8px #0000003d;
overflow: hidden;
margin-left: -394px;
z-index: -1;
display: none;
}
.overlay-next-playing h1 {
color: #dadada;
font-family: YT Sans, Roboto;
position: relative;
top: 16px;
margin: 0px 0px 0px 10px;
font-size: 24px;
}
#more {
display: none;
}

@keyframes slide-in {
0%{ transform: translateY(-800px); opacity: 0; }
Expand Down
6 changes: 3 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ipcMain.on('send-DRPstatus', function(event, arg){
})

//Electron Client Version
const ClientVersion = '1.1.0'
const ClientVersion = '2.0.0'

// Keep a global reference of the window object, if you don't, the window will
// be closed automatically when the JavaScript object is garbage collected.
Expand Down Expand Up @@ -307,8 +307,8 @@ app.on('ready', () =>{
tray.setContextMenu(contextMenu)

//Build menu from template
// const topMenu = Menu.buildFromTemplate(mainMenuTemplate);
// Menu.setApplicationMenu(topMenu)
const topMenu = Menu.buildFromTemplate(mainMenuTemplate);
Menu.setApplicationMenu(topMenu)
})

function createNewPresence() {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "youtube-music-by-dm",
"productName": "YouTube Music by DM",
"version": "1.1.0",
"version": "2.0.0",
"description": "Desktop app built with electron for the YT Music service.",
"main": "main.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion server-side/serverData.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
localStorage.setItem('latestRelease', '1.1.0')
localStorage.setItem('latestRelease', '2.0.0')

0 comments on commit 7abec98

Please sign in to comment.