Fixed the GitHub download URLs. Changed the ISO image location in the emulator for test purposes.

This commit is contained in:
Ivan Davidov 2017-12-27 03:05:13 +02:00
parent 143306b75e
commit fbe97f1e71
2 changed files with 12 additions and 8 deletions

View File

@ -32,17 +32,21 @@
<script> <script>
"use strict"; "use strict";
window.onload = function () { window.onload = function () {
var image_name = "minimal_linux_live_20-Jan-2017_32-bit.iso"; var image_name = 'minimal_linux_live_20-Jan-2017_32-bit.iso';
var cdrom_full = "../download/" + image_name; var cdrom_full = '../download/' + image_name;
var hostname = window.location.hostname;
if(hostname = 'ivandavidov.github.io') {
hostname = 'https://github.com/ivandavidov/minimal/releases/download/20-Jan-2017/' + image_name
}
var emulator = window.emulator = new V86Starter({ var emulator = window.emulator = new V86Starter({
memory_size: 256 * 1024 * 1024, memory_size: 256 * 1024 * 1024,
vga_memory_size: 16 * 1024 * 1024, vga_memory_size: 16 * 1024 * 1024,
screen_container: document.getElementById("screen_container"), screen_container: document.getElementById('screen_container'),
bios: { bios: {
url: "seabios.bin" url: 'seabios.bin'
}, },
vga_bios: { vga_bios: {
url: "vgabios.bin" url: 'vgabios.bin'
}, },
cdrom: { cdrom: {
url: cdrom_full url: cdrom_full

View File

@ -538,7 +538,7 @@
<div style="font-size: 10%;">&nbsp;</div> <div style="font-size: 10%;">&nbsp;</div>
<ul> <ul>
<li id="dl1"> <li id="dl1">
<a href="./download/minimal_linux_live_20-Jan-2017_src.tar.xz" title="Minimal Linux Live - shell scripts">minimal_linux_live_20-Jan-2017_src.tar.xz</a> - from GitHub. <a href="http://github.com/ivandavidov/minimal/releases/download/20-Jan-2017/minimal_linux_live_20-Jan-2017_src.tar.xz" title="Minimal Linux Live - shell scripts">minimal_linux_live_20-Jan-2017_src.tar.xz</a> - from GitHub.
</li> </li>
<li id="dl2"> <li id="dl2">
<a href="./download/minimal_linux_live_20-Jan-2017_src.tar.xz" title="Minimal Linux Live - shell scripts">minimal_linux_live_20-Jan-2017_src.tar.xz</a> - from this website. <a href="./download/minimal_linux_live_20-Jan-2017_src.tar.xz" title="Minimal Linux Live - shell scripts">minimal_linux_live_20-Jan-2017_src.tar.xz</a> - from this website.
@ -552,10 +552,10 @@
<div style="font-size: 10%;">&nbsp;</div> <div style="font-size: 10%;">&nbsp;</div>
<ul> <ul>
<li id="dl3"> <li id="dl3">
<a href="./download/minimal_linux_live_20-Jan-2017_64-bit.iso" title="Minimal Linux Live - ISO image file for 64-bit CPUs">minimal_linux_live_20-Jan-2017_64-bit.iso</a> - 64-bit ISO image from GitHub. <a href="http://github.com/ivandavidov/minimal/releases/download/20-Jan-2017/minimal_linux_live_20-Jan-2017_64-bit.iso" title="Minimal Linux Live - ISO image file for 64-bit CPUs">minimal_linux_live_20-Jan-2017_64-bit.iso</a> - 64-bit ISO image from GitHub.
</li> </li>
<li id="dl4"> <li id="dl4">
<a href="./download/minimal_linux_live_20-Jan-2017_32-bit.iso" title="Minimal Linux Live - ISO image file for 32-bit CPUs">minimal_linux_live_20-Jan-2017_32-bit.iso</a> - 32-bit ISO image from GitHub. <a href="http://github.com/ivandavidov/minimal/releases/download/20-Jan-2017/minimal_linux_live_20-Jan-2017_32-bit.iso" title="Minimal Linux Live - ISO image file for 32-bit CPUs">minimal_linux_live_20-Jan-2017_32-bit.iso</a> - 32-bit ISO image from GitHub.
</li> </li>
<li id="dl5"> <li id="dl5">
<a href="./download/minimal_linux_live_20-Jan-2017_64-bit.iso" title="Minimal Linux Live - ISO image file for 64-bit CPUs">minimal_linux_live_20-Jan-2017_64-bit.iso</a> - 64-bit ISO image from this website. <a href="./download/minimal_linux_live_20-Jan-2017_64-bit.iso" title="Minimal Linux Live - ISO image file for 64-bit CPUs">minimal_linux_live_20-Jan-2017_64-bit.iso</a> - 64-bit ISO image from this website.