feat: initialize gomdown-helper with yt-dlp transfer flow
This commit is contained in:
47
manifest.config.ts
Normal file
47
manifest.config.ts
Normal file
@@ -0,0 +1,47 @@
|
||||
import { defineManifest } from '@crxjs/vite-plugin'
|
||||
import pkg from './package.json'
|
||||
|
||||
export default defineManifest({
|
||||
manifest_version: 3,
|
||||
name: 'Gomdown Helper',
|
||||
description: 'Send browser downloads to gdown',
|
||||
version: pkg.version,
|
||||
default_locale: 'en',
|
||||
icons: {
|
||||
'16': 'images/16.png',
|
||||
'32': 'images/32.png',
|
||||
'48': 'images/48.png',
|
||||
'128': 'images/128.png',
|
||||
},
|
||||
background: {
|
||||
service_worker: 'src/background/index.ts',
|
||||
type: 'module',
|
||||
},
|
||||
action: {
|
||||
default_popup: 'src/popup/index.html',
|
||||
default_title: 'Gomdown Helper',
|
||||
default_icon: {
|
||||
'16': 'images/16.png',
|
||||
'32': 'images/32.png',
|
||||
'48': 'images/48.png',
|
||||
'128': 'images/128.png',
|
||||
},
|
||||
},
|
||||
options_page: 'src/config/index.html',
|
||||
content_scripts: [
|
||||
{
|
||||
matches: ['<all_urls>'],
|
||||
js: ['src/content/index.ts'],
|
||||
run_at: 'document_start',
|
||||
all_frames: true,
|
||||
},
|
||||
],
|
||||
permissions: ['downloads', 'downloads.shelf', 'notifications', 'storage', 'contextMenus', 'cookies', 'webRequest', 'nativeMessaging'],
|
||||
host_permissions: ['<all_urls>'],
|
||||
web_accessible_resources: [
|
||||
{
|
||||
resources: ['images/*'],
|
||||
matches: ['<all_urls>'],
|
||||
},
|
||||
],
|
||||
})
|
||||
Reference in New Issue
Block a user