<h3 dir="auto">Preflight Checklist</h3>

<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li>
</ul>
<h3 dir="auto">Issue Details</h3>
<ul dir="auto">
<li><strong>Electron Version:</strong> 10.0.0</li>
</ul>
<h3 dir="auto">Rejection Email</h3>

<p dir="auto">Your app links against the following non-public framework(s):</p>
<p dir="auto">• Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework/_CGFontRenderingGetFontSmoothingDisabled</p>
<h3 dir="auto">Additional Information: N/A</h3>
<ul dir="auto">
<li>Electron version: 1.6.2</li>
<li>Operating system: Windows 10 64-bit</li>
</ul>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">Electron usually runs /resources/app.asar if it is present however you can also run a certain app by doing <code class="notranslate">Electron your_app_path.asar</code>.<br>
I expected Electron to run app.asar when started without any arguments (this does happen) but to run the provided alternative app when the argument is provided.</p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">However, Electron will still run /resources/app.asar even when the alternative app archive is provided as an argument.</p>
<h3 dir="auto">How to reproduce</h3>
<p dir="auto">To reproduce, simply have an app.asar in /resources/ and another alternative.asar also in the resources folder. Then run <code class="notranslate">Electron resources/alternative.asar</code>. It will run the app.asar app. Then rename app.asar to app_old.asar and do the same command and it should run the alternative.asar app.</p>