Home › Forums › General Questions › Change name of app?
- This topic has 9 replies, 6 voices, and was last updated 1 year, 1 month ago by kdv.
-
AuthorPosts
-
2023-09-20 at 6:58 pm #66983visionCustomer
Hi,
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.
html.index name
in the html.index the link to .js
in the html.index the link to .cssBut still it is not loading correct with the new name, what am I missing?
2023-09-20 at 7:23 pm #66984kdvParticipantwhat am I missing?
In
your_app_name.js
type in the new name.Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2023-09-20 at 7:50 pm #66987visionCustomerthank you, it works!
2023-09-21 at 5:41 am #66990Yuri KovelenovStaff2023-09-26 at 12:10 pm #67126CrunchCustomerJust 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 #67211Yuri KovelenovStaff2023-09-30 at 3:00 am #67235bigcatrikParticipantI 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 #67236kdvParticipantI 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 coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2023-11-10 at 6:46 pm #68375jojopellerinCustomerHello !
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 ?
Thank youAttachments:
You must be logged in to view attached files.2023-11-11 at 9:05 am #68421kdvParticipantYou didn’t renamed
.css
inside.html
. See the video from 1:40.Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
-
AuthorPosts
- You must be logged in to reply to this topic.