Spaces:
Running
Running
Upload 3 files
Browse files- index.html +12 -12
- tmp.apk +0 -0
index.html
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
<html lang="en-us"><script src="https://pygame-web.github.io/archives/0.8/pythons.js" type=module id="site" data-python="cpython3.11" data-os="vtx,fs,snd,gui" async defer>#<!--
|
2 |
|
3 |
print("""
|
4 |
-
Loading
|
5 |
Pygbag Version : 0.8.6
|
6 |
Template Version : 0.8.3
|
7 |
Python : 3.11
|
8 |
CDN URL : https://pygame-web.github.io/archives/0.8/
|
9 |
-
Screen :
|
10 |
-
Title :
|
11 |
-
Folder :
|
12 |
Authors : pgw
|
13 |
SPDX-License-Identifier: cookiecutter.spdx
|
14 |
|
@@ -16,8 +16,8 @@ Loading space-war-rl from space-war-rl.apk
|
|
16 |
|
17 |
|
18 |
# screen pixels (real, hardware)
|
19 |
-
WIDTH=1024 #
|
20 |
-
HEIGHT=600 #
|
21 |
|
22 |
# reference/idealized screen pixels
|
23 |
REFX = 1980
|
@@ -84,12 +84,12 @@ async def custom_site():
|
|
84 |
|
85 |
|
86 |
|
87 |
-
apk = "
|
88 |
|
89 |
-
bundle = "
|
90 |
|
91 |
# the C or js loader could do that but be explicit.
|
92 |
-
appdir = Path(f"/data/data/{bundle}") # /data/data/
|
93 |
appdir.mkdir()
|
94 |
|
95 |
|
@@ -237,9 +237,9 @@ config = {
|
|
237 |
_sdl2 : "canvas",
|
238 |
user_canvas : 0,
|
239 |
user_canvas_managed : 0,
|
240 |
-
ume_block :
|
241 |
can_close : 0,
|
242 |
-
archive : "
|
243 |
gui_debug : 3,
|
244 |
cdn : "https://pygame-web.github.io/archives/0.8/",
|
245 |
autorun : 0,
|
@@ -248,7 +248,7 @@ config = {
|
|
248 |
|
249 |
</script>
|
250 |
|
251 |
-
<title>
|
252 |
<meta charset="UTF-8">
|
253 |
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
254 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
1 |
<html lang="en-us"><script src="https://pygame-web.github.io/archives/0.8/pythons.js" type=module id="site" data-python="cpython3.11" data-os="vtx,fs,snd,gui" async defer>#<!--
|
2 |
|
3 |
print("""
|
4 |
+
Loading tmp from tmp.apk
|
5 |
Pygbag Version : 0.8.6
|
6 |
Template Version : 0.8.3
|
7 |
Python : 3.11
|
8 |
CDN URL : https://pygame-web.github.io/archives/0.8/
|
9 |
+
Screen : 800x600
|
10 |
+
Title : tmp
|
11 |
+
Folder : tmp
|
12 |
Authors : pgw
|
13 |
SPDX-License-Identifier: cookiecutter.spdx
|
14 |
|
|
|
16 |
|
17 |
|
18 |
# screen pixels (real, hardware)
|
19 |
+
WIDTH=1024 # 800
|
20 |
+
HEIGHT=600 # 600
|
21 |
|
22 |
# reference/idealized screen pixels
|
23 |
REFX = 1980
|
|
|
84 |
|
85 |
|
86 |
|
87 |
+
apk = "tmp.apk"
|
88 |
|
89 |
+
bundle = "tmp"
|
90 |
|
91 |
# the C or js loader could do that but be explicit.
|
92 |
+
appdir = Path(f"/data/data/{bundle}") # /data/data/tmp
|
93 |
appdir.mkdir()
|
94 |
|
95 |
|
|
|
237 |
_sdl2 : "canvas",
|
238 |
user_canvas : 0,
|
239 |
user_canvas_managed : 0,
|
240 |
+
ume_block : 0,
|
241 |
can_close : 0,
|
242 |
+
archive : "tmp",
|
243 |
gui_debug : 3,
|
244 |
cdn : "https://pygame-web.github.io/archives/0.8/",
|
245 |
autorun : 0,
|
|
|
248 |
|
249 |
</script>
|
250 |
|
251 |
+
<title>tmp</title>
|
252 |
<meta charset="UTF-8">
|
253 |
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
254 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
tmp.apk
ADDED
Binary file (3.2 kB). View file
|
|