Merge pull request #40 from ltworf/windows

Fix iss file issue
This commit is contained in:
Salvo 'LtWorf' Tomaselli 2020-09-03 00:27:04 +02:00 committed by GitHub
commit c943605f3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 7 deletions

View File

@ -254,7 +254,7 @@ class relForm(QtWidgets.QMainWindow):
elif isinstance(k, (int, float)): elif isinstance(k, (int, float)):
item.setForeground(j, QtGui.QPalette().link()) item.setForeground(j, QtGui.QPalette().link())
elif not isinstance(k, str): elif not isinstance(k, str):
item.setForeground(j, QtGui.QPalette().brightText()) item.setBackground(j, QtGui.QBrush(QtCore.Qt.darkGreen, QtCore.Qt.Dense4Pattern))
item.setText(j, str(k)) item.setText(j, str(k))
self.ui.table.addTopLevelItem(item) self.ui.table.addTopLevelItem(item)

View File

@ -20,13 +20,12 @@ Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks] [Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Run] [Run]
; add the Parameters, WorkingDir and StatusMsg as you wish, just keep here ; add the Parameters, WorkingDir and StatusMsg as you wish, just keep here
; the conditional installation Check ; the conditional installation Check
Filename: "{tmp}\python-3.8.5-amd64.exe"; Parameters: "/passive InstallAllUsers=1"; Filename: "{tmp}\python-3.8.5-amd64.exe"; Parameters: "/passive InstallAllUsers=1";
Filename: "powershell"; Parameters: "-file {tmp}\pipscript.bat" Filename: "{tmp}\pipscript.bat"
[Files] [Files]
; NOTE: Don't use "Flags: ignoreversion" on any shared system files ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
@ -40,11 +39,10 @@ Source: "samples\*"; DestDir: "{app}\samples"; Flags: ignoreversion recursesubdi
[Icons] [Icons]
Name: "{group}\Relational"; Filename: "pyw"; Parameters: "relational.py"; WorkingDir: "{app}" Name: "{group}\Relational"; Filename: "{win}\pyw.exe"; Parameters: "relational.py"; WorkingDir: "{app}"
Name: "{group}\{cm:ProgramOnTheWeb,Relational}"; Filename: "https://ltworf.github.io/relational/" Name: "{group}\{cm:ProgramOnTheWeb,Relational}"; Filename: "https://ltworf.github.io/relational/"
Name: "{group}\{cm:UninstallProgram,Relational}"; Filename: "{uninstallexe}" Name: "{group}\{cm:UninstallProgram,Relational}"; Filename: "{uninstallexe}"
Name: "{commondesktop}\Relational"; Tasks: desktopicon; Filename: "pyw"; Parameters: "relational.py"; WorkingDir: "{app}" Name: "{commondesktop}\Relational"; Tasks: desktopicon; Filename: "{win}\pyw.exe"; Parameters: "relational.py"; WorkingDir: "{app}"
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\Relational"; Tasks: quicklaunchicon; Filename: "pyw"; Parameters: "relational.py"; WorkingDir: "{app}"
[Run] [Run]
Description: "{cm:LaunchProgram,Relational}"; Flags: nowait postinstall skipifsilent; Filename: "pyw"; Parameters: "relational.py"; WorkingDir: "{app}" Description: "{cm:LaunchProgram,Relational}"; Flags: nowait postinstall skipifsilent; Filename: "{win}\pyw.exe"; Parameters: "relational.py"; WorkingDir: "{app}"