This commit is contained in:
parent
4cc11e282a
commit
aa67a102b3
2 changed files with 24 additions and 1 deletions
2
make
2
make
|
|
@ -41,7 +41,7 @@ standalone(){ # build standalone xrsh.com binary
|
|||
echo "document.head.innerHTML += \`<style type='text/css'>"
|
||||
cat src/index.css
|
||||
echo -e "</style>\`;\n"
|
||||
cat src/assets/winbox* src/com/{isoterminal,data2event,dom,html-as-texture-in-xr,pastedrop,require,window}.js src/com/lib/*.js src/com/isoterminal/{ISOTerminal.js,term.js,feat/boot.js,feat/jsconsole.js,feat/term.js,feat/remotekeyboard.js}
|
||||
cat src/assets/winbox* src/com/{isoterminal,data2event,dom,html-as-texture-in-xr,pastedrop,require,window}.js src/com/lib/{aframe-html,xhook.min}.js src/com/isoterminal/{ISOTerminal.js,term.js,feat/boot.js,feat/jsconsole.js,feat/term.js,feat/remotekeyboard.js}
|
||||
echo "// mark above libs as pre-required in require.js, to prevent 'component already registered' errors "
|
||||
echo "AFRAME.utils.require.required = {";
|
||||
echo " window: true,"
|
||||
|
|
|
|||
|
|
@ -14,6 +14,28 @@
|
|||
<script src="com/launcher.js"></script>
|
||||
<script src="com/helloworld-window.js"></script>
|
||||
<script src="com/pressable.js"></script>
|
||||
<style type="text/css">
|
||||
#remotestorage-widget {
|
||||
z-index: 21000000;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
}
|
||||
.rs-widget{
|
||||
border-radius: 7px !important;
|
||||
}
|
||||
#remotestorage-widget h1,
|
||||
#remotestorage-widget h2,
|
||||
#remotestorage-widget h3{
|
||||
color: #55a;
|
||||
}
|
||||
svg.rs-main-logo{
|
||||
filter: hue-rotate(240deg);
|
||||
}
|
||||
.rs-closed svg.rs-main-logo{
|
||||
filter: grayscale(1) brightness(0.5);
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body style="background:linear-gradient( 45deg, #324, #8c74ff)">
|
||||
|
|
@ -24,6 +46,7 @@
|
|||
xr-mode-ui="XRMode: xr"
|
||||
obb-collider="showColliders:false"
|
||||
raycaster="objects: [html]; interval:100;"
|
||||
remotestorage="dropbox: apikey_here; googledrive: apikey_here; logging: true; folder: xrsh"
|
||||
>
|
||||
|
||||
<a-entity isoterminal="iso: ./../xrsh.iso; overlayfs: /package.overlayfs.zip; bootMenuURL: 1" position="0 1.6 -0.3">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue