Comparing version 1.0.7 to 1.0.8
{ | ||
"name": "cemu-smm", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "This is a module to simplify all kinds of tasks with Loadiine Super Mario Maker save files and respectively Cemu", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
15
save.js
@@ -295,2 +295,17 @@ const Promise = require("bluebird"); | ||
loadCoursesSync: async function () { | ||
for (let i = 0; i < SAVE_ORDER_SIZE; i++) { | ||
let courseName = `course${i.pad(3)}`; | ||
let coursePath = path.resolve(`${this.pathToSave}/${courseName}/`); | ||
try { | ||
fs.accessSync(coursePath, fs.constants.R_OK | fs.constants.W_OK); | ||
this.courses[courseName] = await createCourse(i, coursePath); | ||
} catch (err) { | ||
} | ||
} | ||
return this.courses; | ||
}, | ||
loadCourseElements: function () { | ||
@@ -297,0 +312,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
128830
622