Add updater application dir variable
This commit is contained in:
parent
f51521f8e2
commit
351ac398b4
@ -150,6 +150,7 @@ void Manager::setupUpdates(const Settings &settings)
|
|||||||
{"$translators$", settings.translatorsDir},
|
{"$translators$", settings.translatorsDir},
|
||||||
{"$tessdata$", settings.tessdataPath},
|
{"$tessdata$", settings.tessdataPath},
|
||||||
{"$hunspell$", settings.hunspellDir},
|
{"$hunspell$", settings.hunspellDir},
|
||||||
|
{"$appdir$", QApplication::applicationDirPath()},
|
||||||
});
|
});
|
||||||
|
|
||||||
SOFT_ASSERT(updateAutoChecker_, return );
|
SOFT_ASSERT(updateAutoChecker_, return );
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
"version":1
|
"version":1
|
||||||
|
|
||||||
,"app":{
|
,"app":{
|
||||||
"win32":{"version":"3.0.0", "host":"win32", "files":[]}
|
"win32":{"version":"3.0.0", "host":"win32", "files":[{"path":"$appdir$/screen-translator.exe", "md5":""}]}
|
||||||
,"win64":{"version":"3.0.0", "host":"win64", "files":[]}
|
,"win64":{"version":"3.0.0", "host":"win64", "files":[{"path":"$appdir$/screen-translator.exe", "md5":""}]}
|
||||||
,"linux":{"version":"3.0.0", "host":"linux", "files":[]}
|
,"linux":{"version":"3.0.0", "host":"linux", "files":[{"path":"$appdir$/screen-translator", "md5":""}]}
|
||||||
}
|
}
|
||||||
|
|
||||||
,"recognizers": {
|
,"recognizers": {
|
||||||
|
Loading…
Reference in New Issue
Block a user