diff --git a/json/changelogs/1.5.1.json b/json/changelogs/1.5.1.json new file mode 100644 index 0000000..0115736 --- /dev/null +++ b/json/changelogs/1.5.1.json @@ -0,0 +1 @@ +{"log":{"Bugs":["Changelogs work in production","My brain is quite small yes yes","Hope this doesn't break anything else *shrug*"]},"version":{"name":"Alpha","semver":"1.5.1"}} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 2783343..7d7c1f1 100755 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "filekade", - "version": "1.5.0", + "version": "1.5.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "filekade", - "version": "1.5.0", + "version": "1.5.1", "license": "ISC", "dependencies": { "chalk": "^4.1.2", diff --git a/package.json b/package.json index b2ffed8..7cbb3c8 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "filekade", - "version": "1.5.0", + "version": "1.5.1", "description": "A file explorer (primarily a learning experience for me)", "main": "main.js", "scripts": { diff --git a/scripts/startup/changelog.js b/scripts/startup/changelog.js index 22f9b7e..36a80a0 100755 --- a/scripts/startup/changelog.js +++ b/scripts/startup/changelog.js @@ -1,10 +1,11 @@ const fs = require('fs'); const Mousetrap = require('../dep/mousetrap'); +const path = require('path'); const preModal = require('../modal/pre'); const postModal = require('../modal/post'); -const changelogs = fs.readdirSync('./json/changelogs').filter(file => file.endsWith('.json')); +const changelogs = fs.readdirSync(path.join(__dirname, '../../', '/json/changelogs')).filter(file => file.endsWith('.json')); module.exports = () => { if (window.kade.modal) {return;}