From feda8a7db8d1d7c5439aa8f8feef7cc0dd2b59a0 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Fri, 27 Jul 2018 23:51:12 -0400 Subject: New upstream version 3.2.1+dfsg1 --- .../UpdateSQLiteStudio.exe.manifest | 19 --------- .../UpdateSQLiteStudio/UpdateSQLiteStudio.pro | 41 ------------------ SQLiteStudio3/UpdateSQLiteStudio/main.cpp | 49 ---------------------- .../UpdateSQLiteStudio/windows.manifest.autosave | 19 --------- SQLiteStudio3/UpdateSQLiteStudio/windows.rc | 3 -- 5 files changed, 131 deletions(-) delete mode 100644 SQLiteStudio3/UpdateSQLiteStudio/UpdateSQLiteStudio.exe.manifest delete mode 100644 SQLiteStudio3/UpdateSQLiteStudio/UpdateSQLiteStudio.pro delete mode 100644 SQLiteStudio3/UpdateSQLiteStudio/main.cpp delete mode 100644 SQLiteStudio3/UpdateSQLiteStudio/windows.manifest.autosave delete mode 100644 SQLiteStudio3/UpdateSQLiteStudio/windows.rc (limited to 'SQLiteStudio3/UpdateSQLiteStudio') diff --git a/SQLiteStudio3/UpdateSQLiteStudio/UpdateSQLiteStudio.exe.manifest b/SQLiteStudio3/UpdateSQLiteStudio/UpdateSQLiteStudio.exe.manifest deleted file mode 100644 index 54081e5..0000000 --- a/SQLiteStudio3/UpdateSQLiteStudio/UpdateSQLiteStudio.exe.manifest +++ /dev/null @@ -1,19 +0,0 @@ - - - - SQLiteStudio updater - - - - - - - - - - - - diff --git a/SQLiteStudio3/UpdateSQLiteStudio/UpdateSQLiteStudio.pro b/SQLiteStudio3/UpdateSQLiteStudio/UpdateSQLiteStudio.pro deleted file mode 100644 index 81819af..0000000 --- a/SQLiteStudio3/UpdateSQLiteStudio/UpdateSQLiteStudio.pro +++ /dev/null @@ -1,41 +0,0 @@ -#------------------------------------------------- -# -# Project created by QtCreator 2014-08-29T20:30:14 -# -#------------------------------------------------- - -include($$PWD/../dirs.pri) -include($$PWD/../utils.pri) - -QT += core -QT -= gui - -TARGET = UpdateSQLiteStudio -#CONFIG += console -CONFIG -= app_bundle - -CONFIG += c++11 -QMAKE_CXXFLAGS += -pedantic - -LIBS += -lcoreSQLiteStudio - -TEMPLATE = app - -DEFINES += PORTABLE_CONFIG - -linux|portable { - QMAKE_LFLAGS += -Wl,-rpath,./lib -} - - -win32: { - RC_FILE = windows.rc -} - -SOURCES += main.cpp - -OTHER_FILES += \ - windows.rc \ - UpdateSQLiteStudio.exe.manifest - -HEADERS += diff --git a/SQLiteStudio3/UpdateSQLiteStudio/main.cpp b/SQLiteStudio3/UpdateSQLiteStudio/main.cpp deleted file mode 100644 index e5730d3..0000000 --- a/SQLiteStudio3/UpdateSQLiteStudio/main.cpp +++ /dev/null @@ -1,49 +0,0 @@ -#include "services/updatemanager.h" -#include -#include -#include -#include -#include -#include - -int main(int argc, char *argv[]) -{ - QCoreApplication app(argc, argv); - - QString path = app.applicationDirPath() + QLatin1Char('/') + UpdateManager::WIN_INSTALL_FILE; - QFile installFile(path); - if (QFileInfo(path).isReadable()) - { - installFile.open(QIODevice::ReadOnly); - QTextStream inStr(&installFile); - QString option = inStr.readLine(); - QString backupDir = inStr.readLine(); - QString appDir = inStr.readLine(); - installFile.close(); - installFile.remove(); - - QString tempDir = app.applicationDirPath(); - if (option == UpdateManager::UPDATE_OPTION_NAME) - { - bool res = UpdateManager::executeFinalStep(tempDir, backupDir, appDir); - if (res) - { - QFile doneFile(appDir + QLatin1Char('/') + UpdateManager::WIN_UPDATE_DONE_FILE); - doneFile.open(QIODevice::WriteOnly); - doneFile.close(); - } - else - qCritical() << QString("Could not execute final step with root priviledges: %1").arg(UpdateManager::getStaticErrorMessage()); - } - else - { - qCritical() << QString("Option passed to updater not matched: '%1' != '%2'").arg(option, UpdateManager::UPDATE_OPTION_NAME); - } - } - else - { - qCritical() << QString("Updater installation file (%1) was not readable.").arg(path); - } - - return 0; -} diff --git a/SQLiteStudio3/UpdateSQLiteStudio/windows.manifest.autosave b/SQLiteStudio3/UpdateSQLiteStudio/windows.manifest.autosave deleted file mode 100644 index 788fba6..0000000 --- a/SQLiteStudio3/UpdateSQLiteStudio/windows.manifest.autosave +++ /dev/null @@ -1,19 +0,0 @@ - - - - Gokulnathvc Really Cool App - - - - - - - - - - - - \ No newline at end of file diff --git a/SQLiteStudio3/UpdateSQLiteStudio/windows.rc b/SQLiteStudio3/UpdateSQLiteStudio/windows.rc deleted file mode 100644 index 1e4ed25..0000000 --- a/SQLiteStudio3/UpdateSQLiteStudio/windows.rc +++ /dev/null @@ -1,3 +0,0 @@ -#include - -CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "UpdateSQLiteStudio.exe.manifest" -- cgit v1.2.3