Skip to content

Commit

Permalink
Use scene-viewer 1.0 instead of 1.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
ffrank913 committed Dec 3, 2024
1 parent 1b79719 commit 0d6ef12
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ar/AR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export class DIVEAR {
encodeURIComponent(modelUrl.toString()),
);

const intent = `intent://arvr.google.com/scene-viewer/1.2?${
const intent = `intent://arvr.google.com/scene-viewer/1.0?${
params.toString() + '&file=' + modelUrl.toString()
}#Intent;scheme=https;package=com.google.android.googlequicksearchbox;action=android.intent.action.VIEW;S.browser_fallback_url=${encodeURIComponent(
locationUrl.toString(),
Expand Down
8 changes: 6 additions & 2 deletions src/dive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,13 +292,17 @@ export default class DIVE {
},
};

console.log(`DIVE ${pkgjson.version} initialized successfully!`);
if (process.env.DIVE_NODE_ENV === 'development') {
console.log('DIVE is running in development mode.');
}
console.log(`
@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@
@@@@+-:::::::---------------------==------------------------------=#@@@@
@@%=::::.......::---------------------------------------------------------+@@
@@+:::...........::-----------------------------------------------------------#@@
@@=:::.........::::::--------------${' DIVE ' + pkgjson.version.padStart(7, ' ') + ' '}---------------------------------%@
@%:::.......:::::::-------------------${process.env.DIVE_NODE_ENV === 'development' ? ' DEV MODE ' : '--------------'}------------------------------------#@
@@=:::.........::::::-------------------------------------------------------------%@
@%:::.......:::::::-----------------------------------------------------------------#@
@*:::.....:::::-----------------------------------------------------------------------*@
@%::::::.::::---------------------------------------------------------------------------@@
@@-:::::::::-----------------------------------------------------------------------------=@
Expand Down

0 comments on commit 0d6ef12

Please sign in to comment.