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": [
|
||||
{
|
||||
"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",
|
||||
"displayName": "P-Stream extension",
|
||||
"version": "1.3.1",
|
||||
"version": "1.3.2",
|
||||
"description": "Enhance your streaming experience with just one click",
|
||||
"author": "P-Stream",
|
||||
"scripts": {
|
||||
|
|
@ -61,8 +61,8 @@
|
|||
"web_accessible_resources": [
|
||||
{
|
||||
"resources": [
|
||||
"src/assets/active.png",
|
||||
"src/assets/inactive.png"
|
||||
"assets/active.png",
|
||||
"assets/inactive.png"
|
||||
],
|
||||
"matches": [
|
||||
"<all_urls>"
|
||||
|
|
|
|||
|
|
@ -1,9 +1,8 @@
|
|||
@import url("./font.css");
|
||||
|
||||
html {
|
||||
min-height: 300px;
|
||||
min-width: 300px;
|
||||
height: 100%;
|
||||
height: 300px;
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
body {
|
||||
|
|
@ -18,8 +17,11 @@ body {
|
|||
height: 100%;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 20px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
#__plasmo {
|
||||
|
|
|
|||
|
|
@ -30,8 +30,7 @@
|
|||
.setup-screen .icon {
|
||||
/* background-color: #0b0b1b77; */
|
||||
color: #8288FE;
|
||||
/* height: 40px; */
|
||||
/* font-size: 20px; */
|
||||
height: 40px;
|
||||
font-size: 40px;
|
||||
/* width: 40px; */
|
||||
/* border-radius: 9999px; */
|
||||
|
|
|
|||
|
|
@ -2,14 +2,14 @@
|
|||
font-family: "Inter";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url(data-base64:~assets/inter/regular.ttf);
|
||||
src: url(data-base64:../assets/inter/regular.ttf);
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Inter";
|
||||
font-style: bold;
|
||||
font-weight: 700;
|
||||
src: url(data-base64:~assets/inter/bold.ttf);
|
||||
src: url(data-base64:../assets/inter/bold.ttf);
|
||||
}
|
||||
|
||||
body, html {
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ export function useToggleWhitelistDomain(domain: string | null) {
|
|||
const isWhitelisted = domainWhitelist.includes(domain ?? '');
|
||||
const { grantPermission } = usePermission();
|
||||
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({
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ export default function PermissionRequest() {
|
|||
purple
|
||||
icon={<Icon name="github" />}
|
||||
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
|
||||
</Button>
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue