Application updates disabled in linux (only notify).
This commit is contained in:
parent
777bb9ff25
commit
8c15289f8a
@ -155,7 +155,7 @@ void Updater::parseAvailableVersion () {
|
|||||||
if (!installDir.isWritable ()) { // check dir because install = remove + make new
|
if (!installDir.isWritable ()) { // check dir because install = remove + make new
|
||||||
inaccessible << installDir.absoluteFilePath ();
|
inaccessible << installDir.absoluteFilePath ();
|
||||||
}
|
}
|
||||||
if (current[_version].toInt () < available[_compatibleVersion].toInt ()) {
|
if (current[_version].toInt () < versionField (available, _compatibleVersion).toInt ()) {
|
||||||
incompatible << component;
|
incompatible << component;
|
||||||
}
|
}
|
||||||
if (!QFile::exists (path) || current[_version].toInt () < available[_version].toInt ()) {
|
if (!QFile::exists (path) || current[_version].toInt () < available[_version].toInt ()) {
|
||||||
|
@ -4,12 +4,13 @@
|
|||||||
"Application": {
|
"Application": {
|
||||||
"version": 1,
|
"version": 1,
|
||||||
"compatibleVersion": 1,
|
"compatibleVersion": 1,
|
||||||
|
"compatibleVersion_linux": 999,
|
||||||
"built_in": true,
|
"built_in": true,
|
||||||
"versionString": "2.0.0",
|
"versionString": "2.0.0",
|
||||||
"permissions": "0x7755",
|
"permissions": "0x7755",
|
||||||
"url_win": "https://raw.githubusercontent.com/OneMoreGres/ScreenTranslator/releases/2.0.0/ScreenTranslator.exe",
|
"url_win": "https://raw.githubusercontent.com/OneMoreGres/ScreenTranslator/releases/2.0.0/ScreenTranslator.exe",
|
||||||
"path_win": "ScreenTranslator.exe",
|
"path_win": "ScreenTranslator.exe",
|
||||||
"url_linux": "https://raw.githubusercontent.com/OneMoreGres/ScreenTranslator/releases/2.0.0/ScreenTranslator",
|
"url_linux": "disabled",
|
||||||
"path_linux": "ScreenTranslator"
|
"path_linux": "ScreenTranslator"
|
||||||
},
|
},
|
||||||
"Bing translator": {
|
"Bing translator": {
|
||||||
|
Loading…
Reference in New Issue
Block a user