diff --git a/package-lock.json b/package-lock.json index dd1b6550d..ac2d1dec3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -522,6 +522,11 @@ "integrity": "sha512-NW2cX8m1Q7KPA7a5M2ULQeZ2wR5qI5PAbw5L0UOMxdioVk9PMZ0h1TmyZEkPYrCvYjDlFICusOu1dlEKAAeXBw==", "dev": true }, + "async-limiter": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.0.tgz", + "integrity": "sha512-jp/uFnooOiO+L211eZOoSyzpOITMXx1rBITauYykG3BRYPu8h0UcxsPNB04RR5vo4Tyz3+ay17tR6JVf9qzYWg==" + }, "asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", @@ -3323,6 +3328,11 @@ "assert-plus": "^1.0.0" } }, + "dataurl": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/dataurl/-/dataurl-0.1.0.tgz", + "integrity": "sha1-H0c0/t3sBf/kRXR5eNhnWcSzMZk=" + }, "date-now": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/date-now/-/date-now-0.1.4.tgz", @@ -3521,6 +3531,22 @@ "command-line-usage": "^5.0.5" } }, + "discord-rich-presence": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/discord-rich-presence/-/discord-rich-presence-0.0.8.tgz", + "integrity": "sha512-IpVMPjv15C9UvppxvrrGdv6bzQHOW1P1vLoMH15HvdJwGJ3dBd2bnrJ63Uy36YRUfrAMxGLiwUDHncvC8AuPaQ==", + "requires": { + "discord-rpc": "github:discordjs/rpc" + } + }, + "discord-rpc": { + "version": "github:discordjs/rpc#2dc7ca3e78d632c07ca965a65ba669afe26fdc7f", + "from": "github:discordjs/rpc", + "requires": { + "node-fetch": "^2.3.0", + "ws": "^6.1.1" + } + }, "dmg-builder": { "version": "6.6.1", "resolved": "https://registry.npmjs.org/dmg-builder/-/dmg-builder-6.6.1.tgz", @@ -7438,6 +7464,11 @@ "lower-case": "^1.1.1" } }, + "node-fetch": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz", + "integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==" + }, "node-forge": { "version": "0.7.5", "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.7.5.tgz", @@ -12031,6 +12062,14 @@ "signal-exit": "^3.0.2" } }, + "ws": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.1.tgz", + "integrity": "sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA==", + "requires": { + "async-limiter": "~1.0.0" + } + }, "xdg-basedir": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-3.0.0.tgz", diff --git a/package.json b/package.json index ec02fe26d..88ed41aa7 100644 --- a/package.json +++ b/package.json @@ -57,9 +57,11 @@ "@mdi/font": "^3.3.92", "clean-css": "^4.2.1", "comment-json": "^1.1.3", + "dataurl": "^0.1.0", "deepmerge": "^3.0.0", "dir-to-json": "0.0.3", "dirtree2json": "^1.0.0", + "discord-rich-presence": "0.0.8", "highlightjs": "^9.12.0", "js-yaml": "^3.13.1", "mime": "^2.4.2", diff --git a/src/index.ejs b/src/index.ejs index c52eaa238..2a34a69fd 100644 --- a/src/index.ejs +++ b/src/index.ejs @@ -2,7 +2,7 @@ - bridge + bridge. <% if (htmlWebpackPlugin.options.nodeModules) { %> diff --git a/src/renderer/components/editor_shell/FileManager.vue b/src/renderer/components/editor_shell/FileManager.vue index 33516fe4f..217401dee 100644 --- a/src/renderer/components/editor_shell/FileManager.vue +++ b/src/renderer/components/editor_shell/FileManager.vue @@ -1,8 +1,9 @@