3 Commits
Author SHA1 Message Date
Илья Глазунов 7bcde9f6d7 Bump version to 1.2.2 and update Firefox manifest for stricter version requirements
Build and Release Extension / build (push) Successful in 25s
2026-04-19 16:49:53 +03:00
Илья Глазунов d545434815 Bump version to 1.2.1 and enhance build scripts for better Firefox compatibility
Build and Release Extension / build (push) Successful in 25s
2026-04-19 16:45:28 +03:00
Shifty 3e7c1a34af Merge pull request 'firefox' (#1) from firefox into master
Reviewed-on: https://git.pyserve.org/Shifty/reels-master/pulls/1
2026-04-19 13:22:26 +00:00
4 changed files with 31 additions and 14 deletions
+5 -5
View File
@@ -1,14 +1,14 @@
{
"name": "reels-master",
"version": "1.1.2",
"version": "1.2.2",
"description": "Chrome extension for Instagram Reels with volume control and download functionality",
"main": "index.js",
"scripts": {
"dev": "BROWSER=chrome vite build --watch",
"dev:firefox": "BROWSER=firefox vite build --watch",
"dev": "BROWSER=chrome BUILD_ENTRY=background vite build && BROWSER=chrome BUILD_ENTRY=content vite build --watch",
"dev:firefox": "BROWSER=firefox BUILD_ENTRY=background vite build && BROWSER=firefox BUILD_ENTRY=content vite build --watch",
"build": "pnpm build:chrome && pnpm build:firefox",
"build:chrome": "BROWSER=chrome vite build",
"build:firefox": "BROWSER=firefox vite build",
"build:chrome": "BROWSER=chrome BUILD_ENTRY=background vite build && BROWSER=chrome BUILD_ENTRY=content vite build",
"build:firefox": "BROWSER=firefox BUILD_ENTRY=background vite build && BROWSER=firefox BUILD_ENTRY=content vite build",
"bundle": "vite build && node scripts/bundle.js",
"type-check": "tsc --noEmit"
},
+1 -1
View File
@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "Reels Master",
"version": "1.1.2",
"version": "1.2.2",
"description": "Enhance your Instagram experience with Reels Master - download reels, seek through videos, and more!",
"background": {
"service_worker": "background/background.js"
+6 -3
View File
@@ -1,10 +1,10 @@
{
"manifest_version": 3,
"name": "Reels Master",
"version": "1.1.2",
"version": "1.2.2",
"description": "Enhance your Instagram experience with Reels Master - download reels, seek through videos, and more!",
"background": {
"service_worker": "background/background.js"
"scripts": ["background/background.js"]
},
"homepage_url": "https://shiftyspace.ru",
"author": "ShiftyX1",
@@ -21,7 +21,10 @@
"browser_specific_settings": {
"gecko": {
"id": "reels-master@shiftyspace.ru",
"strict_min_version": "121.0"
"strict_min_version": "140.0",
"data_collection_permissions": {
"required": ["none"]
}
}
}
}
+19 -5
View File
@@ -5,15 +5,27 @@ import AdmZip from 'adm-zip';
const browser = process.env.BROWSER || 'chrome';
const buildEntry = process.env.BUILD_ENTRY; // 'background' | 'content' | undefined (both)
const inputs =
buildEntry === 'background'
? { background: resolve(__dirname, 'src/background/service-worker.ts') }
: buildEntry === 'content'
? { content: resolve(__dirname, 'src/content/content.ts') }
: {
background: resolve(__dirname, 'src/background/service-worker.ts'),
content: resolve(__dirname, 'src/content/content.ts'),
};
const shouldEmptyOutDir = buildEntry !== 'content';
const isFinalPass = buildEntry !== 'background';
export default defineConfig({
build: {
outDir: 'dist',
emptyOutDir: true,
emptyOutDir: shouldEmptyOutDir,
rollupOptions: {
input: {
background: resolve(__dirname, 'src/background/service-worker.ts'),
content: resolve(__dirname, 'src/content/content.ts'),
},
input: inputs,
output: {
entryFileNames: '[name]/[name].js',
chunkFileNames: '[name].js',
@@ -25,6 +37,7 @@ export default defineConfig({
{
name: 'copy-manifest',
closeBundle() {
if (!isFinalPass) return;
try {
copyFileSync(
resolve(__dirname, `src/manifest.${browser}.json`),
@@ -39,6 +52,7 @@ export default defineConfig({
{
name: 'create-zip',
closeBundle() {
if (!isFinalPass) return;
if (process.env.NODE_ENV === 'production' || !process.argv.includes('--watch')) {
try {
const zip = new AdmZip();