Skip to content

Commit cdf50a0

Browse files
committed
fix: make update_url and xpi_download_link optional
1 parent c0f38bd commit cdf50a0

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,6 @@ export default defineConfig({
6464
name: pkg.config.addonName,
6565
id: pkg.config.addonID,
6666
namespace: pkg.config.addonRef,
67-
updateURL: `https://raw.githubusercontent.com/{{owner}}/{{repo}}/main/update.json`,
68-
xpiDownloadLink:
69-
"https://github.com/{{owner}}/{{repo}}/releases/download/v{{version}}/{{xpiName}}.xpi",
7067
build: {
7168
esbuildOptions: [
7269
{
@@ -159,7 +156,7 @@ pnpm run lint:fix
159156

160157
## License
161158

162-
GNU Affero General Public License Version 3
159+
GNU Affero General Public License Version 3.
163160

164161
## Acknowledgements
165162

src/types/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ interface UserConfig extends RecursivePartial<Config> {
1919
name: string;
2020
id: string;
2121
namespace: string;
22-
xpiDownloadLink: string;
23-
updateURL: string;
2422
}
2523

2624
interface Context extends Config {

0 commit comments

Comments
 (0)