import com.install4j.api.launcher.StartupNotification;
import com.samskivert.swing.util.SwingUtil;
+import com.threerings.getdown.data.Application;
import com.threerings.getdown.data.EnvConfig;
import com.threerings.getdown.data.SysProps;
import com.threerings.getdown.util.LaunchUtil;
new StartupNotification.Listener() {
@Override
public void startupPerformed(String parameters)
- {
+ {
+ log.warning("startupPerformed: '"+parameters+"'");
setStartupFilesParameterString(parameters);
}
});
protected JFrame _frame;
};
- if (getStartupFilesParameterString() != null) {
+ /*
+ log.warning("Startup file?",
+ "paramstring", '"'+getStartupFilesParameterString()+'"',
+ "isWindows", LaunchUtil.isWindows(),
+ "argv.length", argv.length,
+ "argv[0]", argv.length>0?argv[0]:"NULL",
+ "argv[1]", argv.length>1?argv[1]:"NULL",
+ "argv[2]", argv.length>2?argv[2]:"NULL",
+ "argv[3]", argv.length>3?argv[3]:"NULL"
+ );
+ */
+ if (getStartupFilesParameterString() != null && getStartupFilesParameterString().length() > 0) {
app.setStartupFilesFromParameterString(getStartupFilesParameterString());
+ } else if (
+ getStartupFilesParameterString().length() == 0
+ && LaunchUtil.isWindows()
+ && argv.length >= 3
+ && argv[0].equals(".")
+ && argv[1].equals("noappid")
+ && argv[2].endsWith("."+Application.locatorFileExtension)
+ ) {
+ log.info("Jalview Version Locator in args: "+argv[2]);
+ app.setStartupFilesFromParameterString(argv[2]);
+ String[] newArgv = new String[argv.length - 1];
+ System.arraycopy(argv, 0, newArgv, 0, 2);
+ System.arraycopy(argv, 3, newArgv, 2, argv.length - 3);
+ argv = newArgv;
}
app.start();
return app;
j11modDir = j11mod
j11modules = com.sun.istack.runtime,com.sun.xml.bind,com.sun.xml.fastinfoset,com.sun.xml.streambuffer,com.sun.xml.txw2,com.sun.xml.ws.policy,java.activation,java.annotation,java.base,java.compiler,java.datatransfer,java.desktop,java.logging,java.management,java.management.rmi,java.naming,java.prefs,java.rmi,java.scripting,java.security.sasl,java.sql,java.xml,java.xml.bind,java.xml.soap,java.xml.ws,javax.jws,jdk.httpserver,jdk.jsobject,jdk.unsupported,jdk.xml.dom,org.jvnet.mimepull,org.jvnet.staxex,javax.servlet.api,java.ws.rs
+install4jCopyrightMessage = ...
+install4jMacOSBundleId = org.jalview.jalview-desktop
install4jResourceDir = utils/install4j
install4jTemplate = install4j_template.install4j
install4jInfoPlistFileAssociations = file_associations_auto-Info_plist.xml
JSIGN_SH = echo
eclipse_extra_jdt_prefs_file = .settings/org.eclipse.jdt.core.jalview.prefs
+
+dev = false
+
</components>
</files>
<launchers>
- <launcher name="Offline Jalview Launcher" id="737" customizedId="" external="false" excludeFromMenu="false" unixMode="755" unixAutoStart="true" menuName="${compiler:sys.shortName}" icnsFile="../../resources/images/jalview_logos.icns" customMacBundleIdentifier="false" macBundleIdentifier="" swtApp="false" fileset="734" macBundleBinary="JavaApplicationStub" addMacEntitlements="false" macEntitlementsFile="" useCustomMacosExecutableName="true" customMacosExecutableName="${compiler:sys.shortName}" useJavaMinVersionOverride="false" javaMinVersionOverride="" useJavaMaxVersionOverride="false" javaMaxVersionOverride="" checkUpdater="false" updateExecutionMode="unattendedProgress" unattendedUpdateTitle="${i18n:updater.WindowTitle("${compiler:sys.fullName}")}">
+ <launcher name="Offline Jalview Launcher" id="737" customizedId="" external="false" excludeFromMenu="false" unixMode="755" unixAutoStart="true" menuName="${compiler:sys.shortName}" icnsFile="../../resources/images/jalview_logos.icns" customMacBundleIdentifier="true" macBundleIdentifier="$$MACOS_BUNDLE_ID$$" swtApp="false" fileset="734" macBundleBinary="JavaApplicationStub" addMacEntitlements="false" macEntitlementsFile="" useCustomMacosExecutableName="true" customMacosExecutableName="${compiler:sys.shortName}" useJavaMinVersionOverride="false" javaMinVersionOverride="" useJavaMaxVersionOverride="false" javaMaxVersionOverride="" checkUpdater="false" updateExecutionMode="unattendedProgress" unattendedUpdateTitle="${i18n:updater.WindowTitle("${compiler:sys.fullName}")}">
<executable name="${compiler:sys.shortName}" type="1" iconSet="true" iconFile="../../resources/images/jalview_logos.ico" executableDir="." redirectStderr="true" stderrFile="error.log" stderrMode="overwrite" redirectStdout="true" stdoutFile="output.log" stdoutMode="overwrite" failOnStderrOutput="true" executableMode="1" changeWorkingDirectory="true" workingDirectory="." singleInstance="true" serviceStartType="2" serviceDependencies="" serviceDescription="" jreLocation="" executionLevel="asInvoker" checkConsoleParameter="true" globalSingleInstance="false" singleInstanceActivate="true" dpiAware="java9+">
- <versionInfo include="true" fileVersion="" fileDescription="${compiler:sys.shortName}" legalCopyright="..." internalName="${compiler:sys.shortName}" productName="${compiler:sys.shortName}" />
+ <versionInfo include="true" fileVersion="" fileDescription="${compiler:sys.shortName}" legalCopyright="$$COPYRIGHT_MESSAGE$$" internalName="${compiler:sys.shortName}" productName="${compiler:sys.shortName}" />
</executable>
<splashScreen show="false" width="640" height="480" bitmapFile="../../resources/images/jalview_logo_background_fade-640x480.png" textOverlay="true">
<text>
<file path="../../resources/images/JalviewLogo_Huge.png" />
</iconImageFiles>
</launcher>
- <launcher name="Network Jalview Launcher" id="1402" customizedId="" external="false" excludeFromMenu="false" unixMode="755" unixAutoStart="true" menuName="${compiler:sys.shortName}" icnsFile="../../resources/images/jalview_logos.icns" customMacBundleIdentifier="false" macBundleIdentifier="" swtApp="false" fileset="" macBundleBinary="JavaApplicationStub" addMacEntitlements="false" macEntitlementsFile="" useCustomMacosExecutableName="true" customMacosExecutableName="${compiler:sys.shortName}" useJavaMinVersionOverride="false" javaMinVersionOverride="" useJavaMaxVersionOverride="false" javaMaxVersionOverride="" checkUpdater="false" updateExecutionMode="unattendedProgress" unattendedUpdateTitle="${i18n:updater.WindowTitle("${compiler:sys.fullName}")}">
+ <launcher name="Network Jalview Launcher" id="1402" customizedId="" external="false" excludeFromMenu="false" unixMode="755" unixAutoStart="true" menuName="${compiler:sys.shortName}" icnsFile="../../resources/images/jalview_logos.icns" customMacBundleIdentifier="true" macBundleIdentifier="$$MACOS_BUNDLE_ID$$" swtApp="false" fileset="" macBundleBinary="JavaApplicationStub" addMacEntitlements="false" macEntitlementsFile="" useCustomMacosExecutableName="true" customMacosExecutableName="${compiler:sys.shortName}" useJavaMinVersionOverride="false" javaMinVersionOverride="" useJavaMaxVersionOverride="false" javaMaxVersionOverride="" checkUpdater="false" updateExecutionMode="unattendedProgress" unattendedUpdateTitle="${i18n:updater.WindowTitle("${compiler:sys.fullName}")}">
<executable name="Jalview" type="1" iconSet="true" iconFile="../../resources/images/jalview_logos.ico" executableDir="." redirectStderr="true" stderrFile="error.log" stderrMode="overwrite" redirectStdout="true" stdoutFile="output.log" stdoutMode="overwrite" failOnStderrOutput="true" executableMode="1" changeWorkingDirectory="true" workingDirectory="." singleInstance="true" serviceStartType="2" serviceDependencies="" serviceDescription="" jreLocation="" executionLevel="asInvoker" checkConsoleParameter="true" globalSingleInstance="false" singleInstanceActivate="true" dpiAware="java9+">
- <versionInfo include="true" fileVersion="" fileDescription="${compiler:sys.shortName}" legalCopyright="..." internalName="${compiler:sys.shortName}" productName="${compiler:sys.shortName}" />
+ <versionInfo include="true" fileVersion="" fileDescription="${compiler:sys.shortName}" legalCopyright="$$COPYRIGHT_MESSAGE$$" internalName="${compiler:sys.shortName}" productName="${compiler:sys.shortName}" />
</executable>
<splashScreen show="false" width="640" height="480" bitmapFile="../../resources/images/jalview_logo_background_fade-640x480.png" textOverlay="true">
<text>
</iconImageFiles>
</launcher>
</launchers>
- <installerGui installerType="1" addOnAppId="" suggestPreviousLocations="true" autoUpdateDescriptorUrl="" useAutoUpdateBaseUrl="false" autoUpdateBaseUrl="">
+ <installerGui installerType="1" addOnAppId="" suggestPreviousLocations="true" autoUpdateDescriptorUrl="https://www.jalview.org/install4j/updates.xml" useAutoUpdateBaseUrl="false" autoUpdateBaseUrl="">
<staticMembers script="" />
<customCode />
<autoUpdate useMinUpdatableVersion="false" minUpdatableVersion="" useMaxUpdatableVersion="false" maxUpdatableVersion="">
<void property="enabledTitleText">
<boolean>false</boolean>
</void>
- <void property="labelText">
- <string>install4j</string>
- </void>
</object>
</java>
</serializedBean>
<void property="fillVertical">
<boolean>true</boolean>
</void>
+ <void property="showSelectionButtons">
+ <boolean>true</boolean>
+ </void>
</object>
</java>
</serializedBean>
<void property="description">
<string>${compiler:sys.shortName}</string>
</void>
+ <void property="file">
+ <object class="java.io.File">
+ <string>${compiler:sys.shortName}</string>
+ </object>
+ </void>
<void property="name">
<string>${compiler:sys.fullName}</string>
</void>
</void>
<void property="winIconFile">
<object class="com.install4j.api.beans.ExternalFile">
- <string>../../resources/images/JalviewLogo_Huge.png</string>
+ <string>../../resources/images/jalview_logos.ico</string>
</object>
</void>
</object>
<java class="java.beans.XMLDecoder">
<object class="com.install4j.runtime.beans.actions.desktop.CreateFileAssociationAction">
<void property="description">
- <string>EXTENSIONS_REPLACED_BY_GRADLE</string>
+ <string>This action, identified by its name "EXTENSIONS_REPLACED_BY_GRADLE", will be replaced by gradle with the contents of file 'file_associations_auto_install4j.xml'.</string>
</void>
<void property="extension">
- <string>EXTENSION</string>
+ <string>extensions_to_be_replaced_by_gradle</string>
</void>
</object>
</java>
</screen>
</screens>
</application>
- <application name="" id="uninstaller" customizedId="" beanClass="com.install4j.runtime.beans.applications.UninstallerApplication" enabled="true" commentSet="false" comment="" actionElevationType="none" styleId="41" fileset="" customIcnsFile="" customIcoFile="" macEntitlementsFile="" automaticLauncherIntegration="false" launchMode="startupFirstWindow" launchInNewProcess="true" launchSchedule="updateSchedule" allLaunchers="true">
+ <application name="" id="uninstaller" customizedId="" beanClass="com.install4j.runtime.beans.applications.UninstallerApplication" enabled="true" commentSet="false" comment="" actionElevationType="none" styleId="35" fileset="" customIcnsFile="" customIcoFile="" macEntitlementsFile="" automaticLauncherIntegration="false" launchMode="startupFirstWindow" launchInNewProcess="true" launchSchedule="updateSchedule" allLaunchers="true">
<serializedBean>
<java class="java.beans.XMLDecoder">
<object class="com.install4j.runtime.beans.applications.UninstallerApplication">
</screen>
</startup>
<screens>
- <screen name="" id="24" customizedId="" beanClass="com.install4j.runtime.beans.screens.UninstallWelcomeScreen" enabled="true" commentSet="false" comment="" actionElevationType="inherit" styleId="41" rollbackBarrier="false" rollbackBarrierExitCode="0" backButton="2" finishScreen="false" wizardIndexChangeType="unchanged" wizardIndexKey="">
+ <screen name="" id="24" customizedId="" beanClass="com.install4j.runtime.beans.screens.UninstallWelcomeScreen" enabled="true" commentSet="false" comment="" actionElevationType="inherit" styleId="" rollbackBarrier="false" rollbackBarrierExitCode="0" backButton="2" finishScreen="false" wizardIndexChangeType="unchanged" wizardIndexKey="">
<serializedBean>
<java class="java.beans.XMLDecoder">
<object class="com.install4j.runtime.beans.screens.UninstallWelcomeScreen" />
</serializedBean>
<condition />
</action>
+ <action name="" id="660" customizedId="" beanClass="com.install4j.runtime.beans.actions.control.SetProgressAction" enabled="false" commentSet="false" comment="" actionElevationType="none" rollbackBarrier="false" rollbackBarrierExitCode="0" multiExec="false" failureStrategy="1" errorMessage="">
+ <serializedBean>
+ <java class="java.beans.XMLDecoder">
+ <object class="com.install4j.runtime.beans.actions.control.SetProgressAction">
+ <void property="percentValue">
+ <int>95</int>
+ </void>
+ </object>
+ </java>
+ </serializedBean>
+ <condition />
+ </action>
<action name="" id="1525" customizedId="" beanClass="com.install4j.runtime.beans.actions.files.DeleteFileAction" enabled="true" commentSet="false" comment="" actionElevationType="elevated" rollbackBarrier="false" rollbackBarrierExitCode="0" multiExec="false" failureStrategy="1" errorMessage="">
<serializedBean>
<java class="java.beans.XMLDecoder">
<object class="com.install4j.runtime.beans.actions.files.DeleteFileAction">
<void property="files">
- <array class="java.io.File" length="11">
+ <array class="java.io.File" length="17">
<void index="0">
<object class="java.io.File">
<string>jre</string>
<string>*.txt</string>
</object>
</void>
+ <void index="11">
+ <object class="java.io.File">
+ <string>*_new</string>
+ </object>
+ </void>
+ <void index="12">
+ <object class="java.io.File">
+ <string>digest.txt</string>
+ </object>
+ </void>
+ <void index="13">
+ <object class="java.io.File">
+ <string>digest2.txt</string>
+ </object>
+ </void>
+ <void index="14">
+ <object class="java.io.File">
+ <string>getdown-launcher.jarv</string>
+ </object>
+ </void>
+ <void index="15">
+ <object class="java.io.File">
+ <string>launcher.log</string>
+ </object>
+ </void>
+ <void index="16">
+ <object class="java.io.File">
+ <string>proxy.txt</string>
+ </object>
+ </void>
</array>
</void>
<void property="recursive">
</serializedBean>
<condition />
</action>
- <action name="" id="660" customizedId="" beanClass="com.install4j.runtime.beans.actions.control.SetProgressAction" enabled="true" commentSet="false" comment="" actionElevationType="none" rollbackBarrier="false" rollbackBarrierExitCode="0" multiExec="false" failureStrategy="1" errorMessage="">
+ <action name="" id="1791" customizedId="" beanClass="com.install4j.runtime.beans.actions.control.SetProgressAction" enabled="true" commentSet="false" comment="" actionElevationType="none" rollbackBarrier="false" rollbackBarrierExitCode="0" multiExec="false" failureStrategy="1" errorMessage="">
<serializedBean>
<java class="java.beans.XMLDecoder">
<object class="com.install4j.runtime.beans.actions.control.SetProgressAction">
<void property="enabledTitleText">
<boolean>false</boolean>
</void>
- <void property="labelText">
- <string>install4j</string>
- </void>
</object>
</java>
</serializedBean>