| 1 |
Description: Use non-minified version of otpauth.js. |
| 2 |
Author: Mike Gabriel <[email protected]> |
| 3 |
Forwarded: not needed, Debian-specific |
| 4 |
|
| 5 |
--- a/qml/Components/PageBackup.qml |
| 6 |
+++ b/qml/Components/PageBackup.qml |
| 7 |
@@ -22,7 +22,7 @@ |
| 8 |
import Lomiri.Components.Popups 1.3 |
| 9 |
|
| 10 |
import QtQuick.LocalStorage 2.0 |
| 11 |
|
| 12 |
+import "../js/otpauth.js" as OTPAuth |
| 13 |
import "../js/db.js" as KeysDB |
| 14 |
|
| 15 |
Page { |
| 16 |
--- a/qml/Components/PageCheckdB.qml |
| 17 |
+++ b/qml/Components/PageCheckdB.qml |
| 18 |
@@ -22,7 +22,7 @@ |
| 19 |
import Lomiri.Components.Popups 1.3 |
| 20 |
|
| 21 |
import QtQuick.LocalStorage 2.0 |
| 22 |
|
| 23 |
+//import "../js/otpauth.js" as OTPAuth |
| 24 |
import "../js/db.js" as KeysDB |
| 25 |
|
| 26 |
Page { |
| 27 |
--- a/qml/Components/PageImport.qml |
| 28 |
+++ b/qml/Components/PageImport.qml |
| 29 |
@@ -22,7 +22,7 @@ |
| 30 |
import Lomiri.Components.Popups 1.3 |
| 31 |
|
| 32 |
import QtQuick.LocalStorage 2.0 |
| 33 |
|
| 34 |
+//import "../js/otpauth.js" as OTPAuth |
| 35 |
import "../js/db.js" as KeysDB |
| 36 |
|
| 37 |
Page { |
| 38 |
--- a/qml/Components/PageKeysInfo.qml |
| 39 |
+++ b/qml/Components/PageKeysInfo.qml |
| 40 |
@@ -22,7 +22,7 @@ |
| 41 |
import Lomiri.Components.Popups 1.3 |
| 42 |
|
| 43 |
import QtQuick.LocalStorage 2.0 |
| 44 |
|
| 45 |
+//import "../js/otpauth.js" as OTPAuth |
| 46 |
import "../js/db.js" as KeysDB |
| 47 |
|
| 48 |
Page { |
| 49 |
--- a/qml/Main.qml |
| 50 |
+++ b/qml/Main.qml |
| 51 |
@@ -26,7 +26,7 @@ |
| 52 |
|
| 53 |
|
| 54 |
//Only need to import OTPAuth once |
| 55 |
|
| 56 |
+import "js/otpauth.js" as OTPAuth |
| 57 |
import "js/db.js" as KeysDB |
| 58 |
import "Components" |
| 59 |
|
| 60 |
--- a/CMakeLists.txt |
| 61 |
+++ b/CMakeLists.txt |
| 62 |
@@ -93,9 +93,7 @@ |
| 63 |
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/manifest.json DESTINATION ${DATA_DIR}) |
| 64 |
endif() |
| 65 |
configure_file(About.qml.in ${CMAKE_CURRENT_BINARY_DIR}/About.qml) |
| 66 |
|
| 67 |
|
| 68 |
|
| 69 |
+install(DIRECTORY qml DESTINATION ${DATA_DIR}) |
| 70 |
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/About.qml DESTINATION ${DATA_DIR}/qml) |
| 71 |
install(DIRECTORY assets DESTINATION ${DATA_DIR}) |
| 72 |
|