From 00a177da2b1cc5d5438c258ea193e7ee9e6a7920 Mon Sep 17 00:00:00 2001 From: Tomurisk <54245284+Tomurisk@users.noreply.github.com> Date: Sat, 7 Dec 2024 16:52:34 +0200 Subject: [PATCH 01/10] Added Cromite browser to the bucket --- bucket/cromite.json | 50 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 bucket/cromite.json diff --git a/bucket/cromite.json b/bucket/cromite.json new file mode 100644 index 00000000000000..bc9d4961d79cc3 --- /dev/null +++ b/bucket/cromite.json @@ -0,0 +1,50 @@ +{ + "version": "v131.0.6778.109-32fa8435523f71f1d2b6ac2facdea91e874c6904", + "description": "Cromite a Bromite fork with ad blocking and privacy enhancements; take back your browser!", + "homepage": "https://www.cromite.org/", + "license": { + "identifier": "GPL-3.0-only", + "url": "https://github.com/uazo/cromite/blob/master/LICENSE" + }, + "architecture": { + "64bit": { + "url": "https://github.com/uazo/cromite/releases/download/v131.0.6778.109-32fa8435523f71f1d2b6ac2facdea91e874c6904/chrome-win.zip", + "hash": "6f5c6ce8c6c4d0bf4caad49d01ac45e17d006ac7e382f9f2c259eaa88698b836" + } + }, + "bin": [ + [ + "bin\\chrome.exe", + "cromite", + "--user-data-dir=\"$dir\\USER_DATA\"" + ] + ], + "shortcuts": [ + [ + "chrome.exe", + "Cromite", + "--user-data-dir=\"$dir\\User Data\"" + ] + ], + "post_install": [ + "if (!(Test-Path \"$dir\\USER_DATA\\*\") -and (Test-Path \"$env:LocalAppData\\Cromite\\User Data\")) {", + " info '[Portable Mode]: Copying user data...'", + " Copy-Item \"$env:LocalAppData\\Cromite\\User Data\\*\" \"$dir\\USER_DATA\" -Recurse", + "}" + ], + "env_set": { + "CHROME_EXECUTABLE": "$dir\\chrome.exe" + }, + "persist": "USER_DATA", + "checkver": { + "github": "https://github.com/uazo/cromite", + "regex": "releases/tag/v(?
\\d+\\.\\d+\\.\\d+\\.\\d+)-(?[a-f0-9]{40})" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://github.com/uazo/cromite/releases/download/$version/chrome-win.zip" + } + } + } +} From 41554f22972ed768d12c0e974d0e326d4d127cc6 Mon Sep 17 00:00:00 2001 From: Tomurisk <54245284+Tomurisk@users.noreply.github.com> Date: Sat, 7 Dec 2024 17:21:46 +0200 Subject: [PATCH 02/10] Updated checkver --- bucket/cromite.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bucket/cromite.json b/bucket/cromite.json index bc9d4961d79cc3..23efbc143b22d9 100644 --- a/bucket/cromite.json +++ b/bucket/cromite.json @@ -38,7 +38,7 @@ "persist": "USER_DATA", "checkver": { "github": "https://github.com/uazo/cromite", - "regex": "releases/tag/v(?
\\d+\\.\\d+\\.\\d+\\.\\d+)-(?[a-f0-9]{40})" + "regex": "/releases/tag/(?:v|V)?([\\d\\.]+(?:-[\\w]+)?)" }, "autoupdate": { "architecture": { From 9993f4200fd033784a8241e9a14abea0e08ddf08 Mon Sep 17 00:00:00 2001 From: Tomurisk <54245284+Tomurisk@users.noreply.github.com> Date: Sat, 7 Dec 2024 17:30:18 +0200 Subject: [PATCH 03/10] Was a small mistake in autoupdate --- bucket/cromite.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bucket/cromite.json b/bucket/cromite.json index 23efbc143b22d9..04992a851ade06 100644 --- a/bucket/cromite.json +++ b/bucket/cromite.json @@ -43,7 +43,7 @@ "autoupdate": { "architecture": { "64bit": { - "url": "https://github.com/uazo/cromite/releases/download/$version/chrome-win.zip" + "url": "https://github.com/uazo/cromite/releases/tag/$version/chrome-win.zip" } } } From 1dcc4b71ec4b569675a0be2963f3fec97c060fa6 Mon Sep 17 00:00:00 2001 From: Tomurisk <54245284+Tomurisk@users.noreply.github.com> Date: Sat, 7 Dec 2024 17:35:35 +0200 Subject: [PATCH 04/10] Nother shot --- bucket/cromite.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bucket/cromite.json b/bucket/cromite.json index 04992a851ade06..23efbc143b22d9 100644 --- a/bucket/cromite.json +++ b/bucket/cromite.json @@ -43,7 +43,7 @@ "autoupdate": { "architecture": { "64bit": { - "url": "https://github.com/uazo/cromite/releases/tag/$version/chrome-win.zip" + "url": "https://github.com/uazo/cromite/releases/download/$version/chrome-win.zip" } } } From 53f7466f3b86aa0b3b17eec5bfc9fdf7ff1ff159 Mon Sep 17 00:00:00 2001 From: Tomurisk <54245284+Tomurisk@users.noreply.github.com> Date: Sat, 7 Dec 2024 17:41:43 +0200 Subject: [PATCH 05/10] Actually, I forgot the 'v' in updatever --- bucket/cromite.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bucket/cromite.json b/bucket/cromite.json index 23efbc143b22d9..ff855a43c64d3c 100644 --- a/bucket/cromite.json +++ b/bucket/cromite.json @@ -43,7 +43,7 @@ "autoupdate": { "architecture": { "64bit": { - "url": "https://github.com/uazo/cromite/releases/download/$version/chrome-win.zip" + "url": "https://github.com/uazo/cromite/releases/download/v$version/chrome-win.zip" } } } From 0ffea005c25135dd720780def47504058c19008e Mon Sep 17 00:00:00 2001 From: Tomurisk <54245284+Tomurisk@users.noreply.github.com> Date: Sat, 7 Dec 2024 17:49:56 +0200 Subject: [PATCH 06/10] This should do it --- bucket/cromite.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bucket/cromite.json b/bucket/cromite.json index ff855a43c64d3c..ea8260e20d04e2 100644 --- a/bucket/cromite.json +++ b/bucket/cromite.json @@ -38,7 +38,7 @@ "persist": "USER_DATA", "checkver": { "github": "https://github.com/uazo/cromite", - "regex": "/releases/tag/(?:v|V)?([\\d\\.]+(?:-[\\w]+)?)" + "regex": "releases/tag/([vV]?([\\d\\.]+(?:-[\\w]+)?))" }, "autoupdate": { "architecture": { @@ -47,4 +47,4 @@ } } } -} +} \ No newline at end of file From dbe0a01a3e7ec20ce6535da42194c3ccb7cf5d1d Mon Sep 17 00:00:00 2001 From: Tomurisk <54245284+Tomurisk@users.noreply.github.com> Date: Sat, 7 Dec 2024 17:52:58 +0200 Subject: [PATCH 07/10] Ok, this should *really* do it --- bucket/cromite.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bucket/cromite.json b/bucket/cromite.json index ea8260e20d04e2..0228c899f53e52 100644 --- a/bucket/cromite.json +++ b/bucket/cromite.json @@ -43,7 +43,7 @@ "autoupdate": { "architecture": { "64bit": { - "url": "https://github.com/uazo/cromite/releases/download/v$version/chrome-win.zip" + "url": "https://github.com/uazo/cromite/releases/download/$version/chrome-win.zip" } } } From 604ae17addcbefdc0e1d7cef637a005223b9b505 Mon Sep 17 00:00:00 2001 From: Tomas <54245284+Tomurisk@users.noreply.github.com> Date: Sat, 7 Dec 2024 19:20:41 +0200 Subject: [PATCH 08/10] Update cromite.json I updated tabs with four spaces --- bucket/cromite.json | 98 ++++++++++++++++++++++----------------------- 1 file changed, 49 insertions(+), 49 deletions(-) diff --git a/bucket/cromite.json b/bucket/cromite.json index 0228c899f53e52..951b5e7c116ac3 100644 --- a/bucket/cromite.json +++ b/bucket/cromite.json @@ -1,50 +1,50 @@ { - "version": "v131.0.6778.109-32fa8435523f71f1d2b6ac2facdea91e874c6904", - "description": "Cromite a Bromite fork with ad blocking and privacy enhancements; take back your browser!", - "homepage": "https://www.cromite.org/", - "license": { - "identifier": "GPL-3.0-only", - "url": "https://github.com/uazo/cromite/blob/master/LICENSE" - }, - "architecture": { - "64bit": { - "url": "https://github.com/uazo/cromite/releases/download/v131.0.6778.109-32fa8435523f71f1d2b6ac2facdea91e874c6904/chrome-win.zip", - "hash": "6f5c6ce8c6c4d0bf4caad49d01ac45e17d006ac7e382f9f2c259eaa88698b836" - } - }, - "bin": [ - [ - "bin\\chrome.exe", - "cromite", - "--user-data-dir=\"$dir\\USER_DATA\"" - ] - ], - "shortcuts": [ - [ - "chrome.exe", - "Cromite", - "--user-data-dir=\"$dir\\User Data\"" - ] - ], - "post_install": [ - "if (!(Test-Path \"$dir\\USER_DATA\\*\") -and (Test-Path \"$env:LocalAppData\\Cromite\\User Data\")) {", - " info '[Portable Mode]: Copying user data...'", - " Copy-Item \"$env:LocalAppData\\Cromite\\User Data\\*\" \"$dir\\USER_DATA\" -Recurse", - "}" - ], - "env_set": { - "CHROME_EXECUTABLE": "$dir\\chrome.exe" - }, - "persist": "USER_DATA", - "checkver": { - "github": "https://github.com/uazo/cromite", - "regex": "releases/tag/([vV]?([\\d\\.]+(?:-[\\w]+)?))" - }, - "autoupdate": { - "architecture": { - "64bit": { - "url": "https://github.com/uazo/cromite/releases/download/$version/chrome-win.zip" - } - } - } -} \ No newline at end of file + "version": "v131.0.6778.109-32fa8435523f71f1d2b6ac2facdea91e874c6904", + "description": "Cromite a Bromite fork with ad blocking and privacy enhancements; take back your browser!", + "homepage": "https://www.cromite.org/", + "license": { + "identifier": "GPL-3.0-only", + "url": "https://github.com/uazo/cromite/blob/master/LICENSE" + }, + "architecture": { + "64bit": { + "url": "https://github.com/uazo/cromite/releases/download/v131.0.6778.109-32fa8435523f71f1d2b6ac2facdea91e874c6904/chrome-win.zip", + "hash": "6f5c6ce8c6c4d0bf4caad49d01ac45e17d006ac7e382f9f2c259eaa88698b836" + } + }, + "bin": [ + [ + "bin\\chrome.exe", + "cromite", + "--user-data-dir=\"$dir\\USER_DATA\"" + ] + ], + "shortcuts": [ + [ + "chrome.exe", + "Cromite", + "--user-data-dir=\"$dir\\User Data\"" + ] + ], + "post_install": [ + "if (!(Test-Path \"$dir\\USER_DATA\\*\") -and (Test-Path \"$env:LocalAppData\\Cromite\\User Data\")) {", + " info '[Portable Mode]: Copying user data...'", + " Copy-Item \"$env:LocalAppData\\Cromite\\User Data\\*\" \"$dir\\USER_DATA\" -Recurse", + "}" + ], + "env_set": { + "CHROME_EXECUTABLE": "$dir\\chrome.exe" + }, + "persist": "USER_DATA", + "checkver": { + "github": "https://github.com/uazo/cromite", + "regex": "releases/tag/([vV]?([\\d\\.]+(?:-[\\w]+)?))" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://github.com/uazo/cromite/releases/download/$version/chrome-win.zip" + } + } + } +} From 986129d4ce9bd4474db329af97847d07cd375146 Mon Sep 17 00:00:00 2001 From: Tomas <54245284+Tomurisk@users.noreply.github.com> Date: Sat, 7 Dec 2024 19:28:54 +0200 Subject: [PATCH 09/10] Update cromite.json Found a flaw with bin --- bucket/cromite.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bucket/cromite.json b/bucket/cromite.json index 951b5e7c116ac3..44882841325752 100644 --- a/bucket/cromite.json +++ b/bucket/cromite.json @@ -14,7 +14,7 @@ }, "bin": [ [ - "bin\\chrome.exe", + "chrome.exe", "cromite", "--user-data-dir=\"$dir\\USER_DATA\"" ] From 4f860eeb7e201110288c93afff2e9c32ddf3bed9 Mon Sep 17 00:00:00 2001 From: Tomas <54245284+Tomurisk@users.noreply.github.com> Date: Sat, 7 Dec 2024 19:42:29 +0200 Subject: [PATCH 10/10] Some final touches were needed Now it should be fully polished, and ready for publication --- bucket/cromite.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bucket/cromite.json b/bucket/cromite.json index 44882841325752..b833464bca4358 100644 --- a/bucket/cromite.json +++ b/bucket/cromite.json @@ -14,28 +14,28 @@ }, "bin": [ [ - "chrome.exe", + "chrome-win\\chrome.exe", "cromite", - "--user-data-dir=\"$dir\\USER_DATA\"" + "--user-data-dir=\"$dir\\User Data\"" ] ], "shortcuts": [ [ - "chrome.exe", + "chrome-win\\chrome.exe", "Cromite", "--user-data-dir=\"$dir\\User Data\"" ] ], "post_install": [ - "if (!(Test-Path \"$dir\\USER_DATA\\*\") -and (Test-Path \"$env:LocalAppData\\Cromite\\User Data\")) {", + "if (!(Test-Path \"$dir\\User Data\\*\") -and (Test-Path \"$env:LocalAppData\\Cromite\\User Data\")) {", " info '[Portable Mode]: Copying user data...'", - " Copy-Item \"$env:LocalAppData\\Cromite\\User Data\\*\" \"$dir\\USER_DATA\" -Recurse", + " Copy-Item \"$env:LocalAppData\\Cromite\\User Data\\*\" \"$dir\\User Data\" -Recurse", "}" ], "env_set": { "CHROME_EXECUTABLE": "$dir\\chrome.exe" }, - "persist": "USER_DATA", + "persist": "User Data", "checkver": { "github": "https://github.com/uazo/cromite", "regex": "releases/tag/([vV]?([\\d\\.]+(?:-[\\w]+)?))"