Skip to content

Instantly share code, notes, and snippets.

@johnlindquist
Created August 11, 2022 06:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnlindquist/4c8bec139d61a96e833e8394e0f9a4a7 to your computer and use it in GitHub Desktop.
Save johnlindquist/4c8bec139d61a96e833e8394e0f9a4a7 to your computer and use it in GitHub Desktop.
// Name: Testing Splash
import "@johnlindquist/kit"
setPrompt({
ui: "splash",
ignoreBlur: true
})
await wait(100000)
// send("SET_SCRIPT", {
// name: "Kit Setup",
// command: "splash-screen",
// filePath: `__app__/splash-screen`,
// kenv: "",
// id: "spash-screen",
// type: "Prompt",
// hasPreview: true,
// })
// send("SET_PROMPT_DATA", {
// ignoreBlur: true,
// ui: 256,
// })
// // while (true) {
// // send("SET_SPLASH_PROGRESS", 0) //Math.random() > 0.5 ? 100 : 0)
// // send(
// // "SET_SPLASH_BODY",
// // Array.from({ length: 10 })
// // .map(x => Math.random())
// // .join(" - ")
// // )
// // await wait(1000)
// // }
// await wait(1000000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment