Skip to content

Commit 45c04c6

Browse files
committed
1. 打包扩展
2. 更新README
1 parent 7afa8c5 commit 45c04c6

File tree

5 files changed

+53
-2
lines changed

5 files changed

+53
-2
lines changed

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
11
# file-hunter
22

3-
Chrome Extension File Hunter,Extension use file request get file
3+
The File Hunter extension is a great browser extension that retrieves resources by intercepting Web requests
4+
5+
## Pull Code
6+
7+
```shell
8+
git clone https://github.com/SpaceChars/file-hunter.git
9+
```
10+
11+
## Build Project
12+
13+
1. Please read the Chrome Extension development documentation,👉[Chrome Extension development documentation ](https://developer.chrome.com/docs/extensions/how-to/distribute/host-on-linux?hl=zh-cn)
14+
15+
2. Copy the built (.crx,.pem) file to the Linux server directory
16+
17+
3. Change the `'codebase'` property value and `'version'` property value in the `'build/updates.xml'`,The `'codebase'` property value points to the address of the crx file on the server
18+
19+
4. Change the `'update_url'` property value in the `manifest.json` file,The value of the `'update_url'` property points to the address of the `'build/updates.xml'` file on the server

build/file-hunter.crx

134 KB
Binary file not shown.

build/file-hunter.pem

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
-----BEGIN PRIVATE KEY-----
2+
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCtjJKbgppCwBkF
3+
NbZOWdRBS4154Ia9vTbK5nYREBEUsDtYReGuKRn/1HfWGIlPEwfjFlQFx8hP3xH0
4+
ne/1sXw2UsG4EVJ2Fi0TRIdRTG4TAE0nL4c3+3zxomZ8C3ASTduwpnxUO7cAoMQX
5+
ktrq8kwCYmjg9NfnNqV4tPT6ArDfKlRvMqqZNve19x2JXPbTpqWeBm3SmKv+xTaw
6+
g0zqi+9/R6vAoGKiCApVRYN9w4RG5orwpg0nL9HtnU41M3dYjQKAxM/Dn0Z7gHBx
7+
8PTho3JRi4Gyy4FvqGNDaUlBuS5wLe3jiKW424jgEcX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2CSV3oze9M7fL9jr2OMNQmFX9/VIjwwWvI86
24+
3gUhj44A1Zkv67c/s9AmS6Jnj3Wd00USo2+C1EL97QKBgHX/z8g+qX48OuPyGCC6
25+
CzslsRj66yY8nPA7XAmPJEPDzfTj95M29Tfaahoj6vW8ZEzvgCB+bOg4CelT5t74
26+
fXRV4FiZrA4hl1PaGhFT4vNM4EGBg4Fw8JZiPvJ+pbR7E9mMAkNV6H+ZaLjWm/SK
27+
7DfkPYdinA4+SpoD4Z5NIWkc
28+
-----END PRIVATE KEY-----

build/updates.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
3+
<app appid='hhjokjkapbeligdpooglagogfieagplm'>
4+
<updatecheck codebase='https://raw.githubusercontent.com/SpaceChars/file-hunter/master/build/file-hunter.crx' version='1.0' />
5+
</app>
6+
</gupdate>

manifest.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"manifest_version": 3,
33
"name": "File Hunter",
4-
"description": "File Hunter",
4+
"description": "The File Hunter extension is a great browser extension that retrieves resources by intercepting Web requests",
55
"version": "1.0",
66
"author": {
77
"email": "[email protected]"
88
},
9+
"update_url": "https://raw.githubusercontent.com/SpaceChars/file-hunter/master/build/updates.xml",
910
"action": {
1011
"default_popup": "popup/index.html",
1112
"default_icon": "images/logo.png"

0 commit comments

Comments
 (0)