Skip to content

Commit

Permalink
Prepare 1.3 release
Browse files Browse the repository at this point in the history
  • Loading branch information
davetcc committed Apr 19, 2019
1 parent d46cc90 commit 751ab3e
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 3 deletions.
46 changes: 46 additions & 0 deletions tcMenuExampleUI/designerscript.iss
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "TcMenuController"
#define MyAppVersion "1.3"
#define MyAppPublisher "The coders corner"
#define MyAppURL "https://www.thecoderscorner.com"
#define MyAppExeName "tcMenuController.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={{DBA6DC9A-49F6-4B0C-9EDB-A7C69F458226}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf}\{#MyAppName}
DisableProgramGroupPage=yes
LicenseFile=C:\Users\dave\IdeaProjects\tcMenu\LICENSE
OutputBaseFilename=setupTcMenu
Compression=lzma
SolidCompression=yes

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"

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

[Files]
Source: "C:\Users\dave\IdeaProjects\tcMenu\tcMenuExampleUI\target\tcMenuController\tcMenuController\tcMenuController.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\dave\IdeaProjects\tcMenu\tcMenuExampleUI\target\tcMenuController\tcMenuController\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Icons]
Name: "{commonprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon

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

Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 11 additions & 3 deletions tcMenuGenerator/packager-win.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,16 @@ jar tvf .\gson-2.8.5.jar | findstr module
java --module-path . --add-modules com.thecoderscorner.tcmenu.menuEditorUI com.thecoderscorner.menu.editorui.MenuEditorApp

#
# windows java 11 packager to create an image
# windows java 11 packager to create an image -
# 1. start in target dir
# 2. replace all version numbers before starting.
#

jpackager create-image --output tcMenuDesigner --input jfx/app --name tcMenuDesigner --module-path jfx/deps --add-modules com.thecoderscorner.tcmenu.menuEditorUI --version 1.1 --icon classes/img/tcMenuDesigner.ico --identifier com.thecoderscorner.menu.editorui --vendor TheCodersCorner --jvm-args "-Djava.util.logging.config.file=logging.properties" --verbose -m com.thecoderscorner.tcmenu.menuEditorUI/com.thecoderscorner.menu.editorui.MenuEditorApp
jpackager create-image --output tcMenuDesigner --input jfx/app --name tcMenuDesigner --module-path jfx/deps --add-modules com.thecoderscorner.tcmenu.menuEditorUI --version 1.3 --icon classes/img/tcMenuDesigner.ico --identifier com.thecoderscorner.menu.editorui --vendor TheCodersCorner --jvm-args "-Djava.util.logging.config.file=logging.properties" --verbose -m com.thecoderscorner.tcmenu.menuEditorUI/com.thecoderscorner.menu.editorui.MenuEditorApp

# in the example UI directory

jpackager create-image --output tcMenuController --input jfx/app --name tcMenuController --module-path jfx/deps --add-modules com.thecoderscorner.tcmenu.exampleui --version 1.3 --icon classes/controller-icon.ico --identifier com.thecoderscorner.tcmenu.exampleui --vendor TheCodersCorner --jvm-args "-Djava.util.logging.config.file=logging.properties" --verbose -m com.thecoderscorner.tcmenu.exampleui/com.thecoderscorner.menu.examples.simpleui.SimpleFxApp

Copy the plugins into the tcMenuDesigner/app dir at the same level as embedded.

Expand All @@ -38,7 +44,9 @@ Job done on windows!
# MacOS package
#

$JAVA_HOME/bin/jpackager create-image --output tcMenuDesigner --input jfx/app --name tcMenuDesigner --module-path jfx/deps --add-modules com.thecoderscorner.tcmenu.menuEditorUI --version 1.1 --icon classes/img/Icon.icns --identifier com.thecoderscorner.menu.editorui --vendor TheCodersCorner --jvm-args "-Djava.util.logging.config.file=logging.properties" --verbose -m com.thecoderscorner.tcmenu.menuEditorUI/com.thecoderscorner.menu.editorui.MenuEditorApp
$JAVA_HOME/bin/jpackager create-image --output tcMenuDesigner --input jfx/app --name tcMenuDesigner --module-path jfx/deps --add-modules com.thecoderscorner.tcmenu.menuEditorUI --version 1.3 --icon classes/img/Icon.icns --identifier com.thecoderscorner.menu.editorui --vendor TheCodersCorner --jvm-args "-Djava.util.logging.config.file=logging.properties" --verbose -m com.thecoderscorner.tcmenu.menuEditorUI/com.thecoderscorner.menu.editorui.MenuEditorApp

$JAVA_HOME/bin/jpackager create-image --output tcMenuController --input jfx/app --name tcMenuController --module-path jfx/deps --add-modules com.thecoderscorner.tcmenu.exampleui --version 1.3 --icon classes/Icon.icns --identifier com.thecoderscorner.tcmenu.exampleui --vendor TheCodersCorner --jvm-args "-Djava.util.logging.config.file=logging.properties" --verbose -m com.thecoderscorner.tcmenu.exampleui/com.thecoderscorner.menu.examples.simpleui.SimpleFxApp

add the plugins to the .app file in the same directory as embedded.

Expand Down

0 comments on commit 751ab3e

Please sign in to comment.