This repository has been archived by the owner on Sep 17, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eca5c52
commit aa5b956
Showing
5 changed files
with
9 additions
and
24 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
addonSource/globalPlugins/Unspoken/nvdaaddonupdater/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
from nvdaaddonupdater import * | ||
from .nvdaaddonupdater import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,6 @@ | ||
# Automatically update an NVDA add on. | ||
# By Bryan Smart ([email protected]) | ||
|
||
import os | ||
import threading | ||
import urllib | ||
import tempfile | ||
|
||
import gui | ||
|
||
import wx | ||
|
||
from callafter import * | ||
import os, threading, tempfile, gui, wx | ||
import urllib.request, urllib.parse, urllib.error | ||
from .callafter import * | ||
|
||
class NVDAAddOnUpdater (object): | ||
|
||
|
@@ -26,7 +16,7 @@ def __init__ (self, add_on_name, update_url, current_version): | |
def check_update(self): | ||
# Retrieve current version number. | ||
try: | ||
f = urllib.urlopen(self._update_url + '/version') | ||
f = urllib.request.urlopen(self._update_url + '/version') | ||
except: | ||
# If Internet unavailable, silently fail. | ||
return | ||
|
@@ -55,7 +45,7 @@ def check_update(self): | |
def force_update(self): | ||
# Open connection to download update. | ||
try: | ||
remote_file = urllib.urlopen(self._update_url + '/install') | ||
remote_file = urllib.request.urlopen(self._update_url + '/install') | ||
except: | ||
gui.messageBox("Unable to connect to update server!", style=wx.ICON_ERROR) | ||
return | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,6 @@ summary = "Unspoken 3D Audio" | |
description = """Adds 3D audio for controls and replaces control messages.""" | ||
author = "Camlorn <[email protected]>, Bryan Smart, SeanTolstoyevski <[email protected]>" | ||
url = None | ||
version = 0.1b | ||
version = 0.2b | ||
minimumNVDAVersion = 2019.3 | ||
lastTestedNVDAVersion = 2020.1 |