forked from skylersaleh/SkyEmu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploying to gh-pages from @ 3512fb8 🚀
- Loading branch information
Showing
16 changed files
with
147 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Your Favicon Package | ||
|
||
This package was generated with [RealFaviconGenerator](https://realfavicongenerator.net/) [v0.16](https://realfavicongenerator.net/change_log#v0.16) | ||
|
||
## Install instructions | ||
|
||
To install this package: | ||
|
||
Extract this package in <code><web site>/SkyEmu/</code>. If your site is <code>http://www.example.com</code>, you should be able to access a file named <code>http://www.example.com/SkyEmu/favicon.ico</code>. | ||
|
||
Insert the following code in the `head` section of your pages: | ||
|
||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png?v=1"> | ||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png?v=1"> | ||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png?v=1"> | ||
<link rel="manifest" href="/site.webmanifest?v=1"> | ||
<link rel="mask-icon" href="/safari-pinned-tab.svg?v=1" color="#759091"> | ||
<link rel="shortcut icon" href="/favicon.ico?v=1"> | ||
<meta name="apple-mobile-web-app-title" content="SkyEmu"> | ||
<meta name="application-name" content="SkyEmu"> | ||
<meta name="msapplication-TileColor" content="#759091"> | ||
<meta name="msapplication-config" content="/browserconfig.xml?v=1"> | ||
<meta name="theme-color" content="#759091"> | ||
|
||
*Optional* - Check your favicon with the [favicon checker](https://realfavicongenerator.net/favicon_checker) |
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file added
BIN
+3.83 KB
commit/3512fb821615d5329b00ecf80fedb6e568c2c489/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.57 KB
commit/3512fb821615d5329b00ecf80fedb6e568c2c489/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions
9
commit/3512fb821615d5329b00ecf80fedb6e568c2c489/browserconfig.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<browserconfig> | ||
<msapplication> | ||
<tile> | ||
<square150x150logo src="/mstile-150x150.png?v=1"/> | ||
<TileColor>#759091</TileColor> | ||
</tile> | ||
</msapplication> | ||
</browserconfig> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
11 changes: 11 additions & 0 deletions
11
commit/3512fb821615d5329b00ecf80fedb6e568c2c489/html_code.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png?v=1"> | ||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png?v=1"> | ||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png?v=1"> | ||
<link rel="manifest" href="/site.webmanifest?v=1"> | ||
<link rel="mask-icon" href="/safari-pinned-tab.svg?v=1" color="#759091"> | ||
<link rel="shortcut icon" href="/favicon.ico?v=1"> | ||
<meta name="apple-mobile-web-app-title" content="SkyEmu"> | ||
<meta name="application-name" content="SkyEmu"> | ||
<meta name="msapplication-TileColor" content="#759091"> | ||
<meta name="msapplication-config" content="/browserconfig.xml?v=1"> | ||
<meta name="theme-color" content="#759091"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!doctypehtml><html lang=en-us><head><meta charset=utf-8><script>window.indexedDB</script><meta content="text/html; charset=utf-8"http-equiv=Content-Type><meta content="target-densitydpi=device-dpi,width=device-width,user-scalable=no,maximum-scale=1,minimum-scale=1"name=viewport><meta content="Web Based Game Boy Advance, Game Boy and Game Boy Color Emulator"name=description><meta content="GBA, Game Boy Advance, Emulator, Game Boy, GB, GBC, Game Boy Color"name=keywords><meta content=yes name=apple-mobile-web-app-capable><meta content=yes name=mobile-web-app-capable><meta content=black name=apple-mobile-web-app-status-bar-style><link href="/apple-touch-icon.png?v=1"rel=apple-touch-icon sizes=180x180><link href="/favicon-32x32.png?v=1"rel=icon sizes=32x32 type=image/png><link href="/favicon-16x16.png?v=1"rel=icon sizes=16x16 type=image/png><link href="/site.webmanifest?v=1"rel=manifest><link href="/safari-pinned-tab.svg?v=1"rel=mask-icon color=#759091><link href="/favicon.ico?v=1"rel="shortcut icon"><meta content=SkyEmu name=apple-mobile-web-app-title><meta content=SkyEmu name=application-name><meta content=#759091 name=msapplication-TileColor><meta content="/browserconfig.xml?v=1"name=msapplication-config><meta content=#759091 name=theme-color><title>SkyEmu</title><style>body{padding:0;margin:0}.emscripten{padding:0;margin:0;display:block}textarea.emscripten{font-family:monospace;width:80%}div.emscripten{text-align:center}div.emscripten_border{border:1px solid #000}canvas.emscripten{background-color:#000;width:100%;height:100%}#canvas{position:absolute;top:0;left:0;margin:0;width:100%;height:100%;overflow:hidden;display:block}input[type=file]{display:block!important;opacity:0!important;overflow:hidden!important;z-index:100!important;margin-top:0;padding-top:0;position:absolute;visibility:hidden}.spinner{height:50px;width:50px;margin:0 auto;-webkit-animation:rotation .8s linear infinite;-moz-animation:rotation .8s linear infinite;-o-animation:rotation .8s linear infinite;animation:rotation .8s linear infinite;border-left:10px solid #0096f0;border-right:10px solid #0096f0;border-bottom:10px solid #0096f0;border-top:10px solid #6400c8;border-radius:100%;background-color:#c864fa}@-webkit-keyframes rotation{from{-webkit-transform:rotate(0)}to{-webkit-transform:rotate(360deg)}}@-moz-keyframes rotation{from{-moz-transform:rotate(0)}to{-moz-transform:rotate(360deg)}}@-o-keyframes rotation{from{-o-transform:rotate(0)}to{-o-transform:rotate(360deg)}}@keyframes rotation{from{transform:rotate(0)}to{transform:rotate(360deg)}}</style></head><body><figure id=spinner style=overflow:visible><div class=spinner></div><center style=margin-top:.5em><strong>emscripten</strong></center></figure><div class=emscripten id=status>Downloading...</div><div class=emscripten><progress hidden id=progress max=100 value=0></progress></div><div class=emscripten_border id=container><canvas class=emscripten id=canvas oncontextmenu=event.preventDefault() tabindex=-1></canvas></div><script>"serviceWorker"in navigator&&navigator.serviceWorker.register("sw.js").then(e=>{}).catch(e=>console.log("Failed to register service worker",e)),window.scroll(0,1);var statusElement=document.getElementById("status"),progressElement=document.getElementById("progress"),spinnerElement=document.getElementById("spinner"),Module={preRun:[],postRun:[],print:function(){var e=document.getElementById("output");return e&&(e.value=""),function(t){arguments.length>1&&(t=Array.prototype.slice.call(arguments).join(" ")),console.log(t),e&&(e.value+=t+"\n",e.scrollTop=e.scrollHeight)}}(),printErr:function(e){arguments.length>1&&(e=Array.prototype.slice.call(arguments).join(" ")),console.error(e)},canvas:function(){var e=document.getElementById("canvas");return e.addEventListener("webglcontextlost",(function(e){alert("WebGL context lost. You will need to reload the page."),e.preventDefault()}),!1),e}(),setStatus:function(e){if(Module.setStatus.last||(Module.setStatus.last={time:Date.now(),text:""}),e!==Module.setStatus.last.text){var t=e.match(/([^(]+)\((\d+(\.\d+)?)\/(\d+)\)/),n=Date.now();t&&n-Module.setStatus.last.time<30||(Module.setStatus.last.time=n,Module.setStatus.last.text=e,t?(e=t[1],progressElement.value=100*parseInt(t[2]),progressElement.max=100*parseInt(t[4]),progressElement.hidden=!1,spinnerElement.hidden=!1):(progressElement.value=null,progressElement.max=null,progressElement.hidden=!0,e||(spinnerElement.hidden=!0)),statusElement.innerHTML=e)}},totalDependencies:0,monitorRunDependencies:function(e){this.totalDependencies=Math.max(this.totalDependencies,e),Module.setStatus(e?"Preparing... ("+(this.totalDependencies-e)+"/"+this.totalDependencies+")":"All downloads complete.")}},container=document.getElementById("container");Module.setStatus("Downloading..."),window.onerror=function(){Module.setStatus("Exception thrown, see JavaScript console"),spinnerElement.style.display="none",Module.setStatus=function(e){e&&Module.printErr("[post-exception status] "+e)}}</script><script async src=SkyEmu.js></script></body></html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 31 additions & 0 deletions
31
commit/3512fb821615d5329b00ecf80fedb6e568c2c489/safari-pinned-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions
19
commit/3512fb821615d5329b00ecf80fedb6e568c2c489/site.webmanifest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"name": "SkyEmu", | ||
"short_name": "SkyEmu", | ||
"icons": [ | ||
{ | ||
"src": "/android-chrome-192x192.png?v=1", | ||
"sizes": "192x192", | ||
"type": "image/png" | ||
}, | ||
{ | ||
"src": "/android-chrome-512x512.png?v=1", | ||
"sizes": "512x512", | ||
"type": "image/png" | ||
} | ||
], | ||
"theme_color": "#759091", | ||
"background_color": "#759091", | ||
"display": "standalone" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
// Define the cache version | ||
const CACHE_VERSION = '3512fb821615d5329b00ecf80fedb6e568c2c489'; | ||
|
||
// Define an array of URLs to cache | ||
const CACHE_URLS = [ | ||
'/', | ||
'SkyEmu.js', | ||
'SkyEmu.wasm', | ||
'android-chrome-192x192.png', | ||
'android-chrome-512x512.png', | ||
'apple-touch-icon.png', | ||
'browserconfig.xml', | ||
'favicon-16x16.png', | ||
'favicon-32x32.png', | ||
'favicon.ico', | ||
'html_code.html', | ||
'index.html', | ||
'mstile-150x150.png', | ||
'safari-pinned-tab.svg', | ||
'site.webmanifest' | ||
]; | ||
|
||
// Install the service worker and cache all URLs | ||
self.addEventListener('install', event => { | ||
event.waitUntil( | ||
caches.open(CACHE_VERSION) | ||
.then(cache => cache.addAll(CACHE_URLS)) | ||
.then(() => self.skipWaiting()) | ||
); | ||
}); | ||
|
||
// Activate the service worker and delete old caches | ||
self.addEventListener('activate', event => { | ||
event.waitUntil( | ||
caches.keys() | ||
.then(keys => Promise.all( | ||
keys.filter(key => key !== CACHE_VERSION) | ||
.map(key => caches.delete(key)) | ||
)) | ||
.then(() => self.clients.claim()) | ||
); | ||
}); | ||
|
||
// Fetch requests from the cache first, then the network | ||
self.addEventListener('fetch', event => { | ||
event.respondWith( | ||
caches.match(event.request) | ||
.then(response => response || fetch(event.request)) | ||
); | ||
}); |