cocktailpeanut commited on
Commit
fd1ff15
1 Parent(s): 78617b8
Files changed (1) hide show
  1. pinokio.js +5 -5
pinokio.js CHANGED
@@ -3,10 +3,10 @@ module.exports = {
3
  icon: "magician.png",
4
  description: "Limitless Image Editing using Text-to-Image Models",
5
  menu: async (kernel) => {
6
- let installed = await kernel.exists(__dirname, "pinokio", "venv")
7
  if (installed) {
8
- let session = await kernel.require(__dirname, "pinokio", "session.json")
9
- let running = await kernel.running(__dirname, "pinokio", "start.json")
10
  if (running) {
11
  return [{
12
  icon: "fa-solid fa-spin fa-circle-notch",
@@ -21,7 +21,7 @@ module.exports = {
21
  return [{
22
  icon: "fa-solid fa-power-off",
23
  text: "Launch",
24
- href: "pinokio/start.json",
25
  params: { fullscreen: true, run: true }
26
  }]
27
  }
@@ -29,7 +29,7 @@ module.exports = {
29
  return [{
30
  icon: "fa-solid fa-plug",
31
  text: "Install",
32
- href: "pinokio/install.json",
33
  params: { run: true, fullscreen: true }
34
  }]
35
  }
 
3
  icon: "magician.png",
4
  description: "Limitless Image Editing using Text-to-Image Models",
5
  menu: async (kernel) => {
6
+ let installed = await kernel.exists(__dirname, "venv")
7
  if (installed) {
8
+ let session = await kernel.require(__dirname, "session.json")
9
+ let running = await kernel.running(__dirname, "start.json")
10
  if (running) {
11
  return [{
12
  icon: "fa-solid fa-spin fa-circle-notch",
 
21
  return [{
22
  icon: "fa-solid fa-power-off",
23
  text: "Launch",
24
+ href: "start.json",
25
  params: { fullscreen: true, run: true }
26
  }]
27
  }
 
29
  return [{
30
  icon: "fa-solid fa-plug",
31
  text: "Install",
32
+ href: "install.json",
33
  params: { run: true, fullscreen: true }
34
  }]
35
  }