mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-23 08:18:52 -05:00
Hide NSIS installer from Window 10 devices (which should be using the more secure Windows Store)
This commit is contained in:
parent
2d3ae1ae3d
commit
460ef542a1
@ -133,11 +133,11 @@
|
||||
<div id="windows" class="section deployment windows winappstore" style="display:none">
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function () {
|
||||
if (navigator.userAgent.indexOf('Windows NT 10.0') >= 0) {
|
||||
if (navigator.userAgent.indexOf('Windows') >= 0) {
|
||||
$(".winappstore").show();
|
||||
|
||||
if (navigator.userAgent.indexOf('Edge') >= 0) {
|
||||
$(".nsis").hide();
|
||||
if (navigator.userAgent.indexOf('Windows NT 10.0') < 0) {
|
||||
$(".nsis").show();
|
||||
}
|
||||
}
|
||||
});
|
||||
@ -293,7 +293,7 @@
|
||||
<li class="macosx">Available on the <a href="https://itunes.apple.com/us/app/filebot/id905384638?mt=12&uo=6&at=1l3vupy&ct=filebot2" target="itunes_store">Mac App Store</a></li>
|
||||
<li class="windows">Available on the <a href="https://www.microsoft.com/store/apps/9nblggh52t9x" target="windows_store">Windows Store</a></li>
|
||||
<li class="macappstore" style="display:none">FileBot Subtitles for Mac OS X: <a target="_blank" href="http://www.filebot.net/forums/viewtopic.php?f=12&t=3350">FileBot_Subtitles_Installer.pkg</a> <small class="comment">for everyone who purchased FileBot on the Mac App Store</small></li>
|
||||
<li class="nsis">Windows installer: <a target="_blank" href="https://app.filebot.net/files/FileBot-setup.exe">FileBot_@{version}-setup.exe</a> <small class="comment">for Windows 8 and earlier</small></li>
|
||||
<li class="nsis" style="display:none">Windows installer: <a target="_blank" href="https://app.filebot.net/files/FileBot-setup.exe">FileBot_@{version}-setup.exe</a> <small class="comment">for Windows 8 and earlier</small></li>
|
||||
<li>Debian packages: <a target="_blank" href="https://app.filebot.net/download.php?type=deb&arch=i386&version=@{version}">filebot_@{version}_i386.deb</a> or <a target="_blank" href="https://app.filebot.net/download.php?type=deb&arch=amd64&version=@{version}">filebot_@{version}_amd64.deb</a></li>
|
||||
<li>Embedded Linux package: <a target="_blank" href="https://app.filebot.net/download.php?type=ipkg&arch=noarch&version=@{version}">filebot_@{version}_noarch.ipk</a></li>
|
||||
<li>Portable: <a target="_blank" href="https://app.filebot.net/download.php?type=portable&version=@{version}">FileBot-@{version}-portable.zip</a> <small class="comment">for all platforms</small>
|
||||
|
Loading…
Reference in New Issue
Block a user