Skip to content
This repository has been archived by the owner on Mar 13, 2020. It is now read-only.

Commit

Permalink
v1 prep
Browse files Browse the repository at this point in the history
  • Loading branch information
joshirio committed Mar 21, 2018
1 parent 26623b5 commit 80cf16c
Show file tree
Hide file tree
Showing 13 changed files with 911 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/smidgentangleapi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ void SmidgenTangleAPI::startAPIRequest(RequestType request, const QStringList &a
if (DefinitionHolder::SNAP_PKG) {
smidgenPath.prepend("/snap/iotacooler/current");
} else if (DefinitionHolder::APPIMAGE_LINUX) {
smidgenPath.remove("/usr/bin/");
smidgenPath = QApplication::applicationDirPath().append("/iotacooler-smidgen");
}
#endif

Expand Down
1 change: 1 addition & 0 deletions stuff/deployment/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
TODO: step by step guide on how to package
15 changes: 15 additions & 0 deletions stuff/deployment/linux/deb/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Package: iotacooler
Version: 1.0
Section: utils
Priority: optional
Architecture: amd64
Essential: no
Depends: libc6, libqt5core5a, libqt5gui5, libqt5network5, libqt5sql5-sqlite, libqt5svg5, libqt5printsupport5
Recommends:
Suggests:
Installed-Size: 35000
Maintainer: Oirio Joshi <[email protected]>
Conflicts:
Replaces:
Description: IOTAcooler
Cold transaction signer for IOTA.
Empty file.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

[Desktop Entry]
Name=IOTAcooler
GenericName=Iotacooler
Exec=iota-cooler
Icon=iotacooler
Type=Application
StartupNotify=false
Terminal=false
Categories=Office;
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
777 changes: 777 additions & 0 deletions stuff/deployment/linux/deb/usr/share/pixmaps/iotacooler.xpm

Large diffs are not rendered by default.

Binary file added stuff/deployment/osx/dmg/dmgback.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added stuff/deployment/osx/dmg/dmgback.xcf
Binary file not shown.
Binary file added stuff/deployment/osx/dmg/g29827.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
100 changes: 100 additions & 0 deletions stuff/deployment/win/iotacooler.iss
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "IOTAcooler"
#define MyAppVersion "1.0"
#define MyAppPublisher "IOTAcooler Developers"
#define MyAppURL "https://github.com/joshirio/iota-cooler"
#define MyAppExeName "iota-cooler.exe"

[Setup]
; NOTE: The value of AppId uniquely identifies this application.
; Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{F9897B0C-B79A-4314-B839-CEA6DC14087B}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf}\{#MyAppName}
DefaultGroupName={#MyAppName}
OutputDir=C:\Users\c0de\Desktop
OutputBaseFilename=iotacooler-1.0-setup
Compression=lzma
SolidCompression=yes

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
Name: "armenian"; MessagesFile: "compiler:Languages\Armenian.islu"
Name: "brazilianportuguese"; MessagesFile: "compiler:Languages\BrazilianPortuguese.isl"
Name: "catalan"; MessagesFile: "compiler:Languages\Catalan.isl"
Name: "corsican"; MessagesFile: "compiler:Languages\Corsican.isl"
Name: "czech"; MessagesFile: "compiler:Languages\Czech.isl"
Name: "danish"; MessagesFile: "compiler:Languages\Danish.isl"
Name: "dutch"; MessagesFile: "compiler:Languages\Dutch.isl"
Name: "finnish"; MessagesFile: "compiler:Languages\Finnish.isl"
Name: "french"; MessagesFile: "compiler:Languages\French.isl"
Name: "german"; MessagesFile: "compiler:Languages\German.isl"
Name: "greek"; MessagesFile: "compiler:Languages\Greek.isl"
Name: "hebrew"; MessagesFile: "compiler:Languages\Hebrew.isl"
Name: "hungarian"; MessagesFile: "compiler:Languages\Hungarian.isl"
Name: "italian"; MessagesFile: "compiler:Languages\Italian.isl"
Name: "japanese"; MessagesFile: "compiler:Languages\Japanese.isl"
Name: "nepali"; MessagesFile: "compiler:Languages\Nepali.islu"
Name: "norwegian"; MessagesFile: "compiler:Languages\Norwegian.isl"
Name: "polish"; MessagesFile: "compiler:Languages\Polish.isl"
Name: "portuguese"; MessagesFile: "compiler:Languages\Portuguese.isl"
Name: "russian"; MessagesFile: "compiler:Languages\Russian.isl"
Name: "scottishgaelic"; MessagesFile: "compiler:Languages\ScottishGaelic.isl"
Name: "serbiancyrillic"; MessagesFile: "compiler:Languages\SerbianCyrillic.isl"
Name: "serbianlatin"; MessagesFile: "compiler:Languages\SerbianLatin.isl"
Name: "slovenian"; MessagesFile: "compiler:Languages\Slovenian.isl"
Name: "spanish"; MessagesFile: "compiler:Languages\Spanish.isl"
Name: "turkish"; MessagesFile: "compiler:Languages\Turkish.isl"
Name: "ukrainian"; MessagesFile: "compiler:Languages\Ukrainian.isl"

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}";

[Files]
Source: "C:\Users\c0de\Desktop\iota-cooler.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\c0de\Desktop\iotacooler-smidgen.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\c0de\Desktop\imageformats\*"; DestDir: "{app}\imageformats"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "C:\Users\c0de\Desktop\platforms\*"; DestDir: "{app}\platforms"; Flags: ignoreversion recursesubdirs createallsubdirs
; Source: "C:\Users\c0de\Desktop\sqldrivers\*"; DestDir: "{app}\sqldrivers"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "C:\Users\c0de\Desktop\bearer\*"; DestDir: "{app}\bearer"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "C:\Users\c0de\Desktop\iconengines\*"; DestDir: "{app}\iconengines"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "C:\Users\c0de\Desktop\printsupport\*"; DestDir: "{app}\printsupport"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "C:\Users\c0de\Desktop\styles\*"; DestDir: "{app}\styles"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "C:\Users\c0de\Desktop\libgcc_s_dw2-1.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\c0de\Desktop\libstdc++-6.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\c0de\Desktop\libwinpthread-1.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\c0de\Desktop\libEGL.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\c0de\Desktop\libGLESV2.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\c0de\Desktop\opengl32sw.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\c0de\Desktop\D3Dcompiler_47.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\c0de\Desktop\Qt5Core.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\c0de\Desktop\Qt5Gui.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\c0de\Desktop\Qt5Widgets.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\c0de\Desktop\Qt5Network.dll"; DestDir: "{app}"; Flags: ignoreversion
; Source: "C:\Users\c0de\Desktop\Qt5Sql.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\c0de\Desktop\Qt5Svg.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\c0de\Desktop\Qt5PrintSupport.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\c0de\Desktop\Qt5WinExtras.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\c0de\Desktop\libeay32.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\c0de\Desktop\ssleay32.dll"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Icons]
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{group}\{cm:ProgramOnTheWeb,{#MyAppName}}"; Filename: "{#MyAppURL}"
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon

[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent


8 changes: 7 additions & 1 deletion widgets/mainwindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
<property name="windowTitle">
<string>IOTAcooler</string>
</property>
<property name="windowIcon">
<iconset resource="../resources/resources.qrc">
<normaloff>:/icons/iotacooler.png</normaloff>:/icons/iotacooler.png</iconset>
</property>
<widget class="QWidget" name="centralWidget">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
Expand Down Expand Up @@ -123,6 +127,8 @@
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources/>
<resources>
<include location="../resources/resources.qrc"/>
</resources>
<connections/>
</ui>

0 comments on commit 80cf16c

Please sign in to comment.