You are here

Setting Menue

11 posts / 0 new
Last post
terra666
Offline
Last seen: 3 years 11 months ago
Joined: 2014-06-22 13:42
Setting Menue

Is it possible to add a setting menu such that when you right click on the program it is one of the options available. The setting menu will work with AppNamePortable.ini located in the AppNamePortable directory next to AppNamePortable.exe. This way you remove one more need to manually edit files in the directory.

John T. Haller
John T. Haller's picture
Online
Last seen: 19 min 2 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Not Needed For Most Apps

Most apps only support two options now via PAL. The ability to disable the splash screen is the first. And it's far more efficient to disable all the splash screens for all the apps using the settings in the Platform's Advanced Options. The second is the ability to add additional arguments, and we'll be bringing that to the platform proper as a separate option. No need to open up files.

Sometimes, the impossible can become possible, if you're awesome!

terra666
Offline
Last seen: 3 years 11 months ago
Joined: 2014-06-22 13:42
New Launcher.ini option

How about adding something like "Run64bit = try(default)/force" to the Launcher.ini file. Which like the name suggests will launch 64 bit version of an app on 64 bit OS depending on program needs and user selection.

John T. Haller
John T. Haller's picture
Online
Last seen: 19 min 2 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Automatic

Dual mode apps include 32-bit and 64-bit apps and already automatically launch the 64-bit version when on a 64-bit Windows OS. It's automatic and already done.

Sometimes, the impossible can become possible, if you're awesome!

terra666
Offline
Last seen: 3 years 11 months ago
Joined: 2014-06-22 13:42
I know that. But what about

I know that. But what about the ability of user to select if they want to run the 32-bit version or 64-bit version of an app. So unless the "Run64bi=force" the program will check to see which version to run.

John T. Haller
John T. Haller's picture
Online
Last seen: 19 min 2 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Automatic

There's no need to force 64. It will run automatically on a 64 bit os. And it can't run on 32bit.

Sometimes, the impossible can become possible, if you're awesome!

terra666
Offline
Last seen: 3 years 11 months ago
Joined: 2014-06-22 13:42
It is not about 64-bit, it is about 32-bit version

It is not forcing 64 to run on 64-bit machine it is forcing 32 to run instead of 64 on a 64-bit machine

John T. Haller
John T. Haller's picture
Online
Last seen: 19 min 2 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Example

You'd given the example of forcing 64-bit above, which is why I'd mentioned it. There's generally not much reason to run 32-bit on 64-bit if both are available and included already. We specifically only do dual mode for apps that require 64-bit on 64-bit (aka 32-bit won't run), recommend it (aka 32-bit will be buggy), or it gives a good performance/feature boost. So, downgrading to 32-bit would be counterproductive.

Sometimes, the impossible can become possible, if you're awesome!

terra666
Offline
Last seen: 3 years 11 months ago
Joined: 2014-06-22 13:42
The reason I am asking, is

The reason I am asking, is that the program I am portabalizing uses 64-bit JDK with it's 64-bit version and 32-bit JDK with it's 32-bit version. I can add support for both JDK's inside the program, but it will balloon the package size. Also, if the client doesn't have the 64-bit JDK on their 64-bit system, the app will give them an error.

John T. Haller
John T. Haller's picture
Online
Last seen: 19 min 2 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
32-bit Only

If you're only including the 32-bit JDK, then you should only include the 32-bit version of the app. Otherwise it'll fail on the vast majority of systems that don't have JDK installed. If the app itself includes both 32 and 64-bit versions irrespective of PAL, that's not something we can assist with directly. PAL only handles automatic 32 and 64 bit via the ProgramExecutable and ProgramExecutable64 entries. It doesn't somehow convince an app it's running on a 32-bit OS.

Sometimes, the impossible can become possible, if you're awesome!

terra666
Offline
Last seen: 3 years 11 months ago
Joined: 2014-06-22 13:42
Do you know what is the

Do you know what is the status of a Official JDK plugin for the PortableApps?

Log in or register to post comments