Skip to content

Commit

Permalink
Changed windows installer to not uninstall publisher so that your fav…
Browse files Browse the repository at this point in the history
…orite programming language tool is not affected. Bumped version to 1.1.2
  • Loading branch information
jsdenson committed Jul 26, 2017
1 parent a02af1c commit 91674fa
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
1 change: 1 addition & 0 deletions propside/aboutdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include "aboutdialog.h"
#include "properties.h"


AboutDialog::AboutDialog(QString landing, QWidget *parent) : QDialog(parent)
{
QVBoxLayout *layout = new QVBoxLayout(this);
Expand Down
11 changes: 11 additions & 0 deletions propside/mainspinwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5285,6 +5285,14 @@ void MainSpinWindow::programDebug()
term->getEditor()->setPortEnable(false);
btnConnected->setChecked(false);

/* enable terminal here so first hello world program shows content */
term->getEditor()->setPlainText("");
term->getEditor()->setPortEnable(true);
term->setPortName(portName);
term->activateWindow();
term->setPortEnabled(true);
term->show();

if(runLoader("-r -t")) {
portListener->close();
return;
Expand All @@ -5294,12 +5302,15 @@ void MainSpinWindow::programDebug()
portListener->open();

btnConnected->setChecked(true);

/* activate terminal here so first hello world program is in focus like before */
term->getEditor()->setPlainText("");
term->getEditor()->setPortEnable(true);
term->setPortName(portName);
term->activateWindow();
term->setPortEnabled(true);
term->show();

term->getEditor()->setFocus();
cbPort->setEnabled(false);
}
Expand Down
5 changes: 3 additions & 2 deletions propside/propside.iss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#define MyAppName "SimpleIDE"
#define MyDocName "SimpleIDE"
#define MyAppVersion "1-1-0"
#define MyAppVersion "1-1-2"
#define MyAppPublisher "ParallaxInc"
#define MyAppURL "parallax.com"
#define MyAppExeName "bin\SimpleIDE.exe"
Expand Down Expand Up @@ -154,7 +154,8 @@ Filename: {app}\{#FtdiChipApp}; Flags: RunAsCurrentUser NoWait;

[Registry]
; would like to use HKLM for these things if possible for specifying compiler and user workspace fields.
Root: HKCU; SubKey: Software\{#MyAppPublisher}; Flags: DeleteKey UninsDeleteKey;
;Root: HKCU; SubKey: Software\{#MyAppPublisher}; Flags: DeleteKey UninsDeleteKey; This removes all publisher keys. Don't enable it.
Root: HKCU; SubKey: Software\{#MyAppPublisher}\SimpleIDE; Flags: DeleteKey UninsDeleteKey;
Root: HKCU; SubKey: Software\{#MyAppPublisher}\SimpleIDE\*; Flags: DeleteKey UninsDeleteKey;
;Root: HKCU; Subkey: "Software\{#MyAppPublisher}\SimpleIDE"; ValueType: string; ValueName: SimpleIDE_Compiler; ValueData: "{app}\propeller-gcc\bin\propeller-elf-gcc.exe"; Flags: UninsDeleteKey;
;Root: HKCU; Subkey: "Software\{#MyAppPublisher}\SimpleIDE"; ValueType: string; ValueName: SimpleIDE_Includes; ValueData: "{app}\propeller-gcc\propeller-load\"; Flags: UninsDeleteKey;
Expand Down
2 changes: 1 addition & 1 deletion propside/propside.pro
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# These define the version number in Menu->About
DEFINES += IDEVERSION=1
DEFINES += MINVERSION=1
DEFINES += FIXVERSION=1
DEFINES += FIXVERSION=2
VERSION = IDEVERSION"."MINVERSION"."FIXVERSION

QT += core
Expand Down

0 comments on commit 91674fa

Please sign in to comment.