File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,6 +43,15 @@ When a user requests a "lite" build, it is located in the `lite` subfolder under
4343
4444The filename is identical to the standard build; do not add a ` -lite ` suffix.
4545
46+ If the dist file is not found (non-200 response), fall back to the GitHub ** latest release** asset:
47+
48+ ```
49+ https://github.com/MarkEdit-app/extension-name/releases/latest/download/extension-name-kebab-cased.js
50+ ```
51+
52+ For example, if ` dist/markedit-preview.js ` is not available in the repository, try:
53+ ` https://github.com/MarkEdit-app/MarkEdit-preview/releases/latest/download/markedit-preview.js `
54+
4655If the user provides a URL ending with ` .js ` , use that URL directly.
4756
4857## Common Tasks
@@ -114,7 +123,7 @@ When users ask questions:
114123
115124## Error Handling
116125
117- - If extension download fails (non-200) , suggest checking the extension name or URL
126+ - If extension download fails from both the dist URL and the latest release , suggest checking the extension name or URL
118127- If ` settings.json ` is malformed, suggest validating JSON syntax
119128- If MarkEdit is not installed, suggest installation methods
120129
You can’t perform that action at this time.
0 commit comments