Skip to content

Commit ead9328

Browse files
fix(deploy): fix dependency hopefully
1 parent 794f05c commit ead9328

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<!-- End Google Tag Manager -->
1515
<meta charset="UTF-8">
1616
<meta name="viewport" content="width=device-width, initial-scale=1.0">
17+
<meta http-equiv="refresh" content="0; url=build/web/index.html">
1718
<title>Pygame Side Scroller</title>
1819
<style>
1920
body {
@@ -146,7 +147,7 @@ <h2>Controls</h2>
146147
</div>
147148
</div>
148149

149-
<script src="https://cdn.jsdelivr.net/gh/pygame-web/[email protected]/static/pythons.js"></script>
150+
<script src="https://pygame-web.github.io/archives/0.9/pythons.js" type="module"></script>
150151
<script>
151152
// Show canvas and hide loading when game starts
152153
window.addEventListener('load', function () {

run-web.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
# Convenience script to activate venv and run the game
3+
4+
source venv/bin/activate
5+
pygbag .

0 commit comments

Comments
 (0)