Skip to content

Commit 063bc3d

Browse files
committed
v1.13.4
1 parent 53f0bd8 commit 063bc3d

File tree

4 files changed

+55
-24
lines changed

4 files changed

+55
-24
lines changed

CHANGE_LOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Change Log
22

3+
## Version [1.13.4](https://github.com/heliomarpm/udemy-downloader-gui/compare/v1.13.3...v1.13.4)
4+
##### Dec, 7 2024
5+
![](https://img.shields.io/github/downloads/heliomarpm/udemy-downloader-gui/v1.13.4/total)
6+
7+
* Bug fixes
8+
* Package update
9+
10+
311
## Version [1.13.3](https://github.com/heliomarpm/udemy-downloader-gui/compare/v1.13.2...v1.13.3)
412
##### Nov, 14 2024
513
![](https://img.shields.io/github/downloads/heliomarpm/udemy-downloader-gui/v1.13.3/total)

app/app.js

+10-5
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,8 @@ async function fetchCourseContent(courseId, courseName, courseUrl) {
705705
lecture.src = `<script type="text/javascript">window.location = "${courseUrl}/${item._class}/${item.id}";</script>`;
706706
appendLog("File not uploaded", `Course: ${courseId}|${courseName}`, `Lecture: ${item.id}|${item.title}`);
707707
} else {
708-
switch (lecture.quality.toLowerCase()) {
708+
709+
switch ( (lecture.quality || "").toLowerCase()) {
709710
case "auto":
710711
case "highest":
711712
lecture.quality = streams.maxQuality;
@@ -1695,10 +1696,14 @@ function askForSubtitle(subtitlesAvailable, totalLectures, defaultSubtitle = "",
16951696
const totals = {};
16961697
const languageKeys = {};
16971698

1698-
if (Object.keys(subtitlesAvailable).length === 0) {
1699-
callback("");
1700-
return;
1701-
}
1699+
try {
1700+
if (subtitlesAvailable && Object.keys(subtitlesAvailable).length === 0) {
1701+
callback("");
1702+
return;
1703+
}
1704+
} catch (error) {
1705+
return;
1706+
}
17021707

17031708
defaultSubtitle = defaultSubtitle.replace(/\s*\[.*?\]/g, "").trim();
17041709
for (const key in subtitlesAvailable) {

package-lock.json

+30-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "udeler",
33
"productName": "Udeler",
4-
"version": "1.13.3",
4+
"version": "1.13.4",
55
"description": "A cross platform (Windows, Mac, Linux) desktop application for downloading Udemy Courses.",
66
"main": "main.js",
77
"type": "commonjs",
@@ -32,9 +32,9 @@
3232
"sync:locales": "node ./sync-locales.js"
3333
},
3434
"dependencies": {
35-
"@sentry/electron": "^4.24.0",
36-
"axios": "^1.7.7",
37-
"cookie": "^1.0.1",
35+
"@sentry/electron": "4.24.0",
36+
"axios": "^1.7.9",
37+
"cookie": "^1.0.2",
3838
"dialogs": "^2.0.1",
3939
"electron-settings": "3.2.0",
4040
"jquery": "^3.7.1",
@@ -44,10 +44,11 @@
4444
"sanitize-filename": "^1.6.3"
4545
},
4646
"devDependencies": {
47-
"electron": "^11.5.0",
47+
"electron": "11.5.0",
4848
"electron-builder": "^25.1.8",
4949
"electron-reload": "^2.0.0-alpha.1",
50-
"gh_deploy": "github:heliomarpm/gh_deploy"
50+
"gh_deploy": "github:heliomarpm/gh_deploy",
51+
"prettier": "^3.4.2"
5152
},
5253
"build": {
5354
"appId": "com.faisalumair.udeler",

0 commit comments

Comments
 (0)