Skip to content

Commit

Permalink
Add manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
okaxaki committed Feb 2, 2024
1 parent ca18652 commit b9a215b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
12 changes: 7 additions & 5 deletions public/editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,19 @@
<meta name="twitter:description" content="MSX sound player on the web." />
<meta name="twitter:image" content="https://msxplay.com/img/ogp.png" />

<script src="register-sw.js"></script>
<script type="module">
import MSXPlayUI from './dist/msxplay-bundle.js';
window.MSXPlayUI = MSXPlayUI;
</script>
<link rel="manifest" href="./manifest.webmanifest" />
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet" type="text/css" />
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />
<link href="css/msxplay.css" rel="stylesheet" type="text/css" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link href="css/lds-ripple.css" rel="stylesheet" type="text/css" />
<link href="css/editor.css" rel="stylesheet" type="text/css" />

<script src="register-sw.js"></script>
<script type="module">
import MSXPlayUI from './dist/msxplay-bundle.js';
window.MSXPlayUI = MSXPlayUI;
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.31.2/ace.min.js"></script>

<script>
Expand Down
1 change: 1 addition & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<meta name="twitter:description" content="MSX sound player on the web." />
<meta name="twitter:image" content="https://msxplay.com/img/ogp.png" />

<link rel="manifest" href="./manifest.webmanifest" />
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet" type="text/css" />
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />
<link href="css/msxplay.css" rel="stylesheet" type="text/css" />
Expand Down
7 changes: 7 additions & 0 deletions public/manifest.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "MSXplay",
"short_name": "MSXplay",
"start_url": "./",
"display": "standalone",
"background_color": "#ffffff"
}

0 comments on commit b9a215b

Please sign in to comment.