fix userscript...

This commit is contained in:
Gabe Yuan
2023-08-09 18:02:18 +08:00
parent 0cc3f4f356
commit faa4251e6c
3 changed files with 4 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ export default function Options() {
let i = 0;
for (;;) {
await sleep(1000);
if (window.GM) {
if (window.APP_NAME === process.env.REACT_APP_NAME) {
setReady(true);
break;
}