@webspatial/builder 0.0.10 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/lib/Cli.js +1 -1
- package/dist/lib/cmds/build.d.ts +1 -1
- package/dist/lib/cmds/build.js +1 -1
- package/dist/lib/cmds/check.js +1 -1
- package/dist/lib/cmds/help.js +1 -1
- package/dist/lib/cmds/version.js +1 -1
- package/dist/lib/pwa/config.js +1 -1
- package/dist/lib/pwa/index.js +1 -1
- package/dist/lib/pwa/validate.js +1 -1
- package/dist/lib/resource/file.js +1 -1
- package/dist/lib/resource/imageHelper.js +1 -1
- package/dist/lib/resource/index.d.ts +10 -3
- package/dist/lib/resource/index.js +1 -1
- package/dist/lib/resource/load.js +1 -1
- package/dist/lib/utils/CustomError.js +1 -1
- package/dist/lib/utils/FetchUtils-1.js +1 -1
- package/dist/lib/utils/Log.js +1 -1
- package/dist/lib/utils/fetch.js +1 -1
- package/dist/lib/utils/messages.js +1 -1
- package/dist/lib/utils/utils.d.ts +9 -0
- package/dist/lib/utils/utils.js +1 -1
- package/dist/lib/xcode/index.js +1 -1
- package/dist/lib/xcode/manifestSwiftTemplate.js +1 -1
- package/dist/lib/xcode/xcodebuild.js +1 -1
- package/dist/lib/xcode/xcodeproject.js +1 -1
- package/dist/lib/xcode/xcrun.js +1 -1
- package/package.json +3 -2
- package/template/visionOSApp/Packages/RealityKitContent/.build/workspace-state.json +0 -7
- package/template/visionOSApp/Packages/RealityKitContent/.swiftpm/xcode/xcuserdata/bytedance.xcuserdatad/xcschemes/xcschememanagement.plist +0 -14
- package/template/visionOSApp/Packages/RealityKitContent/Package.realitycomposerpro/ProjectData/main.json +0 -11
- package/template/visionOSApp/Packages/RealityKitContent/Package.realitycomposerpro/WorkspaceData/SceneMetadataList.json +0 -112
- package/template/visionOSApp/Packages/RealityKitContent/Package.realitycomposerpro/WorkspaceData/Settings.rcprojectdata +0 -17
- package/template/visionOSApp/Packages/RealityKitContent/Package.swift +0 -27
- package/template/visionOSApp/Packages/RealityKitContent/README.md +0 -3
- package/template/visionOSApp/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Immersive.usda +0 -50
- package/template/visionOSApp/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Materials/GridMaterial.usda +0 -216
- package/template/visionOSApp/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Scene.usda +0 -59
- package/template/visionOSApp/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.swift +0 -4
- package/template/visionOSApp/web-spatial/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset/Contents.json +0 -12
- package/template/visionOSApp/web-spatial/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Contents.json +0 -6
- package/template/visionOSApp/web-spatial/Assets.xcassets/AppIcon.solidimagestack/Contents.json +0 -17
- package/template/visionOSApp/web-spatial/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Content.imageset/Contents.json +0 -12
- package/template/visionOSApp/web-spatial/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Contents.json +0 -6
- package/template/visionOSApp/web-spatial/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset/Contents.json +0 -12
- package/template/visionOSApp/web-spatial/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Contents.json +0 -6
- package/template/visionOSApp/web-spatial/Assets.xcassets/Contents.json +0 -6
- package/template/visionOSApp/web-spatial/Info.plist +0 -33
- package/template/visionOSApp/web-spatial/Preview Content/Preview Assets.xcassets/Contents.json +0 -6
- package/template/visionOSApp/web-spatial/libs/EventEmitter.swift +0 -32
- package/template/visionOSApp/web-spatial/libs/SpatialComponent.swift +0 -31
- package/template/visionOSApp/web-spatial/libs/SpatialEntity.swift +0 -179
- package/template/visionOSApp/web-spatial/libs/SpatialInputComponent.swift +0 -26
- package/template/visionOSApp/web-spatial/libs/SpatialMeshResource.swift +0 -19
- package/template/visionOSApp/web-spatial/libs/SpatialModel3DComponent.swift +0 -51
- package/template/visionOSApp/web-spatial/libs/SpatialModelComponent.swift +0 -32
- package/template/visionOSApp/web-spatial/libs/SpatialObject.swift +0 -144
- package/template/visionOSApp/web-spatial/libs/SpatialPhysicallyBasedMaterial.swift +0 -19
- package/template/visionOSApp/web-spatial/libs/SpatialViewComponent.swift +0 -15
- package/template/visionOSApp/web-spatial/libs/SpatialWindowComponent.swift +0 -420
- package/template/visionOSApp/web-spatial/libs/SpatialWindowContainer.swift +0 -149
- package/template/visionOSApp/web-spatial/libs/Utils/CommandManager.swift +0 -800
- package/template/visionOSApp/web-spatial/libs/Utils/Logger.swift +0 -36
- package/template/visionOSApp/web-spatial/libs/Utils/SceneManager.swift +0 -108
- package/template/visionOSApp/web-spatial/libs/Utils/WindowContainerMgr.swift +0 -117
- package/template/visionOSApp/web-spatial/libs/json/JsonParser.swift +0 -52
- package/template/visionOSApp/web-spatial/libs/uiKitDelegate/Window.swift +0 -34
- package/template/visionOSApp/web-spatial/libs/webView/UpdateSystem.swift +0 -33
- package/template/visionOSApp/web-spatial/libs/webView/backend/NativeWebView.swift +0 -319
- package/template/visionOSApp/web-spatial/libs/webView/manifest.swift +0 -92
- package/template/visionOSApp/web-spatial/static-web/index.html +0 -9
- package/template/visionOSApp/web-spatial/views/HideViewModifier.swift +0 -17
- package/template/visionOSApp/web-spatial/views/ImmersiveView.swift +0 -24
- package/template/visionOSApp/web-spatial/views/LoadingView.swift +0 -29
- package/template/visionOSApp/web-spatial/views/MaterialWithBorderCornerModifier.swift +0 -82
- package/template/visionOSApp/web-spatial/views/OpenDismissHandlerUI.swift +0 -52
- package/template/visionOSApp/web-spatial/views/PlainWindowContainerView.swift +0 -84
- package/template/visionOSApp/web-spatial/views/SpatialModel3DView.swift +0 -193
- package/template/visionOSApp/web-spatial/views/SpatialViewUI.swift +0 -168
- package/template/visionOSApp/web-spatial/views/SpatialWebViewUI.swift +0 -186
- package/template/visionOSApp/web-spatial/views/VolumetricWindowContainerView.swift +0 -38
- package/template/visionOSApp/web-spatial/views/ui/NavView.swift +0 -125
- package/template/visionOSApp/web-spatial/web_spatialApp.swift +0 -158
- package/template/visionOSApp/web-spatial.xcodeproj/project.pbxproj +0 -686
- package/template/visionOSApp/web-spatial.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -7
- package/template/visionOSApp/web-spatial.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
- package/template/visionOSApp/web-spatial.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +0 -5
- package/template/visionOSApp/web-spatial.xcodeproj/project.xcworkspace/xcuserdata/bytedance.xcuserdatad/WorkspaceSettings.xcsettings +0 -14
- package/template/visionOSApp/web-spatial.xcodeproj/xcshareddata/xcschemes/web-spatial.xcscheme +0 -115
- package/template/visionOSApp/web-spatial.xcodeproj/xcuserdata/bytedance.xcuserdatad/xcschemes/xcschememanagement.plist +0 -27
- package/template/visionOSApp/web-spatialTests/web_spatialTests.swift +0 -34
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x1f89(){const _0x27590d=['Downloading\x20JDK\x2011\x20to\x20','275678eBEADg','2934008SOBVHl','3RXnPhQ','Icon\x20URL:','Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','Path\x20to\x20your\x20existing\x20Android\x20SDK:','6EZzanJ','Downloading\x20Android\x20SDK\x20to\x20','WARNING:\x20','Decompressing\x20the\x20JDK\x2011\x20Binaries...','(5/5)','\x22.\x0a','defineProperty','1431864JEImlz','Minimum\x20length\x20is\x20','\x0aSigning\x20key\x20information\x20','\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.','URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20','Downloading\x20the\x20JDK\x2011\x20Binaries...','Missing\x20required\x20parameter\x20','Password\x20for\x20the\x20Key:','Country\x20(2\x20letter\x20code):','https://developer.android.com/studio/terms.html','Decompressing\x20the\x20JDK\x2011\x20Sources...','Do\x20you\x20want\x20to\x20create\x20one\x20now?','colors','Invalid\x20icon\x20path:\x20','Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible','Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20','\x20but\x20input\x20is\x20','Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','bold','Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20Android\x20SDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20Android\x20SDK\x20installation)','Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20JDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20JDK\x2011\x20installation)','underline','Downloading\x20the\x20JDK\x2011\x20Sources...','URL\x20','First\x20and\x20Last\x20names\x20(eg:\x20PICO):','Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20','https://play.google.com/console/about/families/','green','Downloading\x20the\x20Android\x20SDK...','Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','Password\x20for\x20the\x20Key\x20Store:','\x20and\x20alias\x20','--manifest','\x0aBuilding\x20the\x20Android\x20App...','355684WhpazB','Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','cyan','\x20can\x20not\x20be\x20accessible.','582755NXiDEG','Invalid\x20URL:\x20','Maximum\x20length\x20is\x20','\x20or\x20','Decompressing\x20the\x20Android\x20SDK...','757388QIVbBO','\x20Check\x20out\x20the\x20Play\x20for','56510pzvxqT','\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22','messages','\x09-\x20Generated\x20Android\x20APK\x20at\x20','Generating\x20Android\x20Project.','927CzCtkn','\x0aProject\x20generated\x20successfully.','Invalid\x20integer\x20provided:\x20','\x0aSigning\x20key\x20creation'];_0x1f89=function(){return _0x27590d;};return _0x1f89();}const _0x50d904=_0x35bf;(function(_0xfdf6cd,_0x1928ab){const _0x303a08=_0x35bf,_0x496e10=_0xfdf6cd();while(!![]){try{const _0x363c9f=parseInt(_0x303a08(0xf9))/0x1+parseInt(_0x303a08(0x10f))/0x2+parseInt(_0x303a08(0xcc))/0x3*(parseInt(_0x303a08(0x103))/0x4)+parseInt(_0x303a08(0xfe))/0x5*(-parseInt(_0x303a08(0xd0))/0x6)+parseInt(_0x303a08(0xcb))/0x7+-parseInt(_0x303a08(0xd7))/0x8+-parseInt(_0x303a08(0x10a))/0x9*(parseInt(_0x303a08(0x105))/0xa);if(_0x363c9f===_0x1928ab)break;else _0x496e10['push'](_0x496e10['shift']());}catch(_0x1d1267){_0x496e10['push'](_0x496e10['shift']());}}}(_0x1f89,0x36cab));Object[_0x50d904(0xd6)](exports,'__esModule',{'value':!![]}),exports[_0x50d904(0x107)]=void 0x0;function _0x35bf(_0x3f6321,_0x33b9a2){const _0x1f890c=_0x1f89();return _0x35bf=function(_0x35bf6f,_0x375756){_0x35bf6f=_0x35bf6f-0xcb;let _0x54bc2f=_0x1f890c[_0x35bf6f];return _0x54bc2f;},_0x35bf(_0x3f6321,_0x33b9a2);}const colors_1=require(_0x50d904(0xe3));exports['messages']={'promptInstallJdk':_0x50d904(0xeb),'promptJdkPath':'Path\x20to\x20your\x20existing\x20JDK\x2011:','messageDownloadJdk':_0x50d904(0x10e),'messageDownloadJdkSrc':_0x50d904(0xed),'messageDecompressJdkSrc':_0x50d904(0xe1),'messageDownloadJdkBin':_0x50d904(0xdc),'messageDecompressJdkBin':_0x50d904(0xd3),'promptInstallSdk':_0x50d904(0xea),'promptSdkPath':_0x50d904(0xcf),'messageDownloadSdk':_0x50d904(0xd1),'errorSdkTerms':_0x50d904(0xe8),'promptSdkTerms':_0x50d904(0xfb)+(0x0,colors_1[_0x50d904(0xec)])(_0x50d904(0xe0))+'?','messageDownloadAndroidSdk':_0x50d904(0xf3),'messageDecompressAndroidSdk':_0x50d904(0x102),'messageInstallingBuildTools':_0x50d904(0xf0)+'license\x20agreement.','messageGeneratingAndroidProject':_0x50d904(0x109),'messageCheckSuccess':(_0x5363e6,_0x263252)=>{const _0x52cfdc=_0x50d904;return'\x20URL\x20'+(0x0,colors_1[_0x52cfdc(0xfc)])(_0x5363e6)+'\x20'+(_0x263252?'redirected\x20to\x20'+(0x0,colors_1['cyan'])(_0x263252):'')+'\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:';},'errorMissingManifestParameter':_0x50d904(0xdd)+((0x0,colors_1[_0x50d904(0xfc)])('--manifest-url')+_0x50d904(0x101)+(0x0,colors_1['cyan'])(_0x50d904(0xf7))),'messageInitializingWebManifest':_0x2fdeb4=>{const _0x28fcd5=_0x50d904;return'Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20'+(0x0,colors_1[_0x28fcd5(0xfc)])(_0x2fdeb4);},'messageInitializingLocalManifest':_0x3d4e24=>{const _0x9b9ec7=_0x50d904;return'Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20'+(0x0,colors_1[_0x9b9ec7(0xfc)])(_0x3d4e24);},'messageInvalidIcon':_0xd3c8c1=>{const _0x1a38b2=_0x50d904;return _0x1a38b2(0xe4)+(0x0,colors_1[_0x1a38b2(0xfc)])(_0xd3c8c1);},'errorStartUrlNotReachable':_0x5d1664=>_0x50d904(0xee)+_0x5d1664+_0x50d904(0xfd)+_0x50d904(0xfa),'warnFamilyPolicy':(0x0,colors_1[_0x50d904(0xe9)])((0x0,colors_1['yellow'])(_0x50d904(0xd2)))+_0x50d904(0xe5)+_0x50d904(0xda)+_0x50d904(0x104)+'\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a'+(0x0,colors_1[_0x50d904(0xfc)])(_0x50d904(0xf1)),'promptIconUrl':_0x50d904(0xcd),'errorInvalidUrl':_0x469308=>{const _0x1b871b=_0x50d904;return _0x1b871b(0xff)+_0x469308;},'errorUrlMustBeImage':_0x168b59=>{const _0x206ff4=_0x50d904;return _0x206ff4(0xdb)+_0x168b59+'.';},'promptVersionCode':_0x50d904(0xf4),'promptVersionName':_0x50d904(0xce),'messageSigningKeyInformation':(0x0,colors_1[_0x50d904(0xec)])(_0x50d904(0xd9)+(0x0,colors_1[_0x50d904(0xf2)])(_0x50d904(0xd4))),'messageProjectGeneratedSuccess':_0x50d904(0x10b),'messageSigningKeyCreation':(0x0,colors_1[_0x50d904(0xec)])(_0x50d904(0x10d)),'messageSigningKeyNotFound':_0x34985b=>{const _0x4fabeb=_0x50d904;return _0x4fabeb(0x106)+_0x34985b+_0x4fabeb(0xd5);},'promptCreateKey':_0x50d904(0xe2),'promptKeyFullName':_0x50d904(0xef),'promptKeyOrganizationalUnit':'Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','promptKeyOrganization':'Organization\x20(eg:\x20Company\x20Name):','promptKeyCountry':_0x50d904(0xdf),'promptKeystorePassword':_0x50d904(0xf5),'promptKeyPassword':_0x50d904(0xde),'messageBuildingApp':_0x50d904(0xf8),'messageEnterPasswords':(_0x86f437,_0x118e65)=>{const _0x4fbe47=_0x50d904;return _0x4fbe47(0xe6)+(0x0,colors_1[_0x4fbe47(0xfc)])(_0x86f437)+_0x4fbe47(0xf6)+(0x0,colors_1[_0x4fbe47(0xfc)])(_0x118e65)+'.\x0a';},'errorMinLength':(_0x172ab1,_0x3fd92c)=>{const _0x16e3b0=_0x50d904;return _0x16e3b0(0xd8)+_0x172ab1+'\x20but\x20input\x20is\x20'+_0x3fd92c+'.';},'errorMaxLength':(_0x4893b7,_0x135b84)=>{const _0x30c1cf=_0x50d904;return _0x30c1cf(0x100)+_0x4893b7+_0x30c1cf(0xe7)+_0x135b84+'.';},'errorInvalidInteger':_0x2d20ed=>{const _0x45f4e8=_0x50d904;return _0x45f4e8(0x10c)+_0x2d20ed;},'messageApkSuccess':_0xa995b0=>{const _0x54843d=_0x50d904;return _0x54843d(0x108)+(0x0,colors_1['cyan'])(_0xa995b0);},'missingUrlToCheck':_0x50d904(0xdd)+(''+(0x0,colors_1['cyan'])('--url'))};
|
package/dist/lib/utils/utils.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x43bc65=_0x947d;function _0x947d(_0x546e1a,_0xc2b88d){const _0x3ffca5=_0x3ffc();return _0x947d=function(_0x947d7f,_0x46df55){_0x947d7f=_0x947d7f-0x15a;let _0x1bcf3a=_0x3ffca5[_0x947d7f];return _0x1bcf3a;},_0x947d(_0x546e1a,_0xc2b88d);}(function(_0x45f3ea,_0x22112e){const _0xe30fec=_0x947d,_0x2bc952=_0x45f3ea();while(!![]){try{const _0x40b620=-parseInt(_0xe30fec(0x16a))/0x1+-parseInt(_0xe30fec(0x167))/0x2*(-parseInt(_0xe30fec(0x164))/0x3)+parseInt(_0xe30fec(0x15d))/0x4*(-parseInt(_0xe30fec(0x168))/0x5)+parseInt(_0xe30fec(0x169))/0x6+parseInt(_0xe30fec(0x15a))/0x7*(parseInt(_0xe30fec(0x166))/0x8)+-parseInt(_0xe30fec(0x16d))/0x9*(parseInt(_0xe30fec(0x161))/0xa)+parseInt(_0xe30fec(0x15f))/0xb*(parseInt(_0xe30fec(0x160))/0xc);if(_0x40b620===_0x22112e)break;else _0x2bc952['push'](_0x2bc952['shift']());}catch(_0x2ef3){_0x2bc952['push'](_0x2bc952['shift']());}}}(_0x3ffc,0x67816));function _0x3ffc(){const _0x13a46d=['348XgHZqU','3060ZpFXZu','getAVPVersionUrl','split','3FfHtXq','slice','8fzonHp','542188cOBjVy','115YzUMlF','995250uNVeMy','324035JAZiUE','webspatial/avp/','indexOf','12546QQiYVz','4296733KmHNYj','defineProperty','__esModule','12468ktjsDC','pop','74140QZWoZr'];_0x3ffc=function(){return _0x13a46d;};return _0x3ffc();}Object[_0x43bc65(0x15b)](exports,_0x43bc65(0x15c),{'value':!![]}),exports['parseRouter']=parseRouter,exports[_0x43bc65(0x162)]=getAVPVersionUrl;function parseRouter(_0x446e3b){const _0x3f00e9=_0x43bc65;let _0x276d33=_0x446e3b[_0x3f00e9(0x163)]('/');_0x276d33[_0x3f00e9(0x15e)]();let _0x573394=_0x276d33['join']();while(_0x573394[_0x3f00e9(0x16c)](',')>=0x0){_0x573394=_0x573394['replace'](',','/');}return _0x573394;}function getAVPVersionUrl(_0xba9c0){const _0x543997=_0x43bc65,_0x3d5514=_0xba9c0['endsWith']('/'),_0x284945=_0x3d5514?_0xba9c0[_0x543997(0x165)](0x0,-0x1):_0xba9c0;if(_0x284945['endsWith']('/webspatial/avp'))return _0xba9c0;const _0x5bca02=_0x3d5514?'':'/';return''+_0xba9c0+_0x5bca02+_0x543997(0x16b);}
|
package/dist/lib/xcode/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x214b83=_0x3380;(function(_0x2e0bbb,_0x274cf2){const _0x1240dd=_0x3380,_0x449348=_0x2e0bbb();while(!![]){try{const _0x30382b=-parseInt(_0x1240dd(0xca))/0x1+-parseInt(_0x1240dd(0xe9))/0x2*(-parseInt(_0x1240dd(0xe2))/0x3)+parseInt(_0x1240dd(0xcb))/0x4+-parseInt(_0x1240dd(0xd0))/0x5*(-parseInt(_0x1240dd(0xe5))/0x6)+-parseInt(_0x1240dd(0xcd))/0x7+parseInt(_0x1240dd(0xdf))/0x8*(parseInt(_0x1240dd(0xcf))/0x9)+parseInt(_0x1240dd(0xe4))/0xa*(-parseInt(_0x1240dd(0xdd))/0xb);if(_0x30382b===_0x274cf2)break;else _0x449348['push'](_0x449348['shift']());}catch(_0x398661){_0x449348['push'](_0x449348['shift']());}}}(_0x155f,0xe40d6));function _0x155f(){const _0xce6fb6=['PROJECT_DIRECTORY','./xcodeproject','/web-spatial.xcodeproj/project.pbxproj','PROJECT_EXPORT_DIRECTORY','../resource','11ZoMJmB','name','232COdXwK','join','modify','2817GHBCzn','upload','15015370EBrVFz','1101882OkBNdI','existsSync','uploadApp','.ipa','950FgijId','424740SuMedo','1747984KLRHpc','write\x20project.pbxproj:\x20ok','95592jbWpQr','archive','560907WjdJQI','5twBwCr','defineProperty','log','default','export','./xcrun','XcodeManager','path'];_0x155f=function(){return _0xce6fb6;};return _0x155f();}Object[_0x214b83(0xd1)](exports,'__esModule',{'value':!![]}),exports[_0x214b83(0xd6)]=void 0x0;function _0x3380(_0x3a5bc6,_0x4ebecd){const _0x155fc8=_0x155f();return _0x3380=function(_0x3380b8,_0x54a4b0){_0x3380b8=_0x3380b8-0xca;let _0x1feb78=_0x155fc8[_0x3380b8];return _0x1feb78;},_0x3380(_0x3a5bc6,_0x4ebecd);}const fs=require('fs'),resource_1=require(_0x214b83(0xdc)),xcodeproject_1=require(_0x214b83(0xd9)),xcodebuild_1=require('./xcodebuild'),xcrun_1=require(_0x214b83(0xd5)),path_1=require(_0x214b83(0xd7));class XcodeManager{static async['parseProject'](_0x595eef,_0x420b73=![]){const _0x593f5a=_0x214b83,_0x54ca6f=resource_1[_0x593f5a(0xd8)]+_0x593f5a(0xda);await xcodeproject_1['default'][_0x593f5a(0xe1)](_0x54ca6f,_0x595eef),console[_0x593f5a(0xd2)](_0x593f5a(0xcc));!fs[_0x593f5a(0xe6)](resource_1[_0x593f5a(0xdb)])&&fs['mkdirSync'](resource_1['PROJECT_EXPORT_DIRECTORY'],{'recursive':!![]});if(!_0x420b73)await xcodebuild_1[_0x593f5a(0xd3)][_0x593f5a(0xce)](_0x595eef[_0x593f5a(0xd4)]);}static async[_0x214b83(0xe3)](_0x825742,_0x4c69e4){const _0x54fba4=_0x214b83;if(_0x825742['u']&&_0x825742['p'])xcrun_1[_0x54fba4(0xd3)]['uploadApp']((0x0,path_1[_0x54fba4(0xe0)])(resource_1[_0x54fba4(0xdb)],_0x4c69e4[_0x54fba4(0xde)]+'.ipa'),_0x825742['u'],_0x825742['p'],!![]);else _0x825742['k']&&_0x825742['i']&&xcrun_1[_0x54fba4(0xd3)][_0x54fba4(0xe7)]((0x0,path_1[_0x54fba4(0xe0)])(resource_1['PROJECT_EXPORT_DIRECTORY'],_0x4c69e4[_0x54fba4(0xde)]+_0x54fba4(0xe8)),_0x825742['k'],_0x825742['i'],![]);}static async['runWithSimulator'](_0x35e44d){const _0x105553=_0x214b83;await xcrun_1[_0x105553(0xd3)]['runWithSimulator'](_0x35e44d);}}exports['XcodeManager']=XcodeManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var _0x284a49=_0x2d1a;(function(_0x4fe391,_0xf535c4){var _0x3c381c=_0x2d1a,_0x380353=_0x4fe391();while(!![]){try{var _0x23733d=-parseInt(_0x3c381c(0x1d2))/0x1+-parseInt(_0x3c381c(0x1cf))/0x2*(-parseInt(_0x3c381c(0x1d6))/0x3)+parseInt(_0x3c381c(0x1cd))/0x4*(-parseInt(_0x3c381c(0x1ce))/0x5)+-parseInt(_0x3c381c(0x1d7))/0x6+-parseInt(_0x3c381c(0x1d0))/0x7+parseInt(_0x3c381c(0x1d3))/0x8*(-parseInt(_0x3c381c(0x1d5))/0x9)+-parseInt(_0x3c381c(0x1d4))/0xa*(-parseInt(_0x3c381c(0x1d9))/0xb);if(_0x23733d===_0xf535c4)break;else _0x380353['push'](_0x380353['shift']());}catch(_0xd7d9ca){_0x380353['push'](_0x380353['shift']());}}}(_0x1a50,0x437fd));Object[_0x284a49(0x1d1)](exports,'__esModule',{'value':!![]}),exports['manifestSwiftTemplate']=void 0x0,exports[_0x284a49(0x1d8)]='\x0aimport\x20Foundation\x0a\x0avar\x20pwaManager\x20=\x20PWAManager()\x0a\x0astruct\x20PWAManager:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20isLocal:\x20Bool\x20=\x20false\x0a\x20\x20\x20\x20var\x20start_url:\x20String\x20=\x20\x22START_URL\x22\x0a\x20\x20\x20\x20var\x20scope:\x20String\x20=\x20\x22SCOPE\x22\x0a\x20\x20\x20\x20var\x20id:\x20String\x20=\x20\x22AppID\x22\x0a\x0a\x20\x20\x20\x20var\x20name:\x20String\x20=\x20\x22AppName\x22\x0a\x20\x20\x20\x20var\x20short_name:\x20String\x20=\x20\x22name\x22\x0a\x20\x20\x20\x20var\x20description:\x20String\x20=\x20\x22Description\x22\x0a\x0a\x20\x20\x20\x20var\x20display:\x20PWADisplayMode\x20=\x20.minimal\x0a\x20\x20\x20\x20var\x20display_override:\x20[PWADisplayMode]\x20=\x20[]\x0a\x20\x20\x20\x20var\x20protocol_handlers:\x20[PWAProtocol]\x20=\x20[PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)]\x0a\x20\x20\x20\x20var\x20mainScene:\x20WindowContainerOptions\x20=\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20defaultSize:\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20SceneWidth,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20SceneHeight\x0a\x20\x20\x20\x20\x20\x20\x20\x20),\x0a\x20\x20\x20\x20\x20\x20\x20\x20resizability:\x20SceneResizability\x0a\x20\x20\x20\x20)\x0a\x20\x20\x20\x20var\x20useMainScene:\x20Bool\x20=\x20USE_MAIN_SCENE\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20_init()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20urlType\x20=\x20start_url.split(separator:\x20\x22://\x22).first\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20!(urlType\x20==\x20\x22http\x22\x20||\x20urlType\x20==\x20\x22https\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20start_url\x20=\x20Bundle.main.url(forResource:\x20start_url,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)!.absoluteString\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20\x22file://\x22\x20+\x20Bundle.main.bundlePath\x20+\x20\x22/\x22\x20+\x20scope\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20scope.replacingOccurrences(of:\x20\x22\x20\x22,\x20with:\x20\x22%20\x22)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20isLocal\x20=\x20true\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20display_override.count\x20>\x200\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display\x20=\x20display_override[0]\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20i\x20in\x200\x20...\x20protocol_handlers.count\x20-\x201\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20item\x20=\x20protocol_handlers[i]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20protocol_handlers[i].updateUrl(scope\x20+\x20item.url)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20func\x20checkInScope(url:\x20String)\x20->\x20Bool\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20url.starts(with:\x20scope)\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20//\x20web+spatial://test\x0a\x20\x20\x20\x20func\x20checkInDeeplink(url:\x20String)\x20->\x20String\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20linkUrl:\x20String\x20=\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20item\x20in\x20protocol_handlers\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20linkUrl.starts(with:\x20item.protocolValue)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20queryString:\x20String\x20=\x20linkUrl.replacingOccurrences(of:\x20item.protocolValue,\x20with:\x20\x22\x22).addingPercentEncoding(withAllowedCharacters:\x20.urlQueryAllowed)!\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20linkUrl\x20=\x20item.url.replacingOccurrences(of:\x20\x22%s\x22,\x20with:\x20item.protocolValue\x20+\x20queryString)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20logger.debug(linkUrl)\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20linkUrl\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20func\x20getLocalResourceURL(url:\x20String)\x20->\x20String{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20path:String\x20=\x20String(url.split(separator:\x20\x22file://\x22).first!.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20root:String\x20=\x20String(url.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20params\x20=\x20String(url.split(separator:\x20\x22file://\x22\x20+\x20root).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20resource:String\x20=\x20Bundle.main.url(forResource:\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20=\x20Bundle.main.url(forResource:\x20\x22static-web\x22\x20+\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22?\x22\x20+\x20params\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20resource\x0a\x20\x20\x20\x20}\x0a}\x0a\x0aenum\x20PWADisplayMode:\x20Codable\x20{\x0a\x20\x20\x20\x20case\x20minimal\x0a\x20\x20\x20\x20case\x20standalone\x0a}\x0a\x0astruct\x20PWAProtocol:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20protocolValue:\x20String\x20=\x20\x22\x22\x0a\x20\x20\x20\x20var\x20url:\x20String\x20=\x20\x22\x22\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20updateUrl(_\x20str:\x20String)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20url\x20=\x20str\x0a\x20\x20\x20\x20}\x0a}\x0a\x0a';function _0x2d1a(_0x42d8aa,_0x383434){var _0x1a50bf=_0x1a50();return _0x2d1a=function(_0x2d1a5c,_0x836217){_0x2d1a5c=_0x2d1a5c-0x1cd;var _0x3a5c35=_0x1a50bf[_0x2d1a5c];return _0x3a5c35;},_0x2d1a(_0x42d8aa,_0x383434);}function _0x1a50(){var _0x4e9da4=['240qoXqbv','1803429GOpRdS','147999MkRMnh','1630860ysZfpY','manifestSwiftTemplate','473121qtPanf','4wVvdCM','1753595KserEK','6TrxTil','370335LQNSJJ','defineProperty','27971HgqcFk','8IltUsn'];_0x1a50=function(){return _0x4e9da4;};return _0x1a50();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x206dec=_0xaf45;(function(_0x1f6240,_0x7295db){const _0x5a1aac=_0xaf45,_0x557bd4=_0x1f6240();while(!![]){try{const _0xdad1c2=-parseInt(_0x5a1aac(0xf6))/0x1+-parseInt(_0x5a1aac(0x108))/0x2+-parseInt(_0x5a1aac(0xe6))/0x3*(parseInt(_0x5a1aac(0xe0))/0x4)+-parseInt(_0x5a1aac(0x10b))/0x5*(-parseInt(_0x5a1aac(0xdf))/0x6)+-parseInt(_0x5a1aac(0x10a))/0x7+parseInt(_0x5a1aac(0xfe))/0x8+parseInt(_0x5a1aac(0xff))/0x9*(parseInt(_0x5a1aac(0x10c))/0xa);if(_0xdad1c2===_0x7295db)break;else _0x557bd4['push'](_0x557bd4['shift']());}catch(_0x3c5564){_0x557bd4['push'](_0x557bd4['shift']());}}}(_0x2aa5,0xd3370));function _0x2aa5(){const _0x54d4ff=['\x20-exportOptionsPlist\x20','2963456vJUZYP','279bNPpKO','project','\x20-project\x20','__esModule','archive','defineProperty','log','PROJECT_BUILD_DIRECTORY','start\x20export','777086tgxYsp','output','1652350aQHNrl','2605EJTnsb','204950KBjdoj','mkdirSync','web-spatial','toString','list','16866iXnJqs','1484kjaBZo','existsSync','cwd','PROJECT_DIRECTORY','ARCHIVE\x20SUCCEEDED','-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------','6759GXCBXV','copyDir','semver','indexOf','../resource','allowProvisioningUpdates','clean','line','PROJECT_EXPORT_DIRECTORY','\x20-scheme\x20','default','start\x20archive','/web-spatial.xcodeproj','\x20-exportPath\x20','scheme','\x20clean','144716oAJNNh','child_process','./pack','-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------','ExportOptions.plist','XcodebuildCMD','join'];_0x2aa5=function(){return _0x54d4ff;};return _0x2aa5();}Object[_0x206dec(0x104)](exports,_0x206dec(0x102),{'value':!![]}),exports[_0x206dec(0xfb)]=void 0x0;const fs=require('fs'),path_1=require('path'),resource_1=require(_0x206dec(0xea)),semver_1=require(_0x206dec(0xe8)),file_1=require('../resource/file'),{execSync,exec}=require(_0x206dec(0xf7));class Xcodebuild{static async['project'](){const _0x13cf9e=_0x206dec;try{await new Promise((_0x2aa1cf,_0x21fd5f)=>{const _0x1033d5=_0xaf45,_0x4a90a2=resource_1[_0x1033d5(0xe3)]+_0x1033d5(0xf2),_0x4e3ad2=execSync(new XcodebuildCMD()[_0x1033d5(0x100)](_0x4a90a2)[_0x1033d5(0xde)]()[_0x1033d5(0xed)]);console[_0x1033d5(0x105)](_0x4e3ad2[_0x1033d5(0xdd)]()),_0x2aa1cf(_0x4e3ad2);});}catch(_0x2ec05a){console[_0x13cf9e(0x105)](_0x2ec05a);}}static async[_0x206dec(0xde)](){const _0x274db6=_0x206dec;try{await new Promise((_0x2f54a3,_0x5970a3)=>{const _0x174265=_0xaf45,_0x57446c=resource_1[_0x174265(0xe3)]+'/web-spatial.xcodeproj',_0x34c069=execSync(new XcodebuildCMD()[_0x174265(0x100)](_0x57446c)[_0x174265(0xde)]()['line']);console[_0x174265(0x105)](_0x34c069[_0x174265(0xdd)]()),_0x2f54a3(_0x34c069);});}catch(_0xc241c4){console[_0x274db6(0x105)](_0xc241c4);}}static async[_0x206dec(0x103)](_0xc61d09){const _0x30ba12=_0x206dec;try{return console[_0x30ba12(0x105)](_0x30ba12(0xf1)),!fs[_0x30ba12(0xe1)](resource_1[_0x30ba12(0xee)])&&fs[_0x30ba12(0xdb)](resource_1['PROJECT_EXPORT_DIRECTORY'],{'recursive':!![]}),await new Promise((_0x17e984,_0x23ac27)=>{const _0x1fce01=_0x30ba12,_0x4acd1c=resource_1[_0x1fce01(0xe3)]+_0x1fce01(0xf2),_0x469245=execSync(new XcodebuildCMD()[_0x1fce01(0x100)](_0x4acd1c)[_0x1fce01(0xf4)](_0x1fce01(0xdc))['archive']((0x0,path_1[_0x1fce01(0xfc)])(resource_1[_0x1fce01(0x106)],_0x1fce01(0xf8)))[_0x1fce01(0xec)]()['line']);let _0xbc8608=_0x469245['toString']();if(_0xbc8608[_0x1fce01(0xe9)](_0x1fce01(0xe4))>0x0){console[_0x1fce01(0x105)](_0x1fce01(0xf9)),console[_0x1fce01(0x105)](_0x1fce01(0x107));const _0x587be4=execSync(new XcodebuildCMD()[_0x1fce01(0x109)]((0x0,path_1[_0x1fce01(0xfc)])(resource_1[_0x1fce01(0x106)],'pack.xcarchive'),resource_1['PROJECT_EXPORT_DIRECTORY'],(0x0,path_1['join'])(resource_1[_0x1fce01(0x106)],_0x1fce01(0xfa)))['allowProvisioningUpdates']()['line']);_0xbc8608=_0x587be4[_0x1fce01(0xdd)]();if(_0xbc8608[_0x1fce01(0xe9)]('EXPORT\x20SUCCEEDED')>0x0){if(_0xc61d09){const _0x8ce001=(0x0,path_1[_0x1fce01(0xfc)])(process[_0x1fce01(0xe2)](),_0xc61d09);!fs[_0x1fce01(0xe1)](_0x8ce001)&&fs[_0x1fce01(0xdb)](_0x8ce001,{'recursive':!![]}),(0x0,file_1[_0x1fce01(0xe7)])(resource_1[_0x1fce01(0xee)],_0x8ce001);}console['log'](_0x1fce01(0xe5)),_0x17e984(!![]);}(0x0,semver_1['clean'])(resource_1[_0x1fce01(0x106)]);}_0x17e984(![]);});}catch(_0x46929d){console[_0x30ba12(0x105)](_0x46929d);}}}exports[_0x206dec(0xf0)]=Xcodebuild;function _0xaf45(_0x130760,_0x3869da){const _0x2aa5ad=_0x2aa5();return _0xaf45=function(_0xaf45c5,_0x2b02fa){_0xaf45c5=_0xaf45c5-0xdb;let _0x3b66e3=_0x2aa5ad[_0xaf45c5];return _0x3b66e3;},_0xaf45(_0x130760,_0x3869da);}class XcodebuildCMD{constructor(){const _0x590981=_0x206dec;this[_0x590981(0xed)]='xcodebuild';}[_0x206dec(0x100)](_0x51d0ed){const _0x5b732e=_0x206dec;return this['line']+=_0x5b732e(0x101)+_0x51d0ed,this;}[_0x206dec(0xde)](){const _0x464e68=_0x206dec;return this[_0x464e68(0xed)]+='\x20-list',this;}[_0x206dec(0xf4)](_0x305fe8){const _0x28df03=_0x206dec;return this[_0x28df03(0xed)]+=_0x28df03(0xef)+_0x305fe8,this;}[_0x206dec(0x103)](_0x5941fe){const _0x716c07=_0x206dec;return this[_0x716c07(0xed)]+='\x20-archivePath\x20'+_0x5941fe+'\x20archive',this;}[_0x206dec(0xeb)](){const _0x4c864c=_0x206dec;return this[_0x4c864c(0xed)]+='\x20-allowProvisioningUpdates',this;}['destination'](_0x268fab){const _0x3a2cc7=_0x206dec;return this[_0x3a2cc7(0xed)]+='\x20-destination\x20\x27'+_0x268fab+'\x27',this;}['output'](_0x28c797,_0x331eb3,_0x1013e8){const _0x12b23d=_0x206dec;return this['line']+='\x20-exportArchive\x20-archivePath\x20'+_0x28c797+_0x12b23d(0xf3)+_0x331eb3+_0x12b23d(0xfd)+_0x1013e8,this;}[_0x206dec(0xec)](){const _0x189c86=_0x206dec;return this[_0x189c86(0xed)]+=_0x189c86(0xf5),this;}}exports[_0x206dec(0xfb)]=XcodebuildCMD;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0xe17257=_0x5ec2;function _0xc745(){const _0x3bd75e=['pbxTargetByName','<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>ITSAppUsesNonExemptEncryption</key>\x0a\x09<false/>\x0a\x09<key>CFBundleURLTypes</key>\x0a\x09<array>\x0a\x09\x09<dict>\x0a\x09\x09\x09<key>CFBundleURLName</key>\x0a\x09\x09\x09<string>web-spatial</string>\x0a\x09\x09\x09<key>CFBundleURLSchemes</key>\x0a\x09\x09\x09<array>\x0a\x09\x09\x09\x09DEEPLINK\x0a\x09\x09\x09</array>\x0a\x09\x09</dict>\x0a\x09</array>\x0a\x09<key>NSAppTransportSecurity</key>\x0a\x09<dict>\x0a\x09\x09<key>NSAllowsArbitraryLoads</key>\x0a\x09\x09<true/>\x0a\x09</dict>\x0a\x09<key>UIApplicationSceneManifest</key>\x0a\x09<dict>\x0a\x09\x09<key>UIApplicationPreferredDefaultSceneSessionRole</key>\x0a\x09\x09<string>UIWindowSceneSessionRoleApplication</string>\x0a\x09\x09<key>UIApplicationSupportsMultipleScenes</key>\x0a\x09\x09<true/>\x0a\x09\x09<key>UISceneConfigurations</key>\x0a\x09\x09<dict/>\x0a\x09</dict>\x0a</dict>\x0a</plist>\x0a','manifestSwiftTemplate','bindIcon','mkdirSync','PROJECT_DIRECTORY','resizability','SceneResizability','updateDeeplink','Contents.json','json','../resource/imageHelper','3696324nMOtaH','existsSync','join','.standalone','updateTeamId','stringify','length','defaultSize','project','BACK_APPICON_DIRECTORY','./web-spatial/libs/webView/manifest.swift','9OCLPjZ','writeFileSync','writeSync','.minimal','path','modifySwift','modify','ExportOptions.plist','xcode','log','url','2943316qvrcbh','pbxXCBuildConfigurationSection','buildType','icon.','loadJsonFromDisk','protocol','Description','../resource','PRODUCT_BUNDLE_IDENTIFIER','ImageHelper','MIDDLE_APPICON_DIRECTORY','getMIME','fixProjectFunction','test','hash','3026807WZoeEE','13358504vWTRZP','PBXGroup','debugging','\x22automatic\x22','PWAProtocol(protocolValue:\x20\x22','buildSettings','icon.png','./web-spatial/Info.plist','updateVersion','icon','updateBuildProperty','\x22,\x20url:\x20\x22','protocol_handlers','object','1280','AppID','mainScene','1.0','CURRENT_PROJECT_VERSION','scope','../resource/load','1153646xYvJVW','enterprise','writeAsync','BUILDTYPE','AppName','<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>destination</key>\x0a\x09<string>export</string>\x0a\x09<key>method</key>\x0a\x09<string>BUILDTYPE</string>\x0a\x09<key>signingStyle</key>\x0a\x09<string>automatic</string>\x0a\x09<key>stripSwiftSymbols</key>\x0a\x09<true/>\x0a\x09<key>teamID</key>\x0a\x09<string>YOURTEAMID</string>\x0a\x09<key>thinning</key>\x0a\x09<string><none></string>\x0a</dict>\x0a</plist>','buildConfigurations','DEVELOPMENT_TEAM','version','PROJECT_BUILD_DIRECTORY','updateProductName','1717710dEBmYt','teamId','start_url','height','3667620qvfQes','SceneWidth','includes','release-testing','parseSync','DEEPLINK','updateExportOptions','pbxGroupByName','pbxXCConfigurationList','name','1hlgZvd','manifestInfo','buildConfigurationList','images','display','default','replace','SceneHeight','bindManifestInfo','./manifestSwiftTemplate','defineProperty'];_0xc745=function(){return _0x3bd75e;};return _0xc745();}function _0x5ec2(_0xbe8f1f,_0x2469f1){const _0xc745e8=_0xc745();return _0x5ec2=function(_0x5ec219,_0x1320ef){_0x5ec219=_0x5ec219-0x156;let _0x1641b7=_0xc745e8[_0x5ec219];return _0x1641b7;},_0x5ec2(_0xbe8f1f,_0x2469f1);}(function(_0x36dfcd,_0x13f4d5){const _0x321d7c=_0x5ec2,_0x568413=_0x36dfcd();while(!![]){try{const _0xfa5a2a=-parseInt(_0x321d7c(0x162))/0x1*(parseInt(_0x321d7c(0x1b4))/0x2)+parseInt(_0x321d7c(0x1bf))/0x3+-parseInt(_0x321d7c(0x18f))/0x4+parseInt(_0x321d7c(0x158))/0x5+-parseInt(_0x321d7c(0x179))/0x6+-parseInt(_0x321d7c(0x19e))/0x7+-parseInt(_0x321d7c(0x19f))/0x8*(-parseInt(_0x321d7c(0x184))/0x9);if(_0xfa5a2a===_0x13f4d5)break;else _0x568413['push'](_0x568413['shift']());}catch(_0x5e6f69){_0x568413['push'](_0x568413['shift']());}}}(_0xc745,0x96190));Object[_0xe17257(0x16c)](exports,'__esModule',{'value':!![]});const fs=require('fs'),resource_1=require(_0xe17257(0x196)),path_1=require(_0xe17257(0x188)),load_1=require(_0xe17257(0x1b3)),imageHelper_1=require(_0xe17257(0x178)),manifestSwiftTemplate_1=require(_0xe17257(0x16b)),xcode=require(_0xe17257(0x18c)),exportOptionsXML=_0xe17257(0x1b9),infoPlistXML=_0xe17257(0x16e);let useExportOptionsXML='';class XcodeProject{static async[_0xe17257(0x18a)](_0x347a2,_0x21a68f){const _0x3b3366=_0xe17257;let _0x310614=xcode[_0x3b3366(0x181)](_0x347a2);this[_0x3b3366(0x19b)](_0x310614),_0x310614[_0x3b3366(0x15c)]();let _0x209928=_0x21a68f[_0x3b3366(0x191)];const _0x1ca37c=[_0x3b3366(0x15b),'app-store-connect',_0x3b3366(0x1a1),_0x3b3366(0x1b5)];useExportOptionsXML=exportOptionsXML[_0x3b3366(0x168)](_0x3b3366(0x1b7),_0x1ca37c[_0x3b3366(0x15a)](_0x209928)?_0x209928:_0x3b3366(0x15b));_0x21a68f[_0x3b3366(0x1c0)]&&this[_0x3b3366(0x17d)](_0x310614,_0x21a68f[_0x3b3366(0x1c0)]);this[_0x3b3366(0x15e)](),await this[_0x3b3366(0x170)](_0x21a68f[_0x3b3366(0x1a8)]),this[_0x3b3366(0x16a)](_0x310614,_0x21a68f[_0x3b3366(0x163)][_0x3b3366(0x177)]);_0x21a68f[_0x3b3366(0x1bc)]?this[_0x3b3366(0x1a7)](_0x310614,_0x21a68f[_0x3b3366(0x1bc)]):this[_0x3b3366(0x1a7)](_0x310614,_0x3b3366(0x1b0));try{fs[_0x3b3366(0x185)](_0x347a2,_0x310614[_0x3b3366(0x186)]());}catch(_0x3c9079){console[_0x3b3366(0x18d)](_0x3c9079);}}static[_0xe17257(0x19b)](_0x30bfb1){const _0x4c09e8=_0xe17257;_0x30bfb1[_0x4c09e8(0x15f)]=function(_0x4a4f68){const _0x960169=_0x4c09e8;var _0x41df9d=this[_0x960169(0x19d)]['project']['objects'][_0x960169(0x1a0)],_0x3dba54,_0x53ca2a;for(_0x3dba54 in _0x41df9d){if(!/_comment$/[_0x960169(0x19c)](_0x3dba54))continue;if(_0x41df9d[_0x3dba54]==_0x4a4f68)return _0x53ca2a=_0x3dba54['split'](/_comment$/)[0x0],_0x41df9d[_0x53ca2a];}return![];},_0x30bfb1[_0x4c09e8(0x1a9)]=function(_0x5135df,_0x5475a1,_0x4fcd3c,_0x17d647){const _0x2934fe=_0x4c09e8;let _0x212610=[];const _0x158231=/_comment$/;if(_0x17d647){const _0x5e7015=this[_0x2934fe(0x16d)](_0x17d647),_0x50dcba=_0x5e7015&&_0x5e7015[_0x2934fe(0x164)],_0x352760=this[_0x2934fe(0x160)]();for(const _0x46e54b in _0x352760){if(!_0x158231['test'](_0x46e54b)&&_0x50dcba===_0x46e54b){const _0xc8c811=_0x352760[_0x46e54b][_0x2934fe(0x1ba)];for(const _0x3690da of _0xc8c811){_0x212610['push'](_0x3690da['value']);}break;}}}var _0x3fe5c8=this[_0x2934fe(0x190)]();for(var _0x20df39 in _0x3fe5c8){if(!_0x158231[_0x2934fe(0x19c)](_0x20df39)){if(_0x17d647&&!_0x212610[_0x2934fe(0x15a)](_0x20df39))continue;var _0x16dea1=_0x3fe5c8[_0x20df39];(_0x4fcd3c&&_0x16dea1[_0x2934fe(0x161)]===_0x4fcd3c||!_0x4fcd3c)&&_0x16dea1[_0x2934fe(0x1a4)][_0x5135df]&&(_0x16dea1[_0x2934fe(0x1a4)][_0x5135df]=_0x5475a1);}}};}static async['bindIcon'](_0x3666fc){const _0x3dc8a0=_0xe17257;if(_0x3666fc){const _0x3e50d8=(0x0,path_1[_0x3dc8a0(0x17b)])(resource_1['PROJECT_DIRECTORY'],resource_1[_0x3dc8a0(0x182)]),_0x57da72=(0x0,path_1['join'])(_0x3e50d8,_0x3dc8a0(0x176)),_0x3c3e11=_0x3dc8a0(0x192)+_0x3666fc[_0x3dc8a0(0x19a)]()[_0x3dc8a0(0x168)]('image/',''),_0x4f74f4=(0x0,path_1[_0x3dc8a0(0x17b)])(_0x3e50d8,_0x3c3e11);let _0xada4a2=await(0x0,load_1[_0x3dc8a0(0x193)])(_0x57da72);_0xada4a2[_0x3dc8a0(0x165)][0x0]['filename']=_0x3c3e11,await _0x3666fc[_0x3dc8a0(0x1b6)](_0x4f74f4),await fs[_0x3dc8a0(0x185)](_0x57da72,JSON[_0x3dc8a0(0x17e)](_0xada4a2));const _0xa90163=(0x0,path_1[_0x3dc8a0(0x17b)])(resource_1[_0x3dc8a0(0x172)],resource_1[_0x3dc8a0(0x199)]),_0x2a6351=(0x0,path_1[_0x3dc8a0(0x17b)])(_0xa90163,_0x3dc8a0(0x176)),_0x2cd38d=_0x3dc8a0(0x1a5),_0xa8046=(0x0,path_1['join'])(_0xa90163,_0x2cd38d);let _0x5f3d58=await(0x0,load_1[_0x3dc8a0(0x193)])(_0x2a6351),_0x363aa6=imageHelper_1[_0x3dc8a0(0x198)]['createImg'](0x200);_0x5f3d58[_0x3dc8a0(0x165)][0x0]['filename']=_0x2cd38d,await _0x363aa6[_0x3dc8a0(0x1b6)](_0xa8046),await fs[_0x3dc8a0(0x185)](_0x2a6351,JSON[_0x3dc8a0(0x17e)](_0x5f3d58));}}static[_0xe17257(0x17d)](_0x3955aa,_0x4ef898){const _0xb39f1=_0xe17257;_0x3955aa['updateBuildProperty'](_0xb39f1(0x1bb),_0x4ef898),useExportOptionsXML=useExportOptionsXML[_0xb39f1(0x168)]('YOURTEAMID',_0x4ef898);}static['updateExportOptions'](){const _0x38faf0=_0xe17257;!fs[_0x38faf0(0x17a)](resource_1[_0x38faf0(0x1bd)])&&fs[_0x38faf0(0x171)](resource_1[_0x38faf0(0x1bd)],{'recursive':!![]}),fs['writeFileSync']((0x0,path_1['join'])(resource_1[_0x38faf0(0x1bd)],_0x38faf0(0x18b)),useExportOptionsXML);}static['bindManifestInfo'](_0x3f0bff,_0x39b168){const _0xb156a=_0xe17257;var _0x3a9571;_0x3f0bff[_0xb156a(0x1be)](_0x39b168[_0xb156a(0x161)]),_0x3f0bff[_0xb156a(0x1a9)](_0xb156a(0x197),'\x22'+_0x39b168['id']+'\x22'),this[_0xb156a(0x175)]((_0x3a9571=_0x39b168['protocol_handlers'])!==null&&_0x3a9571!==void 0x0?_0x3a9571:[]),this[_0xb156a(0x189)](_0x39b168);}static[_0xe17257(0x1a7)](_0x538a29,_0x54423c){const _0x4839c7=_0xe17257;_0x538a29[_0x4839c7(0x1a9)](_0x4839c7(0x1b1),_0x54423c);}static['updateDeeplink'](_0x347854){const _0x54ede9=_0xe17257;let _0x26233a=(0x0,path_1['join'])(resource_1[_0x54ede9(0x172)],_0x54ede9(0x1a6)),_0x1bbd92='';for(let _0x1f1027=0x0;_0x1f1027<_0x347854[_0x54ede9(0x17f)];_0x1f1027++){_0x1bbd92+='<string>'+_0x347854[_0x1f1027][_0x54ede9(0x194)]+'</string>';}const _0x36c845=infoPlistXML[_0x54ede9(0x168)](_0x54ede9(0x15d),_0x1bbd92);fs[_0x54ede9(0x185)](_0x26233a,_0x36c845);}static['modifySwift'](_0x5ada69){const _0x42239e=_0xe17257,_0x437c37=(0x0,path_1['join'])(resource_1[_0x42239e(0x172)],_0x42239e(0x183));let _0x44df6d=manifestSwiftTemplate_1[_0x42239e(0x16f)];_0x44df6d=_0x44df6d[_0x42239e(0x168)]('START_URL',_0x5ada69[_0x42239e(0x156)]),_0x44df6d=_0x44df6d[_0x42239e(0x168)]('SCOPE',_0x5ada69[_0x42239e(0x1b2)]),_0x44df6d=_0x44df6d['replace'](_0x42239e(0x1b8),_0x5ada69['name']),_0x44df6d=_0x44df6d['replace'](_0x42239e(0x195),_0x5ada69['description']),_0x44df6d=_0x44df6d[_0x42239e(0x168)](_0x42239e(0x1ae),_0x5ada69['id']),_0x44df6d=_0x44df6d['replace'](_0x42239e(0x187),_0x5ada69[_0x42239e(0x166)]=='minimal-ui'?_0x42239e(0x187):_0x42239e(0x17c));if(_0x5ada69['protocol_handlers']){let _0x2378d8='';for(let _0x221ccb=0x0;_0x221ccb<_0x5ada69[_0x42239e(0x1ab)][_0x42239e(0x17f)];_0x221ccb++){_0x2378d8+=_0x42239e(0x1a3)+_0x5ada69['protocol_handlers'][_0x221ccb]['protocol']+_0x42239e(0x1aa)+_0x5ada69[_0x42239e(0x1ab)][_0x221ccb][_0x42239e(0x18e)]+'\x22),';}_0x44df6d=_0x44df6d[_0x42239e(0x168)]('PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)',_0x2378d8);}typeof _0x5ada69[_0x42239e(0x1af)]===_0x42239e(0x1ac)?(_0x44df6d=_0x44df6d[_0x42239e(0x168)](_0x42239e(0x159),_0x5ada69['mainScene'][_0x42239e(0x180)]['width']),_0x44df6d=_0x44df6d[_0x42239e(0x168)]('SceneHeight',_0x5ada69[_0x42239e(0x1af)][_0x42239e(0x180)][_0x42239e(0x157)]),_0x44df6d=_0x44df6d[_0x42239e(0x168)](_0x42239e(0x174),'\x22'+_0x5ada69['mainScene'][_0x42239e(0x173)]+'\x22'),_0x44df6d=_0x44df6d[_0x42239e(0x168)]('USE_MAIN_SCENE','true')):(_0x44df6d=_0x44df6d[_0x42239e(0x168)](_0x42239e(0x159),_0x42239e(0x1ad)),_0x44df6d=_0x44df6d[_0x42239e(0x168)](_0x42239e(0x169),_0x42239e(0x1ad)),_0x44df6d=_0x44df6d['replace'](_0x42239e(0x174),_0x42239e(0x1a2)),_0x44df6d=_0x44df6d[_0x42239e(0x168)]('USE_MAIN_SCENE','false')),fs[_0x42239e(0x185)](_0x437c37,_0x44df6d,'utf-8');}}exports[_0xe17257(0x167)]=XcodeProject;
|
|
1
|
+
'use strict';function _0x2735(){const _0x2455a2=['<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>destination</key>\x0a\x09<string>export</string>\x0a\x09<key>method</key>\x0a\x09<string>BUILDTYPE</string>\x0a\x09<key>signingStyle</key>\x0a\x09<string>automatic</string>\x0a\x09<key>stripSwiftSymbols</key>\x0a\x09<true/>\x0a\x09<key>teamID</key>\x0a\x09<string>YOURTEAMID</string>\x0a\x09<key>thinning</key>\x0a\x09<string><none></string>\x0a</dict>\x0a</plist>','updateBuildProperty','MIDDLE_APPICON_DIRECTORY','hash','507669lNGOWX','YOURTEAMID','.standalone','writeFileSync','SceneWidth','createImg','true','name','loadJsonFromDisk','AppID','includes','updateTeamId','PROJECT_BUILD_DIRECTORY','images','parseSync','xcode','USE_MAIN_SCENE','PBXGroup','1122054nleHHl','modifySwift','updateVersion','updateExportOptions','\x22,\x20url:\x20\x22','Description','updateProductName','resizability','push','join','PROJECT_DIRECTORY','pbxGroupByName','mainScene','SceneHeight','image/','buildSettings','AppName','buildConfigurationList','BACK_APPICON_DIRECTORY','value','stringify','2030409GLRXKi','Contents.json','updateDeeplink','debugging','log','project','CURRENT_PROJECT_VERSION','display','false','buildType','\x22automatic\x22','498480OWNQmS','path','icon.png','replace','pbxXCConfigurationList','scope','minimal-ui','width','enterprise','defaultSize','writeAsync','teamId','protocol','writeSync','DEEPLINK','5dwZuZh','description','29403ScakRS','<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>ITSAppUsesNonExemptEncryption</key>\x0a\x09<false/>\x0a\x09<key>CFBundleURLTypes</key>\x0a\x09<array>\x0a\x09\x09<dict>\x0a\x09\x09\x09<key>CFBundleURLName</key>\x0a\x09\x09\x09<string>web-spatial</string>\x0a\x09\x09\x09<key>CFBundleURLSchemes</key>\x0a\x09\x09\x09<array>\x0a\x09\x09\x09\x09DEEPLINK\x0a\x09\x09\x09</array>\x0a\x09\x09</dict>\x0a\x09</array>\x0a\x09<key>NSAppTransportSecurity</key>\x0a\x09<dict>\x0a\x09\x09<key>NSAllowsArbitraryLoads</key>\x0a\x09\x09<true/>\x0a\x09</dict>\x0a\x09<key>UIApplicationSceneManifest</key>\x0a\x09<dict>\x0a\x09\x09<key>UIApplicationPreferredDefaultSceneSessionRole</key>\x0a\x09\x09<string>UIWindowSceneSessionRoleApplication</string>\x0a\x09\x09<key>UIApplicationSupportsMultipleScenes</key>\x0a\x09\x09<true/>\x0a\x09\x09<key>UISceneConfigurations</key>\x0a\x09\x09<dict/>\x0a\x09</dict>\x0a</dict>\x0a</plist>\x0a','PWAProtocol(protocolValue:\x20\x22','test','DEVELOPMENT_TEAM','manifestInfo','PRODUCT_BUNDLE_IDENTIFIER','20Sqvcwh','existsSync','BUILDTYPE','pbxXCBuildConfigurationSection','protocol_handlers','bindManifestInfo','length','filename','SceneResizability','fixProjectFunction','default','icon','mkdirSync','getMIME','4bhHhnA','<string>','310614XiZLuW','281939vrkzkY','../resource/imageHelper','defineProperty','release-testing','manifestSwiftTemplate','bindIcon','./web-spatial/libs/webView/manifest.swift'];_0x2735=function(){return _0x2455a2;};return _0x2735();}const _0x5de2f3=_0x26f5;(function(_0x4344f4,_0x52fe02){const _0x44ce61=_0x26f5,_0x39198c=_0x4344f4();while(!![]){try{const _0x5b1ca7=parseInt(_0x44ce61(0x1fe))/0x1+parseInt(_0x44ce61(0x215))/0x2+-parseInt(_0x44ce61(0x221))/0x3*(-parseInt(_0x44ce61(0x213))/0x4)+parseInt(_0x44ce61(0x1fc))/0x5*(parseInt(_0x44ce61(0x1cd))/0x6)+-parseInt(_0x44ce61(0x216))/0x7+parseInt(_0x44ce61(0x1ed))/0x8+-parseInt(_0x44ce61(0x1e2))/0x9*(parseInt(_0x44ce61(0x205))/0xa);if(_0x5b1ca7===_0x52fe02)break;else _0x39198c['push'](_0x39198c['shift']());}catch(_0x1602fb){_0x39198c['push'](_0x39198c['shift']());}}}(_0x2735,0x1b49d));Object[_0x5de2f3(0x218)](exports,'__esModule',{'value':!![]});const fs=require('fs'),resource_1=require('../resource'),path_1=require(_0x5de2f3(0x1ee)),load_1=require('../resource/load'),imageHelper_1=require(_0x5de2f3(0x217)),manifestSwiftTemplate_1=require('./manifestSwiftTemplate'),xcode=require(_0x5de2f3(0x230)),exportOptionsXML=_0x5de2f3(0x21d),infoPlistXML=_0x5de2f3(0x1ff);let useExportOptionsXML='';function _0x26f5(_0x8f2dee,_0xc7bde6){const _0x2735aa=_0x2735();return _0x26f5=function(_0x26f539,_0x9c3904){_0x26f539=_0x26f539-0x1cd;let _0x32a18c=_0x2735aa[_0x26f539];return _0x32a18c;},_0x26f5(_0x8f2dee,_0xc7bde6);}class XcodeProject{static async['modify'](_0x5d6917,_0x4e9768){const _0x1048ed=_0x5de2f3;let _0x4f70b3=xcode[_0x1048ed(0x1e7)](_0x5d6917);this[_0x1048ed(0x20e)](_0x4f70b3),_0x4f70b3[_0x1048ed(0x22f)]();let _0x1dc3be=_0x4e9768[_0x1048ed(0x1eb)];const _0x40be81=[_0x1048ed(0x219),'app-store-connect',_0x1048ed(0x1e5),_0x1048ed(0x1f5)];useExportOptionsXML=exportOptionsXML['replace'](_0x1048ed(0x207),_0x40be81[_0x1048ed(0x22b)](_0x1dc3be)?_0x1dc3be:'release-testing');_0x4e9768[_0x1048ed(0x1f8)]&&this[_0x1048ed(0x22c)](_0x4f70b3,_0x4e9768[_0x1048ed(0x1f8)]);this[_0x1048ed(0x1d0)](),await this[_0x1048ed(0x21b)](_0x4e9768[_0x1048ed(0x210)]),this['bindManifestInfo'](_0x4f70b3,_0x4e9768[_0x1048ed(0x203)]['json']);_0x4e9768['version']?this['updateVersion'](_0x4f70b3,_0x4e9768['version']):this[_0x1048ed(0x1cf)](_0x4f70b3,'1.0');try{fs[_0x1048ed(0x224)](_0x5d6917,_0x4f70b3[_0x1048ed(0x1fa)]());}catch(_0x5db888){console[_0x1048ed(0x1e6)](_0x5db888);}}static[_0x5de2f3(0x20e)](_0x17379e){const _0x41bcd7=_0x5de2f3;_0x17379e[_0x41bcd7(0x1d8)]=function(_0x3e2cd8){const _0x1a163c=_0x41bcd7;var _0x10ae86=this[_0x1a163c(0x220)][_0x1a163c(0x1e7)]['objects'][_0x1a163c(0x232)],_0x15f4cc,_0x1de164;for(_0x15f4cc in _0x10ae86){if(!/_comment$/[_0x1a163c(0x201)](_0x15f4cc))continue;if(_0x10ae86[_0x15f4cc]==_0x3e2cd8)return _0x1de164=_0x15f4cc['split'](/_comment$/)[0x0],_0x10ae86[_0x1de164];}return![];},_0x17379e['updateBuildProperty']=function(_0x1c4e6c,_0x4ccc47,_0x3b11f1,_0x35d5a6){const _0x2c80af=_0x41bcd7;let _0x3237e4=[];const _0x1cd86d=/_comment$/;if(_0x35d5a6){const _0x4a1159=this['pbxTargetByName'](_0x35d5a6),_0x1bc186=_0x4a1159&&_0x4a1159[_0x2c80af(0x1de)],_0x4f6578=this[_0x2c80af(0x1f1)]();for(const _0x4be2bf in _0x4f6578){if(!_0x1cd86d[_0x2c80af(0x201)](_0x4be2bf)&&_0x1bc186===_0x4be2bf){const _0x3d728a=_0x4f6578[_0x4be2bf]['buildConfigurations'];for(const _0x587ede of _0x3d728a){_0x3237e4[_0x2c80af(0x1d5)](_0x587ede[_0x2c80af(0x1e0)]);}break;}}}var _0x3d1e26=this[_0x2c80af(0x208)]();for(var _0x402ff5 in _0x3d1e26){if(!_0x1cd86d[_0x2c80af(0x201)](_0x402ff5)){if(_0x35d5a6&&!_0x3237e4[_0x2c80af(0x22b)](_0x402ff5))continue;var _0x106955=_0x3d1e26[_0x402ff5];(_0x3b11f1&&_0x106955[_0x2c80af(0x228)]===_0x3b11f1||!_0x3b11f1)&&_0x106955[_0x2c80af(0x1dc)][_0x1c4e6c]&&(_0x106955[_0x2c80af(0x1dc)][_0x1c4e6c]=_0x4ccc47);}}};}static async[_0x5de2f3(0x21b)](_0x1873f9){const _0x3a2d1b=_0x5de2f3;if(_0x1873f9){const _0x2e2d30=(0x0,path_1[_0x3a2d1b(0x1d6)])(resource_1['PROJECT_DIRECTORY'],resource_1[_0x3a2d1b(0x1df)]),_0x226750=(0x0,path_1[_0x3a2d1b(0x1d6)])(_0x2e2d30,_0x3a2d1b(0x1e3)),_0xb464c0='icon.'+_0x1873f9[_0x3a2d1b(0x212)]()[_0x3a2d1b(0x1f0)](_0x3a2d1b(0x1db),''),_0x56c605=(0x0,path_1[_0x3a2d1b(0x1d6)])(_0x2e2d30,_0xb464c0);let _0x41ae13=await(0x0,load_1[_0x3a2d1b(0x229)])(_0x226750);_0x41ae13['images'][0x0]['filename']=_0xb464c0,await _0x1873f9['writeAsync'](_0x56c605),await fs[_0x3a2d1b(0x224)](_0x226750,JSON[_0x3a2d1b(0x1e1)](_0x41ae13));const _0x2abeff=(0x0,path_1[_0x3a2d1b(0x1d6)])(resource_1['PROJECT_DIRECTORY'],resource_1[_0x3a2d1b(0x21f)]),_0x30a52f=(0x0,path_1[_0x3a2d1b(0x1d6)])(_0x2abeff,_0x3a2d1b(0x1e3)),_0x59a042=_0x3a2d1b(0x1ef),_0x427a8e=(0x0,path_1[_0x3a2d1b(0x1d6)])(_0x2abeff,_0x59a042);let _0x57663d=await(0x0,load_1[_0x3a2d1b(0x229)])(_0x30a52f),_0x38b3a9=imageHelper_1['ImageHelper'][_0x3a2d1b(0x226)](0x200);_0x57663d[_0x3a2d1b(0x22e)][0x0][_0x3a2d1b(0x20c)]=_0x59a042,await _0x38b3a9[_0x3a2d1b(0x1f7)](_0x427a8e),await fs[_0x3a2d1b(0x224)](_0x30a52f,JSON[_0x3a2d1b(0x1e1)](_0x57663d));}}static[_0x5de2f3(0x22c)](_0x3ecd65,_0x591710){const _0x551037=_0x5de2f3;_0x3ecd65[_0x551037(0x21e)](_0x551037(0x202),_0x591710),useExportOptionsXML=useExportOptionsXML[_0x551037(0x1f0)](_0x551037(0x222),_0x591710);}static[_0x5de2f3(0x1d0)](){const _0x5ba722=_0x5de2f3;!fs[_0x5ba722(0x206)](resource_1['PROJECT_BUILD_DIRECTORY'])&&fs[_0x5ba722(0x211)](resource_1[_0x5ba722(0x22d)],{'recursive':!![]}),fs[_0x5ba722(0x224)]((0x0,path_1[_0x5ba722(0x1d6)])(resource_1[_0x5ba722(0x22d)],'ExportOptions.plist'),useExportOptionsXML);}static[_0x5de2f3(0x20a)](_0x366d4a,_0x2b9bc7){const _0x3e5825=_0x5de2f3;var _0xa8f574;_0x366d4a[_0x3e5825(0x1d3)](_0x2b9bc7[_0x3e5825(0x228)]),_0x366d4a[_0x3e5825(0x21e)](_0x3e5825(0x204),'\x22'+_0x2b9bc7['id']+'\x22'),this[_0x3e5825(0x1e4)]((_0xa8f574=_0x2b9bc7[_0x3e5825(0x209)])!==null&&_0xa8f574!==void 0x0?_0xa8f574:[]),this['modifySwift'](_0x2b9bc7);}static['updateVersion'](_0x27ab89,_0x37fd0e){const _0x21405f=_0x5de2f3;_0x27ab89[_0x21405f(0x21e)](_0x21405f(0x1e8),_0x37fd0e);}static[_0x5de2f3(0x1e4)](_0x2da026){const _0x295342=_0x5de2f3;let _0x2e9c1b=(0x0,path_1[_0x295342(0x1d6)])(resource_1[_0x295342(0x1d7)],'./web-spatial/Info.plist'),_0x2bec8a='';for(let _0xde9f34=0x0;_0xde9f34<_0x2da026[_0x295342(0x20b)];_0xde9f34++){_0x2bec8a+=_0x295342(0x214)+_0x2da026[_0xde9f34]['protocol']+'</string>';}const _0x4a15fe=infoPlistXML[_0x295342(0x1f0)](_0x295342(0x1fb),_0x2bec8a);fs[_0x295342(0x224)](_0x2e9c1b,_0x4a15fe);}static[_0x5de2f3(0x1ce)](_0x2a22df){const _0x4f03a7=_0x5de2f3,_0x53d2f5=(0x0,path_1[_0x4f03a7(0x1d6)])(resource_1['PROJECT_DIRECTORY'],_0x4f03a7(0x21c));let _0x530b83=manifestSwiftTemplate_1[_0x4f03a7(0x21a)];_0x530b83=_0x530b83['replace']('START_URL',_0x2a22df['start_url']),_0x530b83=_0x530b83[_0x4f03a7(0x1f0)]('SCOPE',_0x2a22df[_0x4f03a7(0x1f2)]),_0x530b83=_0x530b83[_0x4f03a7(0x1f0)](_0x4f03a7(0x1dd),_0x2a22df[_0x4f03a7(0x228)]),_0x530b83=_0x530b83[_0x4f03a7(0x1f0)](_0x4f03a7(0x1d2),_0x2a22df[_0x4f03a7(0x1fd)]),_0x530b83=_0x530b83[_0x4f03a7(0x1f0)](_0x4f03a7(0x22a),_0x2a22df['id']),_0x530b83=_0x530b83['replace']('.minimal',_0x2a22df[_0x4f03a7(0x1e9)]==_0x4f03a7(0x1f3)?'.minimal':_0x4f03a7(0x223));if(_0x2a22df[_0x4f03a7(0x209)]){let _0x1a71d3='';for(let _0x2624fe=0x0;_0x2624fe<_0x2a22df[_0x4f03a7(0x209)][_0x4f03a7(0x20b)];_0x2624fe++){_0x1a71d3+=_0x4f03a7(0x200)+_0x2a22df['protocol_handlers'][_0x2624fe][_0x4f03a7(0x1f9)]+_0x4f03a7(0x1d1)+_0x2a22df[_0x4f03a7(0x209)][_0x2624fe]['url']+'\x22),';}_0x530b83=_0x530b83[_0x4f03a7(0x1f0)]('PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)',_0x1a71d3);}typeof _0x2a22df['mainScene']==='object'?(_0x530b83=_0x530b83['replace']('SceneWidth',_0x2a22df[_0x4f03a7(0x1d9)][_0x4f03a7(0x1f6)][_0x4f03a7(0x1f4)]),_0x530b83=_0x530b83[_0x4f03a7(0x1f0)](_0x4f03a7(0x1da),_0x2a22df[_0x4f03a7(0x1d9)][_0x4f03a7(0x1f6)]['height']),_0x530b83=_0x530b83[_0x4f03a7(0x1f0)](_0x4f03a7(0x20d),'\x22'+_0x2a22df['mainScene'][_0x4f03a7(0x1d4)]+'\x22'),_0x530b83=_0x530b83[_0x4f03a7(0x1f0)](_0x4f03a7(0x231),_0x4f03a7(0x227))):(_0x530b83=_0x530b83[_0x4f03a7(0x1f0)](_0x4f03a7(0x225),'1280'),_0x530b83=_0x530b83['replace'](_0x4f03a7(0x1da),'1280'),_0x530b83=_0x530b83[_0x4f03a7(0x1f0)](_0x4f03a7(0x20d),_0x4f03a7(0x1ec)),_0x530b83=_0x530b83[_0x4f03a7(0x1f0)]('USE_MAIN_SCENE',_0x4f03a7(0x1ea))),fs[_0x4f03a7(0x224)](_0x53d2f5,_0x530b83,'utf-8');}}exports[_0x5de2f3(0x20f)]=XcodeProject;
|
package/dist/lib/xcode/xcrun.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x5a702b=_0x529d;function _0x529d(_0x2a6ec6,_0x456501){const _0xe2840c=_0xe284();return _0x529d=function(_0x529d72,_0x32af63){_0x529d72=_0x529d72-0x14f;let _0xaf25ec=_0xe2840c[_0x529d72];return _0xaf25ec;},_0x529d(_0x2a6ec6,_0x456501);}(function(_0xe11b92,_0x37be6e){const _0x169b2d=_0x529d,_0x4a215c=_0xe11b92();while(!![]){try{const _0x11e6c6=parseInt(_0x169b2d(0x16e))/0x1+-parseInt(_0x169b2d(0x183))/0x2*(parseInt(_0x169b2d(0x175))/0x3)+-parseInt(_0x169b2d(0x156))/0x4+-parseInt(_0x169b2d(0x195))/0x5*(-parseInt(_0x169b2d(0x15a))/0x6)+parseInt(_0x169b2d(0x199))/0x7*(-parseInt(_0x169b2d(0x16b))/0x8)+-parseInt(_0x169b2d(0x185))/0x9*(-parseInt(_0x169b2d(0x177))/0xa)+parseInt(_0x169b2d(0x15b))/0xb;if(_0x11e6c6===_0x37be6e)break;else _0x4a215c['push'](_0x4a215c['shift']());}catch(_0x27b648){_0x4a215c['push'](_0x4a215c['shift']());}}}(_0xe284,0x7fdb8));Object['defineProperty'](exports,_0x5a702b(0x170),{'value':!![]});const child_process_1=require(_0x5a702b(0x17c)),resource_1=require('../resource'),path_1=require('path'),fs=require('fs'),xcodebuild_1=require(_0x5a702b(0x18f));function _0xe284(){const _0x48f7c8=['1586200VBInKG','launch\x20app','split','PROJECT_DIRECTORY','6bDhpJr','3184687LVqFWJ','\x20altool','boot','parseListDevices','simctl','push','Build/Products/Debug-xrsimulator/','log','length','validate','listDevices','\x20list','--\x20','/test','\x20--apple-id\x20','name','3502632iWOinX','\x20shutdown\x20booted','Shutdown','456835lDvNVt','\x20--upload-package\x20','__esModule','list','toString','xcrun','Booted','695901oRVGzk','project','9830hNPBuX','platform','\x20list\x20devices\x20\x22','\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id=','runWithSimulator','child_process','Apple\x20Vision\x20Pro','\x20simctl','deviceId','authApi','launch','no\x20visionOS\x20simulator\x20found','4pMjtwA','\x20-p\x20','7353uYisQu','install\x20success','\x20-u\x20','includes','install','installing\x20app','build\x20success','existsSync','\x20--apiIssuer\x20','state','./xcodebuild','\x20-t\x20','/web-spatial.xcodeproj','line','appleId','--\x20visionOS','1362770NWAgRJ','\x20--verbose','execSync','visionos','7EmegHw','trim','version','mkdirSync','verbose','join','start\x20building','\x27\x20-derivedDataPath\x20','find\x20simulator:\x20','uploadPackage','uploadApp','altool','\x20launch\x20\x22','authAccount','PROJECT_BUILD_DIRECTORY','shutdown','\x22\x20\x22'];_0xe284=function(){return _0x48f7c8;};return _0xe284();}class Xcrun{static async[_0x5a702b(0x164)](_0x6bca26,_0x3a28e2,_0x40b021,_0x292826){const _0x32ae7c=_0x5a702b,_0x3ef1d9=new XcrunCMD()['altool']();_0x3ef1d9['validate'](_0x6bca26);_0x292826?_0x3ef1d9[_0x32ae7c(0x152)](_0x3a28e2,_0x40b021):_0x3ef1d9[_0x32ae7c(0x180)](_0x3a28e2,_0x40b021);_0x3ef1d9[_0x32ae7c(0x178)](_0x32ae7c(0x198));const _0x58a025=(0x0,child_process_1[_0x32ae7c(0x197)])(_0x3ef1d9['line']);return _0x58a025[_0x32ae7c(0x172)]();}static async[_0x5a702b(0x1a2)](_0xd7d3c9,_0x114a7c,_0xc5494c,_0x2542dc,_0x3e164f){const _0x5f5121=_0x5a702b,_0xff4567=new XcrunCMD()['altool']();_0xff4567['uploadPackage'](_0xd7d3c9);_0x3e164f?_0xff4567['authAccount'](_0x114a7c,_0xc5494c):_0xff4567[_0x5f5121(0x180)](_0x114a7c,_0xc5494c);_0xff4567['platform']('visionos'),_0xff4567[_0x5f5121(0x193)](_0x2542dc);const _0x42e913=(0x0,child_process_1['execSync'])(_0xff4567[_0x5f5121(0x192)]);return _0x42e913[_0x5f5121(0x172)]();}static async['uploadApp'](_0x231a52,_0x3570dc,_0x53b153,_0x3e3a1c){const _0x4e5370=_0x5a702b,_0x4564d0=new XcrunCMD()['altool']();_0x4564d0[_0x4e5370(0x14f)](_0x231a52);_0x3e3a1c?_0x4564d0[_0x4e5370(0x152)](_0x3570dc,_0x53b153):_0x4564d0[_0x4e5370(0x180)](_0x3570dc,_0x53b153);_0x4564d0[_0x4e5370(0x178)]('visionos');const _0x5008de=(0x0,child_process_1[_0x4e5370(0x197)])(_0x4564d0[_0x4e5370(0x192)]);return _0x5008de[_0x4e5370(0x172)]();}static async[_0x5a702b(0x17b)](_0x4fe71b){const _0x988552=_0x5a702b;let _0x1273aa=new XcrunCMD()[_0x988552(0x15f)]();_0x1273aa['listDevices'](_0x988552(0x17d));const _0x131fcb=(0x0,child_process_1[_0x988552(0x197)])(_0x1273aa[_0x988552(0x192)]),_0x51118c=this['parseListDevices'](_0x131fcb[_0x988552(0x172)]());if(_0x51118c[_0x988552(0x163)]===0x0)throw new Error(_0x988552(0x182));let _0x22c2c1=_0x51118c[0x0];for(let _0x230392=0x0;_0x230392<_0x51118c[_0x988552(0x163)];_0x230392++){if(_0x51118c[_0x230392]['state']===_0x988552(0x174)){_0x22c2c1=_0x51118c[_0x230392];break;}}console['log'](_0x988552(0x1a1)+_0x22c2c1[_0x988552(0x17f)]);const _0x16dc56=resource_1[_0x988552(0x159)]+_0x988552(0x191),_0x1144c9=resource_1[_0x988552(0x153)]+_0x988552(0x168);!fs['existsSync'](resource_1['PROJECT_BUILD_DIRECTORY'])&&fs[_0x988552(0x19c)](resource_1[_0x988552(0x153)],{'recursive':!![]});!fs[_0x988552(0x18c)](_0x1144c9)&&fs[_0x988552(0x19c)](_0x1144c9,{'recursive':!![]});const _0x2679c3=new xcodebuild_1['XcodebuildCMD']()[_0x988552(0x176)](_0x16dc56)['line']+(_0x988552(0x17a)+_0x22c2c1['deviceId']+_0x988552(0x1a0)+_0x1144c9);console[_0x988552(0x162)](_0x988552(0x19f)),(0x0,child_process_1[_0x988552(0x197)])(_0x2679c3),console[_0x988552(0x162)](_0x988552(0x18b));_0x22c2c1[_0x988552(0x18e)]===_0x988552(0x16d)&&(_0x1273aa=new XcrunCMD()['simctl'](),_0x1273aa[_0x988552(0x15d)](_0x22c2c1[_0x988552(0x17f)]),(0x0,child_process_1['execSync'])(_0x1273aa['line']));(0x0,child_process_1['execSync'])('open\x20/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/'),console[_0x988552(0x162)](_0x988552(0x18a));const _0x367aa3=(0x0,path_1[_0x988552(0x19e)])(_0x1144c9,_0x988552(0x161)+_0x4fe71b[_0x988552(0x16a)]+'.app');_0x1273aa=new XcrunCMD()['simctl'](),_0x1273aa[_0x988552(0x189)](_0x22c2c1[_0x988552(0x17f)],_0x367aa3),(0x0,child_process_1[_0x988552(0x197)])(_0x1273aa['line']),console[_0x988552(0x162)](_0x988552(0x186)),console[_0x988552(0x162)](_0x988552(0x157)),_0x1273aa=new XcrunCMD()[_0x988552(0x15f)](),_0x1273aa[_0x988552(0x181)](_0x22c2c1['deviceId'],_0x4fe71b['id']),(0x0,child_process_1[_0x988552(0x197)])(_0x1273aa[_0x988552(0x192)]);}static[_0x5a702b(0x15e)](_0x1175a6){const _0x122a22=_0x5a702b;let _0x5ed060=_0x1175a6[_0x122a22(0x158)]('\x0a'),_0x10dfb3=[],_0x4bc006=-0x1;for(let _0x38b832=0x0;_0x38b832<_0x5ed060['length'];_0x38b832++){if(_0x5ed060[_0x38b832][_0x122a22(0x188)](_0x122a22(0x194)))_0x4bc006=_0x38b832;else{if(_0x4bc006>0x0){if(_0x5ed060[_0x38b832][_0x122a22(0x188)](_0x122a22(0x167)))break;if(_0x5ed060[_0x38b832]['length']>0x0){const _0x2dcbf0=_0x5ed060[_0x38b832][_0x122a22(0x158)]('('),_0x4ea510={'name':_0x2dcbf0[0x0]['trim'](),'deviceId':_0x2dcbf0[0x1]['split'](')')[0x0][_0x122a22(0x19a)](),'state':_0x2dcbf0[0x2]['split'](')')[0x0][_0x122a22(0x19a)]()};_0x10dfb3[_0x122a22(0x160)](_0x4ea510);}}}}return _0x10dfb3;}}exports['default']=Xcrun;class XcrunCMD{constructor(){const _0x5ac0a7=_0x5a702b;this[_0x5ac0a7(0x192)]=_0x5ac0a7(0x173);}[_0x5a702b(0x150)](){const _0x40c12e=_0x5a702b;return this[_0x40c12e(0x192)]+=_0x40c12e(0x15c),this;}[_0x5a702b(0x15f)](){const _0x44220c=_0x5a702b;return this[_0x44220c(0x192)]+=_0x44220c(0x17e),this;}[_0x5a702b(0x171)](){const _0x5e6b6f=_0x5a702b;return this[_0x5e6b6f(0x192)]+=_0x5e6b6f(0x166),this;}[_0x5a702b(0x165)](_0x20c1af){const _0x50cc3f=_0x5a702b;return this[_0x50cc3f(0x192)]+=_0x50cc3f(0x179)+_0x20c1af+'\x22',this;}[_0x5a702b(0x164)](_0x542eb3){const _0x482404=_0x5a702b;return this[_0x482404(0x192)]+='\x20--validate-app\x20-f\x20'+_0x542eb3,this;}[_0x5a702b(0x14f)](_0x2099f1){const _0x4e4a4a=_0x5a702b;return this[_0x4e4a4a(0x192)]+='\x20--upload-app\x20-f\x20'+_0x2099f1,this;}[_0x5a702b(0x1a2)](_0x28f1a1){const _0x566645=_0x5a702b;return this[_0x566645(0x192)]+=_0x566645(0x16f)+_0x28f1a1,this;}[_0x5a702b(0x152)](_0x5c65e5,_0x2b1491){const _0x6e0bba=_0x5a702b;return this['line']+=_0x6e0bba(0x187)+_0x5c65e5+_0x6e0bba(0x184)+_0x2b1491,this;}[_0x5a702b(0x180)](_0x5b23fd,_0x543067){const _0x702094=_0x5a702b;return this['line']+='\x20--apiKey\x20'+_0x5b23fd+_0x702094(0x18d)+_0x543067,this;}[_0x5a702b(0x193)](_0x191a5a){const _0x2f65b5=_0x5a702b;return this[_0x2f65b5(0x192)]+=_0x2f65b5(0x169)+_0x191a5a,this;}[_0x5a702b(0x178)](_0x35b3e4){const _0x4d5534=_0x5a702b;return this[_0x4d5534(0x192)]+=_0x4d5534(0x190)+_0x35b3e4,this;}[_0x5a702b(0x19b)](_0x4de909){return this['line']+='\x20--bundle-version\x20'+_0x4de909,this;}[_0x5a702b(0x19d)](){const _0x3b4801=_0x5a702b;return this['line']+=_0x3b4801(0x196),this;}[_0x5a702b(0x154)](){const _0xb7c4f4=_0x5a702b;return this[_0xb7c4f4(0x192)]+=_0xb7c4f4(0x16c),this;}[_0x5a702b(0x15d)](_0x55f6d0){return this['line']+='\x20boot\x20\x22'+_0x55f6d0+'\x22',this;}[_0x5a702b(0x189)](_0x3df05b,_0x5e36a6){const _0x3c331f=_0x5a702b;return this[_0x3c331f(0x192)]+='\x20install\x20\x22'+_0x3df05b+_0x3c331f(0x155)+_0x5e36a6+'\x22',this;}[_0x5a702b(0x181)](_0x3d500a,_0x59cd15){const _0x34ce83=_0x5a702b;return this['line']+=_0x34ce83(0x151)+_0x3d500a+_0x34ce83(0x155)+_0x59cd15+'\x22',this;}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webspatial/builder",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11",
|
|
4
4
|
"description": "Client CLI tool to Generate XRApp project for Apple Vision Pro",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"engines": {
|
|
@@ -60,10 +60,11 @@
|
|
|
60
60
|
"registry": "https://registry.npmjs.org"
|
|
61
61
|
},
|
|
62
62
|
"scripts": {
|
|
63
|
+
"start": "tsc -w",
|
|
63
64
|
"test1": "npm run build && bin/bundlepwa.js build --manifest=../testLocal/manifest.json --project=../testLocal --export=./export --version=1.0 --teamId=teamId",
|
|
64
65
|
"test2": "npm run build && bin/bundlepwa.js publish --manifest=../pack-test/pwa_test.json --project=../pack-test --version=1.0 --teamId=teamId --u=username --p=password",
|
|
65
66
|
"test3": "npm run build && bin/bundlepwa.js publish --name=webspatial --version=1.0 --u=username --p=password",
|
|
66
|
-
"test4": "npm run build && bin/bundlepwa.js
|
|
67
|
+
"test4": "npm run build && bin/bundlepwa.js run --manifest=../pack-test/pwa_test.json --project=../pack-test",
|
|
67
68
|
"obfuscate": "node obfuscate.js",
|
|
68
69
|
"build": "tsc && npm run obfuscate",
|
|
69
70
|
"build1": "rollup -c ./rollup.config.js",
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
-
<plist version="1.0">
|
|
4
|
-
<dict>
|
|
5
|
-
<key>SchemeUserState</key>
|
|
6
|
-
<dict>
|
|
7
|
-
<key>RealityKitContent.xcscheme_^#shared#^_</key>
|
|
8
|
-
<dict>
|
|
9
|
-
<key>orderHint</key>
|
|
10
|
-
<integer>1</integer>
|
|
11
|
-
</dict>
|
|
12
|
-
</dict>
|
|
13
|
-
</dict>
|
|
14
|
-
</plist>
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"pathsToIds": {
|
|
3
|
-
"/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/GridMaterial.usda": "CB766F92-EE55-4A63-9401-E7B8C009764D",
|
|
4
|
-
"/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Immersive.usda": "65F6F990-A780-4474-B78B-572E0E4E273D",
|
|
5
|
-
"/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Scene.usda": "0A9B4653-B11E-4D6A-850E-C6FCB621626C",
|
|
6
|
-
"/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Untitled Scene.usda": "D560BB77-AAF3-4BDE-B7C4-989332A4688B",
|
|
7
|
-
"RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/GridMaterial.usda": "66168B71-AB05-424E-8B6C-D33D6E61B08F",
|
|
8
|
-
"RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Immersive.usda": "AF09ED6F-1707-48FD-8720-65B998362C09",
|
|
9
|
-
"RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Scene.usda": "D66134B1-3681-4A8E-AFE5-29F257229F3B"
|
|
10
|
-
}
|
|
11
|
-
}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"0A9B4653-B11E-4D6A-850E-C6FCB621626C": {
|
|
3
|
-
"cameraTransform": [
|
|
4
|
-
1, 0, 0, 0, 0, 0.86602545, -0.49999994, 0, 0, 0.49999994, 0.86602545, 0,
|
|
5
|
-
0.0035969093, 0.35542378, 0.62919164, 1
|
|
6
|
-
],
|
|
7
|
-
"objectMetadataList": [
|
|
8
|
-
["0A9B4653-B11E-4D6A-850E-C6FCB621626C", "Root"],
|
|
9
|
-
{
|
|
10
|
-
"isExpanded": true,
|
|
11
|
-
"isLocked": false
|
|
12
|
-
}
|
|
13
|
-
]
|
|
14
|
-
},
|
|
15
|
-
"65F6F990-A780-4474-B78B-572E0E4E273D": {
|
|
16
|
-
"cameraTransform": [
|
|
17
|
-
1, 0, -0, 0, -0, 0.86602545, -0.49999988, 0, 0, 0.49999988, 0.86602545, 0,
|
|
18
|
-
1.1972517e-8, 2.6179132, 0.43191218, 1
|
|
19
|
-
],
|
|
20
|
-
"objectMetadataList": [
|
|
21
|
-
["65F6F990-A780-4474-B78B-572E0E4E273D", "Root"],
|
|
22
|
-
{
|
|
23
|
-
"isExpanded": true,
|
|
24
|
-
"isLocked": false
|
|
25
|
-
}
|
|
26
|
-
]
|
|
27
|
-
},
|
|
28
|
-
"66168B71-AB05-424E-8B6C-D33D6E61B08F": {
|
|
29
|
-
"cameraTransform": [
|
|
30
|
-
1, 0, -0, 0, -0, 0.8660254, -0.5, 0, 0, 0.5, 0.8660254, 0, 0, 0.23875366,
|
|
31
|
-
0.4135335, 1
|
|
32
|
-
],
|
|
33
|
-
"objectMetadataList": [
|
|
34
|
-
["66168B71-AB05-424E-8B6C-D33D6E61B08F", "Root"],
|
|
35
|
-
{
|
|
36
|
-
"isExpanded": true,
|
|
37
|
-
"isLocked": false
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
},
|
|
41
|
-
"AF09ED6F-1707-48FD-8720-65B998362C09": {
|
|
42
|
-
"cameraTransform": [
|
|
43
|
-
1, 0, -0, 0, -0, 0.7071069, -0.7071067, 0, 0, 0.7071067, 0.7071069, 0, 0,
|
|
44
|
-
2.8836339, -0.107588194, 1
|
|
45
|
-
],
|
|
46
|
-
"objectMetadataList": [
|
|
47
|
-
["AF09ED6F-1707-48FD-8720-65B998362C09", "Root"],
|
|
48
|
-
{
|
|
49
|
-
"isExpanded": true,
|
|
50
|
-
"isLocked": false
|
|
51
|
-
},
|
|
52
|
-
["AF09ED6F-1707-48FD-8720-65B998362C09", "Root", "Sphere_Left"],
|
|
53
|
-
{
|
|
54
|
-
"isExpanded": true,
|
|
55
|
-
"isLocked": false
|
|
56
|
-
},
|
|
57
|
-
["AF09ED6F-1707-48FD-8720-65B998362C09", "Root", "Sphere_Right"],
|
|
58
|
-
{
|
|
59
|
-
"isExpanded": true,
|
|
60
|
-
"isLocked": false
|
|
61
|
-
}
|
|
62
|
-
]
|
|
63
|
-
},
|
|
64
|
-
"CB766F92-EE55-4A63-9401-E7B8C009764D": {
|
|
65
|
-
"cameraTransform": [
|
|
66
|
-
1, 0, -0, 0, -0, 0.8660253, -0.5000001, 0, 0, 0.5000001, 0.8660253, 0, 0,
|
|
67
|
-
0.27093494, 0.4692731, 1
|
|
68
|
-
],
|
|
69
|
-
"objectMetadataList": [
|
|
70
|
-
["CB766F92-EE55-4A63-9401-E7B8C009764D", "Root", "GridMaterial"],
|
|
71
|
-
{
|
|
72
|
-
"isExpanded": true,
|
|
73
|
-
"isLocked": false
|
|
74
|
-
},
|
|
75
|
-
["CB766F92-EE55-4A63-9401-E7B8C009764D", "Root"],
|
|
76
|
-
{
|
|
77
|
-
"isExpanded": true,
|
|
78
|
-
"isLocked": false
|
|
79
|
-
}
|
|
80
|
-
]
|
|
81
|
-
},
|
|
82
|
-
"D560BB77-AAF3-4BDE-B7C4-989332A4688B": {
|
|
83
|
-
"cameraTransform": [
|
|
84
|
-
1, 0, -0, 0, -0, 0.8660253, -0.5000001, 0, 0, 0.5000001, 0.8660253, 0, 0,
|
|
85
|
-
0.27093494, 0.4692731, 1
|
|
86
|
-
],
|
|
87
|
-
"objectMetadataList": []
|
|
88
|
-
},
|
|
89
|
-
"D66134B1-3681-4A8E-AFE5-29F257229F3B": {
|
|
90
|
-
"cameraTransform": [
|
|
91
|
-
1, 0, -0, 0, -0, 0.7071069, -0.7071067, 0, 0, 0.7071067, 0.7071069, 0, 0,
|
|
92
|
-
0.26894823, 0.26934713, 1
|
|
93
|
-
],
|
|
94
|
-
"objectMetadataList": [
|
|
95
|
-
[
|
|
96
|
-
"D66134B1-3681-4A8E-AFE5-29F257229F3B",
|
|
97
|
-
"Root",
|
|
98
|
-
"GridMaterial",
|
|
99
|
-
"GridMaterial"
|
|
100
|
-
],
|
|
101
|
-
{
|
|
102
|
-
"isExpanded": true,
|
|
103
|
-
"isLocked": false
|
|
104
|
-
},
|
|
105
|
-
["D66134B1-3681-4A8E-AFE5-29F257229F3B", "Root"],
|
|
106
|
-
{
|
|
107
|
-
"isExpanded": true,
|
|
108
|
-
"isLocked": false
|
|
109
|
-
}
|
|
110
|
-
]
|
|
111
|
-
}
|
|
112
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"cameraPresets" : {
|
|
3
|
-
|
|
4
|
-
},
|
|
5
|
-
"secondaryToolbarData" : {
|
|
6
|
-
"isGridVisible" : true,
|
|
7
|
-
"sceneReverbPreset" : -1
|
|
8
|
-
},
|
|
9
|
-
"unitDefaults" : {
|
|
10
|
-
"°" : "°",
|
|
11
|
-
"kg" : "g",
|
|
12
|
-
"m" : "cm",
|
|
13
|
-
"m\/s" : "m\/s",
|
|
14
|
-
"m\/s²" : "m\/s²",
|
|
15
|
-
"s" : "s"
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
// swift-tools-version:5.9
|
|
2
|
-
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
3
|
-
|
|
4
|
-
import PackageDescription
|
|
5
|
-
|
|
6
|
-
let package = Package(
|
|
7
|
-
name: "RealityKitContent",
|
|
8
|
-
products: [
|
|
9
|
-
// Products define the executables and libraries a package produces, and make them visible to other packages.
|
|
10
|
-
.library(
|
|
11
|
-
name: "RealityKitContent",
|
|
12
|
-
targets: ["RealityKitContent"]
|
|
13
|
-
),
|
|
14
|
-
],
|
|
15
|
-
dependencies: [
|
|
16
|
-
// Dependencies declare other packages that this package depends on.
|
|
17
|
-
// .package(url: /* package url */, from: "1.0.0"),
|
|
18
|
-
],
|
|
19
|
-
targets: [
|
|
20
|
-
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
|
|
21
|
-
// Targets can depend on other targets in this package, and on products in packages this package depends on.
|
|
22
|
-
.target(
|
|
23
|
-
name: "RealityKitContent",
|
|
24
|
-
dependencies: []
|
|
25
|
-
),
|
|
26
|
-
]
|
|
27
|
-
)
|