This file contains hidden or 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
diff --git a/alfix.py b/alfix.py | |
index eed2f61..ee80ced 100755 | |
--- a/alfix.py | |
+++ b/alfix.py | |
@@ -9,8 +9,11 @@ import gzip | |
from lxml import etree | |
from lxml import html | |
from lxml.html import builder as E | |
+from lxml.html import soupparser | |
from urllib.parse import urlparse, parse_qsl |
This file contains hidden or 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
diff --git a/alfix.py b/alfix.py | |
index eed2f61..b874148 100755 | |
--- a/alfix.py | |
+++ b/alfix.py | |
@@ -9,6 +9,7 @@ import gzip | |
from lxml import etree | |
from lxml import html | |
from lxml.html import builder as E | |
+from lxml.html import soupparser | |
from urllib.parse import urlparse, parse_qsl |
This file contains hidden or 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
diff --git a/mdb2sql.sh b/mdb2sql.sh | |
index ffba647..9f62730 100755 | |
--- a/mdb2sql.sh | |
+++ b/mdb2sql.sh | |
@@ -26,4 +26,5 @@ done | |
echo "regenerating searchable text..." | |
./xml2txt.py ${dbfile} | |
+sqlite3 ${dbfile} "CREATE VIRTUAL TABLE fts USING fts4(ft text, id INTEGER); INSERT INTO fts SELECT value_xml,id FROM xml" | |
echo "done" |
This file contains hidden or 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
diff --git a/src/MainPanel.cpp b/src/MainPanel.cpp | |
index 3909137..f93de06 100755 | |
--- a/src/MainPanel.cpp | |
+++ b/src/MainPanel.cpp | |
@@ -240,7 +240,7 @@ void MainPanel::OnInstall(wxCommandEvent& event) | |
iso = m_dvdDriveDevList.at(m_dvdDriveList->GetSelection()); | |
} | |
- PipeManager pipe(std::string("gksudo --description 'WinUSB' -- sh -c 'winusb --noColor --forGui --format \"") + iso + "\" \"" + device + "\" 2>&1'"); | |
+ PipeManager pipe(std::string("pkexec sh -c '/usr/local/bin/winusb --noColor --forGui --format \"") + iso + "\" \"" + device + "\" 2>&1'"); |