pinokiod 6.0.8 → 6.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@ const { rimraf } = require('rimraf')
4
4
  const decompress = require('decompress');
5
5
  class Ffmpeg {
6
6
  cmd() {
7
- return "ffmpeg"
7
+ return "ffmpeg=7.0.2"
8
8
  }
9
9
  async install(req, ondata) {
10
10
  await this.kernel.bin.exec({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "6.0.8",
3
+ "version": "6.0.10",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/script/index.js CHANGED
@@ -58,8 +58,8 @@ const server = new Server({
58
58
  return `https://pinokiocomputer.github.io/home/item?uri=${gitRemote}&display=profile`
59
59
  },
60
60
  site: "https://pinokio.co",
61
- discover_dark: "https://beta.pinokio.co",
62
- discover_light: "https://beta.pinokio.co",
61
+ discover_dark: "https://beta.pinokio.co?embed=1&theme=dark",
62
+ discover_light: "https://beta.pinokio.co?embed=1&theme=light",
63
63
  portal: "https://beta.pinokio.co",
64
64
  docs: "https://pinokio.co/docs",
65
65
  install: "https://pinokiocomputer.github.io/program.pinokio.computer/#/?id=install",
package/server/index.js CHANGED
@@ -1040,7 +1040,7 @@ class Server {
1040
1040
  path: 'remote.origin.url'
1041
1041
  })
1042
1042
  if (gitRemote && this.portal) {
1043
- community_url = `${this.portal}/resolve?url=${encodeURIComponent(gitRemote)}&embed=1`
1043
+ community_url = `${this.portal}/resolve?url=${encodeURIComponent(gitRemote)}&embed=1&theme=${encodeURIComponent(this.theme)}`
1044
1044
  }
1045
1045
  } catch (_) {
1046
1046
  community_url = ""