Skip to content
This repository was archived by the owner on Mar 22, 2018. It is now read-only.

Commit a79dc14

Browse files
committed
Prepare v2.0.4
1 parent 8526253 commit a79dc14

File tree

4 files changed

+10
-11
lines changed

4 files changed

+10
-11
lines changed

extension/background.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ try {
7171

7272
chromeVersion = parseInt(chromeVersion);
7373
sendMessageToHost({
74-
version: "2.0.3"
74+
version: "2.0.4"
7575
});
7676

7777
// Read the local storage for excluded keywords

extension/manifest.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
{
2-
/*"applications": {
2+
"applications": {
33
"gecko": {
44
"id": "uget-integration@slgobinath",
55
"strict_min_version": "52.0"
66
}
7-
},*/
8-
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnI/ECgghIqV+/wQ7b6N+m5tupHZlieWd6nbqqSoqmhUlFg3DmqOi2G/LpVhxoSGHnbRBnemoO2Hs+6aLnlpHKyJ1/DQUHwTjPnvGc9sjTvks1L1dKWTFGcJLiQZPMsjs5g1b8ZNQCH8nGE4uqeSzVK7Hey61gwsS5+OwZYw5/3C/HfBZNNzQfphm7j+eMTuXJTBowA3A3I2ywPRTSOt8n/CxZUIL9O44QOs/WiZFjtERnZocvbHmkWLproj1MIcJVJd0OI11VAfqYznuwsCTIe7annsBpWL1UJUNK+EwVW8Jpj4CUeauC5c0HUWdAecLyx01yKtfokBvwX5fldB1YQIDAQAB",
7+
},
98
"background": {
109
"scripts": [
1110
"background.js"
@@ -50,5 +49,5 @@
5049
"storage",
5150
"cookies"
5251
],
53-
"version": "2.0.3"
52+
"version": "2.0.4"
5453
}

extension/popup.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<body>
2929
<div id="parent-container">
3030
<div id="title-container">
31-
<img id="img-icon" src="icon_32.png" /> <span>uGet Integration 2.0.3</span>
31+
<img id="img-icon" src="icon_32.png" /> <span>uGet Integration 2.0.4</span>
3232
</div>
3333
<hr>
3434
<label id="info"></label><label id="error"></label><label id="warn"></label>
@@ -47,9 +47,9 @@
4747
<input title="Separate values by comma (Eg: github.com, .jpg)" type="text" id="keywordsToExclude" name="keywordsToExclude" size="50" value="" />
4848
</div>
4949
<div id="controls-container">
50-
<label id="label" for="keywords">Interrupt downloads with minium file size:</label>
50+
<label id="label" for="keywords">Minimum file size (in KB) required to interrupt the download:</label>
5151
<br>
52-
<input title="Size in kb" type="text" id="fileSize" name="fileSize" size="50" value=""/>
52+
<input title="File size in KB" type="text" id="fileSize" name="fileSize" size="50" value=""/>
5353
</div>
5454
<div id="controls-container">
5555
<label id="label" for="keywords">Interrupt URLs containing these keywords, regardless of the file size:</label>

uget-chrome-wrapper/bin/uget-chrome-wrapper

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,14 @@
1919
# along with this program. If not, see <http://www.gnu.org/licenses/>.
2020

2121
# sudo apt install python3-urllib3
22-
import struct, sys, threading, logging, json, urllib, subprocess
22+
import struct, sys, threading, logging, json, urllib, subprocess, tempfile
2323
from urllib.parse import urlparse
2424
from os.path import splitext, basename, join, expanduser
2525
from mimetypes import guess_extension
2626

27+
cookie_filepath = join(tempfile.gettempdir(), 'uget_cookie')
2728
UGET_COMMAND = "uget-gtk"
28-
VERSION = "2.0.3"
29+
VERSION = "2.0.4"
2930

3031
logger = logging.getLogger()
3132
# log_file_path = join(expanduser('~'), 'uget-chrome-wrapper.log')
@@ -109,7 +110,6 @@ def read_message():
109110
url = data['url']
110111

111112
if url:
112-
cookie_filepath = '/tmp/uget_cookie'
113113
use_cookie_file = False
114114
filename = data['filename']
115115
cookie = data['cookies']

0 commit comments

Comments
 (0)