Created
August 11, 2022 06:40
-
-
Save johnlindquist/7f2fc210ef3ec34707669a2608339e35 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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