Deprecate NW.js Windows and Linux support

This commit is contained in:
Thomas Weber committed 2021-09-02 14:40:59 -05:00
1 parent 315c075ee0
commit 00d0da4cab
1 file changed
+12 -2
+12 -2
View File
@@ -177,6 +177,13 @@
input:invalid {
outline: 2px solid red;
}
.warning {
font-weight: bold;
background: yellow;
color: black;
padding: 10px;
border-radius: 10px;
}
</style>
<Section accent="#FFAB19">
@@ -496,6 +503,9 @@
<h2>{$_('win.furtherSteps')}</h2>
<p>To change the icon of the executable file or create an installer program, download and run <a href="https://github.com/TurboWarp/packager-extras/releases">TurboWarp Packager Extras</a> and select the output of this website.</p>
<p>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.</p>
{#if $options.target.includes('nwjs')}
<p class="warning">NW.js support is deprecated and may be removed in the future. Use Electron instead if possible.</p>
{/if}
{#if $options.target.endsWith('64')}
<p>The application will only run on 64-bit x86 computers.</p>
{:else if $options.target.endsWith('32')}
@@ -531,8 +541,8 @@
<p>The application will only run on 64-bit x86 computers. 32-bit computers, Raspberry Pis, and other ARM devices will not work.</p>
{#if $options.target.includes('electron')}
<p>The application is started by running <code>start.sh</code>.</p>
{/if}
{#if $options.target.includes('nwjs')}
{:else if $options.target.includes('nwjs')}
<p class="warning">NW.js support is deprecated and may be removed in the future. Use Electron instead if possible.</p>
<p>For further help and steps, see <a href="https://docs.nwjs.io/en/latest/For%20Users/Package%20and%20Distribute/#linux">NW.js Documentation</a>.</p>
{/if}
{/if}