Skip to content

Commit

Permalink
installer removed and appimage support
Browse files Browse the repository at this point in the history
  • Loading branch information
Artanidos committed May 20, 2019
1 parent 30fc6aa commit 29dcc17
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 173 deletions.
1 change: 0 additions & 1 deletion App.pro
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ DISTFILES += \
todo.txt \
changelog.txt \
build.txt \
buildAppImage.sh \
default.desktop \
default.svg \
AppRun \
Expand Down
4 changes: 2 additions & 2 deletions AppRun
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
HERE="$(dirname "$(readlink -f "${0}")")"
export LD_LIBRARY_PATH=${HERE}/usr/lib:$LD_LIBRARY_PATH
exec "${HERE}/usr/bin/AnimationMaker" "$@"
export LD_LIBRARY_PATH=${HERE}:$LD_LIBRARY_PATH
exec "${HERE}/AnimationMaker" "$@"
2 changes: 0 additions & 2 deletions Widgets/Widgets.pro
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ SOURCES += \
colorrect.cpp \
xmleditor.cpp \
xmlhighlighter.cpp \
installer.cpp \
transition.cpp \
keyframehandle.cpp \
transitionhandleright.cpp \
Expand Down Expand Up @@ -84,7 +83,6 @@ HEADERS +=\
colorrect.h \
xmleditor.h \
xmlhighlighter.h \
installer.h \
transition.h \
keyframehandle.h \
transitionhandleright.h \
Expand Down
85 changes: 0 additions & 85 deletions Widgets/installer.cpp

This file was deleted.

34 changes: 0 additions & 34 deletions Widgets/installer.h

This file was deleted.

16 changes: 0 additions & 16 deletions Widgets/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include "animationscene.h"
#include "vectorgraphic.h"
#include "interfaces.h"
#include "installer.h"
#include "plugins.h"
#include "bitmap.h"
#include "itempropertyeditor.h"
Expand Down Expand Up @@ -51,7 +50,6 @@ MainWindow::MainWindow(QWidget *parent) :
m_undoStack = new QUndoStack(this);

setDockNestingEnabled(true);
install();
loadPlugins();
createStatusBar();
createActions();
Expand Down Expand Up @@ -98,20 +96,6 @@ void MainWindow::loadPlugins()
}
}

void MainWindow::install()
{
QDir installDir(QDir::homePath() + "/AnimationMaker");
if(!installDir.exists())
{
qDebug() << "Installing plugins";
installDir.setPath(QDir::homePath());
installDir.mkdir("AnimationMaker");
installDir.cd("AnimationMaker");
}

Installer::installFiles(QCoreApplication::applicationDirPath() + "/../../plugins", installDir.absolutePath() + "/plugins", true, false);
}

void MainWindow::save()
{
writeFile(loadedFile.filePath());
Expand Down
31 changes: 0 additions & 31 deletions buildAppImage.sh

This file was deleted.

4 changes: 4 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
1.8.4
- Setup program added (Appimage is not supported anymore)
- Use AppRun to start the application

1.8.2
---
- New animateable properties for transformation (scale, shear, translate and rotate) added
Expand Down
4 changes: 2 additions & 2 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
**
****************************************************************************/

#include "winmainwindow.h"
#include "mainwindow.h"
#include <QApplication>
#include <QStyleFactory>
#include <QTest>
Expand All @@ -37,7 +37,7 @@ int main(int argc, char *argv[])
QApplication a(argc, argv);

QCoreApplication::setApplicationName("AnimationMaker");
QCoreApplication::setApplicationVersion("1.8.3");
QCoreApplication::setApplicationVersion("1.8.4");
QCoreApplication::setOrganizationName("Artanidos");

QFont newFont("Sans Serif", 10);
Expand Down

0 comments on commit 29dcc17

Please sign in to comment.