small wxt related fixes (#25866)
This commit is contained in:
@@ -32,7 +32,7 @@ export function LoginScreen() {
|
||||
<View className="flex-1 bg-white">
|
||||
{/* Logo centered in the middle */}
|
||||
<View className="flex-1 items-center justify-center">
|
||||
<CalComLogo width={240} height={54} color="#111827" />
|
||||
<CalComLogo width={180} height={40} color="#111827" />
|
||||
</View>
|
||||
|
||||
{/* Bottom section with button */}
|
||||
|
||||
@@ -7,6 +7,15 @@
|
||||
"content_security_policy": {
|
||||
"extension_pages": "script-src 'self'; object-src 'self'; frame-src 'self' https://companion.cal.com;"
|
||||
},
|
||||
"data_collection_permissions": {
|
||||
"libraries": [
|
||||
{
|
||||
"name": "cal.com",
|
||||
"url": "https://cal.com/privacy",
|
||||
"purpose": "Booking and scheduling"
|
||||
}
|
||||
]
|
||||
},
|
||||
"action": {
|
||||
"default_title": "Cal.com Companion"
|
||||
},
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
"ios": "expo run:ios",
|
||||
"web": "expo start --web",
|
||||
"ext:build": "wxt build",
|
||||
"build:firefox": "wxt build -b firefox",
|
||||
"build:safari": "wxt build -b safari",
|
||||
"ext": "wxt",
|
||||
"ext:zip": "wxt zip",
|
||||
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,css,md}\"",
|
||||
|
||||
@@ -1,6 +1,15 @@
|
||||
import { defineConfig } from "wxt";
|
||||
|
||||
export default defineConfig({
|
||||
hooks: {
|
||||
"build:manifestGenerated": (_wxt, manifest) => {
|
||||
manifest.browser_specific_settings ??= {};
|
||||
manifest.browser_specific_settings.gecko ??= {};
|
||||
manifest.browser_specific_settings.gecko.data_collection_permissions = {
|
||||
required: ["none"],
|
||||
};
|
||||
},
|
||||
},
|
||||
srcDir: "extension",
|
||||
entrypointsDir: "entrypoints",
|
||||
publicDir: "extension/public",
|
||||
@@ -20,6 +29,9 @@ export default defineConfig({
|
||||
extension_pages:
|
||||
"script-src 'self'; object-src 'self'; frame-src 'self' https://companion.cal.com",
|
||||
},
|
||||
data_collection_permissions: {
|
||||
collects_data: false,
|
||||
},
|
||||
action: {
|
||||
default_title: "Cal.com Companion",
|
||||
default_icon: {
|
||||
|
||||
Reference in New Issue
Block a user