mirror of
https://github.com/p-stream/extension.git
synced 2026-01-11 20:10:35 +00:00
bump version and bugfix
This commit is contained in:
parent
a033dbb2e2
commit
1c1cc9cfdf
13 changed files with 14 additions and 13 deletions
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
|
@ -8,7 +8,7 @@
|
||||||
"web_accessible_resources": [
|
"web_accessible_resources": [
|
||||||
{
|
{
|
||||||
"matches": ["\u003Call_urls>"],
|
"matches": ["\u003Call_urls>"],
|
||||||
"resources": ["src/assets/active.png", "src/assets/inactive.png"]
|
"resources": ["assets/active.png", "assets/inactive.png"]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@movie-web/extension",
|
"name": "@movie-web/extension",
|
||||||
"displayName": "P-Stream extension",
|
"displayName": "P-Stream extension",
|
||||||
"version": "1.3.1",
|
"version": "1.3.2",
|
||||||
"description": "Enhance your streaming experience with just one click",
|
"description": "Enhance your streaming experience with just one click",
|
||||||
"author": "P-Stream",
|
"author": "P-Stream",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
@ -61,8 +61,8 @@
|
||||||
"web_accessible_resources": [
|
"web_accessible_resources": [
|
||||||
{
|
{
|
||||||
"resources": [
|
"resources": [
|
||||||
"src/assets/active.png",
|
"assets/active.png",
|
||||||
"src/assets/inactive.png"
|
"assets/inactive.png"
|
||||||
],
|
],
|
||||||
"matches": [
|
"matches": [
|
||||||
"<all_urls>"
|
"<all_urls>"
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,8 @@
|
||||||
@import url("./font.css");
|
@import url("./font.css");
|
||||||
|
|
||||||
html {
|
html {
|
||||||
min-height: 300px;
|
height: 300px;
|
||||||
min-width: 300px;
|
width: 300px;
|
||||||
height: 100%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
|
@ -18,8 +17,11 @@ body {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
padding: 20px;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
#__plasmo {
|
#__plasmo {
|
||||||
|
|
|
||||||
|
|
@ -30,8 +30,7 @@
|
||||||
.setup-screen .icon {
|
.setup-screen .icon {
|
||||||
/* background-color: #0b0b1b77; */
|
/* background-color: #0b0b1b77; */
|
||||||
color: #8288FE;
|
color: #8288FE;
|
||||||
/* height: 40px; */
|
height: 40px;
|
||||||
/* font-size: 20px; */
|
|
||||||
font-size: 40px;
|
font-size: 40px;
|
||||||
/* width: 40px; */
|
/* width: 40px; */
|
||||||
/* border-radius: 9999px; */
|
/* border-radius: 9999px; */
|
||||||
|
|
|
||||||
|
|
@ -2,14 +2,14 @@
|
||||||
font-family: "Inter";
|
font-family: "Inter";
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
src: url(data-base64:~assets/inter/regular.ttf);
|
src: url(data-base64:../assets/inter/regular.ttf);
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "Inter";
|
font-family: "Inter";
|
||||||
font-style: bold;
|
font-style: bold;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
src: url(data-base64:~assets/inter/bold.ttf);
|
src: url(data-base64:../assets/inter/bold.ttf);
|
||||||
}
|
}
|
||||||
|
|
||||||
body, html {
|
body, html {
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ export function useToggleWhitelistDomain(domain: string | null) {
|
||||||
const isWhitelisted = domainWhitelist.includes(domain ?? '');
|
const isWhitelisted = domainWhitelist.includes(domain ?? '');
|
||||||
const { grantPermission } = usePermission();
|
const { grantPermission } = usePermission();
|
||||||
const iconPath = (chrome || browser).runtime.getURL(
|
const iconPath = (chrome || browser).runtime.getURL(
|
||||||
isWhitelisted ? 'src/assets/active.png' : 'src/assets/inactive.png',
|
isWhitelisted ? 'assets/active.png' : 'assets/inactive.png',
|
||||||
);
|
);
|
||||||
|
|
||||||
(chrome || browser).action.setIcon({
|
(chrome || browser).action.setIcon({
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ export default function PermissionRequest() {
|
||||||
purple
|
purple
|
||||||
icon={<Icon name="github" />}
|
icon={<Icon name="github" />}
|
||||||
right={
|
right={
|
||||||
<Button type="secondary" href="https://github.com/sussy-code/browser-ext">
|
<Button type="secondary" href="https://github.com/p-stream/extension">
|
||||||
Read source code
|
Read source code
|
||||||
</Button>
|
</Button>
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue