2023-09-20 at 6:58 pm #66983visionCustomer
Sometimes I need to change the name of my app. Since it is all linked, there have to be multiple files/text to change.
What I change is
Name of blender file and then export v3d gltf with this new name.
in the html.index the link to .js
in the html.index the link to .css
But still it is not loading correct with the new name, what am I missing?2023-09-20 at 7:23 pm #66984
what am I missing?
your_app_name.jstype in the new name.
Puzzles and JS. Fast and expensive.2023-09-20 at 7:50 pm #66987visionCustomer
thank you, it works!2023-09-21 at 5:41 am #66990Yuri KovelenovStaff2023-09-26 at 12:10 pm #67126CrunchCustomer
Just thinking out loud here but maybe it would be nice to have the same type of ‘right click > duplicate’ function you have for puzzles, but for projects in app manager??
Then allow you to rename the new project copy and it would automagically rename any underlying project name references in source files…. AND also duplicate/cone, rename the main project blend and any exported gltfs, textures etc,… all unpacked,/unlinked in completely separate folder.
A while back to ‘clone’ a project I thought I could just copy and paste the whole app folder and without renaming, just keep track of system assigned number for duplicates project(1) project(2) project(3).
Think where things got messed up for me was the new clone project was referencing files (textures and things) in the original directory.? Doing blender for years but never had to really learn their resource package structures so not sure what is involved.
BUT… throwing this feature idea out there for others to think about it…
And really, on the surface its an easy button “duplicate and rename project”, but bigger picture, it’s the functionality to start projects from custom TEMPLATES. (total project template that – like all blender, verge, custom user created html, js, pics, sounds, etc… instanced to isolated local folder with only thing changes is a prefix/name reference on cloned files)
Just a thought…
Love the video tutorials btw… Keep em coming.2023-09-28 at 5:49 am #672112023-09-30 at 3:00 am #67235bigcatrikParticipant
I just change the name of the folder on my drive and the app still seems to work.
The main reason I need to do this is because I can’t find a browser on the Quest 2 that will delete cache history when viewing in VR, whatever I try — incognito mode, developer options, etc. — and it ends up showing me the old version although I’ve uploaded a new one. The new version may load eventually, but it takes at least several minutes and that’s not conducive to efficiency.
I rename the folder, refresh the App Manager, and upload again creating a new link, which will load the new version every time (and I do delete old versions from the server). I’m not doing anything fancy, just a Blender-exported gltf and a handful of puzzles, but I realize I could run into problems in the future.2023-09-30 at 9:43 am #67236
I can’t find a browser on the Quest 2 that will delete cache history
Actually, by default, any browser receives cached content from Verge3D Network. That’s a server-side feature.
The new version may load eventually, but it takes at least several minutes
You are free to get rid of these “several minutes” (15 by default)
Puzzles and JS. Fast and expensive.2023-11-10 at 6:46 pm #68375jojopellerinCustomer
I have followed everything but only the verge3d part works fine. I chynaged the css html and js but here is the result.. Any idea ?
Attachments:You must be logged in to view attached files.2023-11-11 at 9:05 am #68421
You didn’t renamed
.html. See the video from 1:40.
Puzzles and JS. Fast and expensive.
- You must be logged in to reply to this topic.