<ul dir="auto">
<li>Electron version: N/A</li>
<li>Operating system: Mac or Windows</li>
</ul>
<p dir="auto">I don't know how I've only discovered these methods now <g-emoji class="g-emoji" alias="smile" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f604.png">😄</g-emoji> but anyway...</p>
<p dir="auto">Would an app get rejected by the MAS if it used <a href="http://electron.atom.io/docs/api/app/#appsetloginitemsettingssettings-macos-windows" rel="nofollow"><code class="notranslate">app.setLoginItemSettings</code></a> for example? The <a href="http://electron.atom.io/docs/tutorial/mac-app-store-submission-guide/#limitations-of-mas-build" rel="nofollow">Mac App Store submission guide</a> doesn't list it as a limitation but I would assume that it isn't MAS-friendly. Although, it would be <em>great</em> if it was compatible. I guess it depends on how it's implemented underneath (i.e. whether it reaches out of the sandbox or not, etc.)</p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kevinsawicki/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kevinsawicki">@kevinsawicki</a></p>
<hr>
<p dir="auto">Related: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="177555253" data-permission-text="Title is private" data-url="https://github.com/Teamwork/node-auto-launch/issues/43" data-hovercard-type="issue" data-hovercard-url="/Teamwork/node-auto-launch/issues/43/hovercard" href="https://github.com/Teamwork/node-auto-launch/issues/43">Teamwork/node-auto-launch#43</a></p>
<h3 dir="auto">Preflight Checklist</h3>
<p dir="auto">I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.<br>
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.<br>
I have searched the <a href="https://www.github.com/electron/electron/issues">issue tracker</a> for a feature request that matches the one I want to file, without success.</p>
<h3 dir="auto">Electron Version</h3>
<p dir="auto">12.0.2</p>
<h3 dir="auto">What operating system are you using?</h3>
<p dir="auto">Windows</p>
<h3 dir="auto">Operating System Version</h3>
<p dir="auto">Windows 10 Home Single Language 20H2 19042.867</p>
<h3 dir="auto">What arch are you using?</h3>
<p dir="auto">ia32</p>
<h3 dir="auto">Last Known Working Electron version</h3>
<p dir="auto">11.4.2</p>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">This script should print to all existing printers. The printers "Microsoft XPS Document Writer" and "Microsoft Print to PDF" should block the loop and ask for file name.</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">All prints will return success, but print will happen always only to print set as default in system.</p>
<h3 dir="auto">Testcase Gist URL</h3>
<p dir="auto"><a href="https://gist.github.com/fc8b4a9fbf986965c51e8f92b8ddb39f">https://gist.github.com/fc8b4a9fbf986965c51e8f92b8ddb39f</a></p>
<p dir="auto">Good way to run the test is to set printer "Microsoft Print To PDF" as default printer.</p>