diff --git a/src/p4/P4.svelte b/src/p4/P4.svelte index 08332a6..4cc83c7 100644 --- a/src/p4/P4.svelte +++ b/src/p4/P4.svelte @@ -103,34 +103,36 @@
-

{LONG_NAME}

-

{$_('p4.description1')}

-

- -

-

- -

+
+

{LONG_NAME}

+

{$_('p4.description1')}

+

+ +

+

+ +

+
{#if isSupported} diff --git a/src/p4/PackagerOptions.svelte b/src/p4/PackagerOptions.svelte index 78910e8..1a8b910 100644 --- a/src/p4/PackagerOptions.svelte +++ b/src/p4/PackagerOptions.svelte @@ -187,367 +187,379 @@
-

{$_('options.runtimeOptions')}

+
+

{$_('options.runtimeOptions')}

- - - - - - - - - - + + + + + + + + + + +
-

{$_('options.playerOptions')}

- -
- {$_('options.icon')} - -
+

{$_('options.playerOptions')}

-

{$_('options.loadingScreen')}

- - -
- {$_('options.loadingScreenImage')} - - -
- {#if $loadingScreenImage} - - {/if} - -

{$_('options.controls')}

- - - -

{$_('options.controlsHelp')}

- -

{$_('options.colors')}

- - - - -

{$_('options.interaction')}

-
- - - -
- {#if $options.cursor.type === 'custom'} -
- -

{$_('options.cursorHelp')}

-
- {/if} - -
-
- - {$_('options.pointerlockHelp')} - + {$_('options.icon')} +
-
-
+

{$_('options.loadingScreen')}

-
- - {$_('options.gamepadHelp')} - + +
+ {$_('options.loadingScreenImage')} + + +
+ {#if $loadingScreenImage} + + + {/if} + +

{$_('options.controls')}

+ + + +

{$_('options.controlsHelp')}

+ +

{$_('options.colors')}

+ + + + +

{$_('options.interaction')}

+
+ + + +
+ {#if $options.cursor.type === 'custom'} +
+ +

{$_('options.cursorHelp')}

+
+ {/if} + +
+ + +
+ +
+ +
{#if cloudVariables.length > 0}
-

{$_('options.cloudVariables')}

- - {#if $options.cloudVariables.mode === "custom"} -
- {#each cloudVariables as variable} - - {/each} -
- {/if} - {#if $options.cloudVariables.mode === 'ws' || $options.cloudVariables.mode === 'custom'} -
{/if}
-

{$_('options.advancedOptions')}

-
- {$_('options.advancedSummary')} - - - - - - - -
+
+

{$_('options.advancedOptions')}

+
+ {$_('options.advancedSummary')} + + + + + + + +
+
-

{$_('options.environment')}

-
- - -
-
- - - -
-
- {$_('options.otherEnvironments')} -

{$_('options.otherEnvironmentsHelp')}

+
+

{$_('options.environment')}

+
-
-
+
+ {$_('options.otherEnvironments')} +

{$_('options.otherEnvironmentsHelp')}

+
+ +
+
+ + + + +
+
+
{#if $options.target.startsWith('nwjs-') || $options.target.startsWith('electron-') || $options.target.startsWith('webview-')}
-

{$_('options.applicationSettings')}

- -

{$_('options.packageNameHelp')}

+
+

{$_('options.applicationSettings')}

+ +

{$_('options.packageNameHelp')}

- {#if $options.target.includes('win')} -
-

{$_('win.furtherSteps')}

-

To change the icon of the executable file or create an installer program, download and run TurboWarp Packager Extras and select the output of this website.

-

All Windows applications generated by this site are unsigned, so users may see SmartScreen warnings when they try to launch it for the first time.

- {#if $options.target.includes('nwjs')} -

NW.js support is deprecated and may be removed in the future. Use Electron instead if possible.

- {/if} - {#if $options.target.endsWith('64')} -

The application will only run on 64-bit x86 computers.

- {:else if $options.target.endsWith('32')} -

The application will run on 32-bit and 64-bit x86 computers.

- {/if} -
- {:else if $options.target.includes('mac')} -

{$_('mac.furtherSteps')}

-

Due to Apple policy, packaging for their platforms is troublesome. You either have to:

-
    -
  • Instruct users to ignore scary Gatekeeper warnings by opening Finder > Navigating to the application > Right click > Open > Open (this website generates files that require this workaround)
  • -
  • Or pay Apple $100/year for a developer account to sign and notarize the app. If you have already paid for a developer account, reach out on GitHub and we'll help you set everything up (It is a very involved process).
  • -
- {#if $options.target.includes('webview')} -

About WKWebView

-

WKWebView is the fastest and smallest way to package for macOS. It should run natively (without Rosetta) on both Intel and Apple silicon Macs running macOS 10.12 or later. However, it is only actively tested on macOS Big Sur on an Intel Mac.

-

Note that:

+ {#if $options.target.includes('win')} +
+

{$_('win.furtherSteps')}

+

To change the icon of the executable file or create an installer program, download and run TurboWarp Packager Extras and select the output of this website.

+

All Windows applications generated by this site are unsigned, so users may see SmartScreen warnings when they try to launch it for the first time.

+ {#if $options.target.includes('nwjs')} +

NW.js support is deprecated and may be removed in the future. Use Electron instead if possible.

+ {/if} + {#if $options.target.endsWith('64')} +

The application will only run on 64-bit x86 computers.

+ {:else if $options.target.endsWith('32')} +

The application will run on 32-bit and 64-bit x86 computers.

+ {/if} +
+ {:else if $options.target.includes('mac')} +

{$_('mac.furtherSteps')}

+

Due to Apple policy, packaging for their platforms is troublesome. You either have to:

    -
  • Video sensing and loudness blocks will not work
  • -
  • Extremely memory intensive projects may randomly reload (but most projects work fine)
  • +
  • Instruct users to ignore scary Gatekeeper warnings by opening Finder > Navigating to the application > Right click > Open > Open (this website generates files that require this workaround)
  • +
  • Or pay Apple $100/year for a developer account to sign and notarize the app. If you have already paid for a developer account, reach out on GitHub and we'll help you set everything up (It is a very involved process).
-

Use "Plain HTML" or "NW.js macOS Application" if these are problems for your project.

- {:else if $options.target.includes('nwjs')} -

About NW.js

-

NW.js runs natively on Intel Macs but will use Rosetta on Apple silicon Macs.

-

For further help and steps, see NW.js Documentation.

+ {#if $options.target.includes('webview')} +

About WKWebView

+

WKWebView is the fastest and smallest way to package for macOS. It should run natively (without Rosetta) on both Intel and Apple silicon Macs running macOS 10.12 or later. However, it is only actively tested on macOS Big Sur on an Intel Mac.

+

Note that:

+
    +
  • Video sensing and loudness blocks will not work
  • +
  • Extremely memory intensive projects may randomly reload (but most projects work fine)
  • +
+

Use "Plain HTML" or "NW.js macOS Application" if these are problems for your project.

+ {:else if $options.target.includes('nwjs')} +

About NW.js

+

NW.js runs natively on Intel Macs but will use Rosetta on Apple silicon Macs.

+

For further help and steps, see NW.js Documentation.

+ {/if} + {:else if $options.target.includes('linux')} +

{$_('linux.furtherSteps')}

+

Linux support is still experimental.

+

The application will only run on 64-bit x86 computers. 32-bit computers, Raspberry Pis, and other ARM devices will not work.

+ {#if $options.target.includes('electron')} +

The application is started by running start.sh.

+ {:else if $options.target.includes('nwjs')} +

NW.js support is deprecated and may be removed in the future. Use Electron instead if possible.

+

For further help and steps, see NW.js Documentation.

+ {/if} {/if} - {:else if $options.target.includes('linux')} -

{$_('linux.furtherSteps')}

-

Linux support is still experimental.

-

The application will only run on 64-bit x86 computers. 32-bit computers, Raspberry Pis, and other ARM devices will not work.

- {#if $options.target.includes('electron')} -

The application is started by running start.sh.

- {:else if $options.target.includes('nwjs')} -

NW.js support is deprecated and may be removed in the future. Use Electron instead if possible.

-

For further help and steps, see NW.js Documentation.

- {/if} - {/if} +
{/if}