Skip to content

Commit

Permalink
Temporary error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aandrew-me committed Aug 25, 2022
1 parent 5eb4e66 commit 8cf3d0c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2,035 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"dependencies": {
"electron-updater": "^5.2.1",
"ffmpeg-static": "^5.0.2",
"ytdl-core": "^4.11.0"
"ytdl-core": "^4.10.0"
},
"name": "ytdownloader",
"version": "2.0.3",
"version": "2.0.4",
"main": "main.js",
"scripts": {
"start": "electron .",
Expand Down Expand Up @@ -80,8 +80,8 @@
],
"category": "Utility"
},
"snap":{
"compression":"lzo"
"snap": {
"compression": "lzo"
},
"win": {
"target": "nsis"
Expand Down
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const root = document.querySelector(":root");
let enabledTransparent = localStorage.getItem("enabledTransparent");
let bgColor = "";
if (enabledTransparent == "true") {
bgColor = "rgba(40,40,40, .7)";
bgColor = "rgba(40,40,40, .9)";
} else {
bgColor = "rgb(40,40,40)";
}
Expand All @@ -84,7 +84,7 @@ function toggle() {
circle.style.left = "0px";

root.style.setProperty("--background", "whitesmoke");
root.style.setProperty("--text", "rgba(45, 45, 45)");
root.style.setProperty("--text", "rgb(45, 45, 45)");
root.style.setProperty("--box-main", "rgb(143, 239, 207)");
root.style.setProperty("--box-toggle", "rgb(108, 231, 190)");
root.style.setProperty("--theme-toggle", "rgb(147, 174, 185)");
Expand Down
1 change: 0 additions & 1 deletion src/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const homedir = os.homedir();
const appdir = path.join(homedir, "ytDownloader");
const tempDir = path.join(homedir,".ytDownloader", "temp");
fs.mkdirSync(tempDir, { recursive: true });
let config;

// Download directory
let downloadDir = "";
Expand Down
Loading

0 comments on commit 8cf3d0c

Please sign in to comment.