2 Commits

Author SHA1 Message Date
Wyrrrd 0517331f95 Update canary 2023-05-15 14:05:02 +02:00
Wyrrrd 40e6904c54 Add safeguards 2023-05-15 14:02:54 +02:00
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
**📢 This repo is maintained and up to date.**
<sup>(If it ever gets abandoned, this date will be far in the past: <i>May 14, 2023</i> )</sup>
<sup>(If it ever gets abandoned, this date will be far in the past: <i>May 15, 2023</i> )</sup>
---
+2 -3
View File
@@ -6,7 +6,7 @@
"name": "Shiori",
"shortcuts": [
{
"codeOnPrepare": "if (getVariable(/*[variable]*/\"38c78321-be77-4a89-8bb3-9da47c3bd5ca\"/*[/variable]*/) \u003d\u003d \"\") {\n setVariable(/*[variable]*/\"38c78321-be77-4a89-8bb3-9da47c3bd5ca\"/*[/variable]*/, prompt(\"Please enter your Shiori API URL\"));\n}\nif (getVariable(/*[variable]*/\"25ddf72e-2dd9-4534-ba9d-46885a15e379\"/*[/variable]*/) \u003d\u003d \"\") {\n setVariable(/*[variable]*/\"25ddf72e-2dd9-4534-ba9d-46885a15e379\"/*[/variable]*/, prompt(\"Please enter your Shiori username\"));\n}\nif (getVariable(/*[variable]*/\"e562ba22-cf0f-4786-82ef-d972c63c8af8\"/*[/variable]*/) \u003d\u003d \"\") {\n setVariable(/*[variable]*/\"e562ba22-cf0f-4786-82ef-d972c63c8af8\"/*[/variable]*/, promptPassword(\"Please enter your Shiori password\"));\n}",
"codeOnPrepare": "if (getVariable(/*[variable]*/\"38c78321-be77-4a89-8bb3-9da47c3bd5ca\"/*[/variable]*/) \u003d\u003d \"\") {\n setVariable(/*[variable]*/\"38c78321-be77-4a89-8bb3-9da47c3bd5ca\"/*[/variable]*/, prompt(\"Please enter your Shiori URL\"));\n}\n\nif (getVariable(/*[variable]*/\"38c78321-be77-4a89-8bb3-9da47c3bd5ca\"/*[/variable]*/) \u003d\u003d \"\") {\n showToast(\"Shiori URL still empty, aborting.\");\n abort();\n}\n\n\nif (getVariable(/*[variable]*/\"25ddf72e-2dd9-4534-ba9d-46885a15e379\"/*[/variable]*/) \u003d\u003d \"\") {\n setVariable(/*[variable]*/\"25ddf72e-2dd9-4534-ba9d-46885a15e379\"/*[/variable]*/, prompt(\"Please enter your Shiori username\"));\n}\n\nif (getVariable(/*[variable]*/\"25ddf72e-2dd9-4534-ba9d-46885a15e379\"/*[/variable]*/) \u003d\u003d \"\") {\n showToast(\"Shiori username still empty, aborting.\");\n abort();\n}\n\n\nif (getVariable(/*[variable]*/\"e562ba22-cf0f-4786-82ef-d972c63c8af8\"/*[/variable]*/) \u003d\u003d \"\") {\n setVariable(/*[variable]*/\"e562ba22-cf0f-4786-82ef-d972c63c8af8\"/*[/variable]*/, promptPassword(\"Please enter your Shiori password\"));\n}\n\nif (getVariable(/*[variable]*/\"e562ba22-cf0f-4786-82ef-d972c63c8af8\"/*[/variable]*/) \u003d\u003d \"\") {\n showToast(\"Shiori username still empty, aborting.\");\n abort();\n}",
"description": "Asks for Shiori URL, user and password",
"executionType": "scripting",
"iconName": "custom-icon_x1682258897825.png",
@@ -109,8 +109,7 @@
},
{
"id": "cc8251ad-1fdf-41cb-865b-8667c77aaa6f",
"key": "shiori_sessionid",
"value": ""
"key": "shiori_sessionid"
}
],
"version": 59