Skip to content

Commit

Permalink
fix mac app
Browse files Browse the repository at this point in the history
  • Loading branch information
Martenz committed Feb 18, 2022
1 parent f266519 commit 2ad7684
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 2 deletions.
Binary file modified PCL-QuizVDS-2017.app.zip
Binary file not shown.
4 changes: 2 additions & 2 deletions localserver.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
echo $'Platypus App - Python3 Local http.server Local app started Browser should open automatically or visit localhost:9000 to start application Close this window to stop application.'
python3 -m http.server 9000 &
open "http://localhost:9000"
open "start.html"
python3 -m http.server 8001
39 changes: 39 additions & 0 deletions start.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<!DOCTYPE html>
<html lang="it">

<head>

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">

<title>PCL - Quiz VDS OffLine</title>
</head>
<body>
<div id="container">
<h1>>></h1>
<p>
<button onclick='window.location="http://localhost:8001/"'>Start APP</button>
</p>
<h1><<</h1>
</div>

<style>
#container{
height: 20%;
display: flex;
align-items: center;
justify-content: center;
}
button{
border-radius: 10px;
background-color: rgb(41, 44, 69);
border: 0px;
font-size: large;
color:white;
padding:1rem;
}

</style>
</body>

0 comments on commit 2ad7684

Please sign in to comment.