@@ -142,15 +142,38 @@ function applyBrandingToReleaseArtifacts() {
142142 }
143143
144144 // Patch Getting Started promotional tile.
145- const gsJsPath = path . join ( dir , "lib" , "vscode" , "out" , "vs" , "workbench" , "contrib" , "welcomeGettingStarted" , "browser" , "gettingStarted.js" )
145+ const gsJsPath = path . join (
146+ dir ,
147+ "lib" ,
148+ "vscode" ,
149+ "out" ,
150+ "vs" ,
151+ "workbench" ,
152+ "contrib" ,
153+ "welcomeGettingStarted" ,
154+ "browser" ,
155+ "gettingStarted.js" ,
156+ )
146157 if ( fs . existsSync ( gsJsPath ) ) {
147158 let gs = fs . readFileSync ( gsJsPath , "utf8" )
148159 gs = gs
149- . replace ( / h t t p s ? : \\ / \\/ [ ^ "']*code-server-to-coder[^" ']*/g, "https://" + branding.companyDomain + "/home/introduction")
160+ . replace (
161+ / h t t p s ? : \/ \/ [ ^ " ' ] * c o d e - s e r v e r - t o - c o d e r [ ^ " ' ] * / g,
162+ "https://" + branding . companyDomain + "/home/introduction" ,
163+ )
150164 . replace ( / D e p l o y c o d e - s e r v e r f o r y o u r t e a m / g, "Learn more about qBraid" )
151- . replace ( / P r o v i s i o n s o f t w a r e d e v e l o p m e n t e n v i r o n m e n t s o n y o u r i n f r a s t r u c t u r e w i t h C o d e r \. / g, "Discover the qBraid quantum development platform." )
152- . replace ( / C o d e r i s a s e l f - s e r v i c e p o r t a l [ ^ " ' ] * \. / g, "qBraid provides managed quantum environments in the cloud." )
153- . replace ( / s r c : ' \. \/ _ s t a t i c \/ s r c \/ b r o w s e r \/ m e d i a \/ t e m p l a t e s .p n g ' / g, "src: './_static/src/browser/media/qbraid-tile.png'" )
165+ . replace (
166+ / P r o v i s i o n s o f t w a r e d e v e l o p m e n t e n v i r o n m e n t s o n y o u r i n f r a s t r u c t u r e w i t h C o d e r \. / g,
167+ "Discover the qBraid quantum development platform." ,
168+ )
169+ . replace (
170+ / C o d e r i s a s e l f - s e r v i c e p o r t a l [ ^ " ' ] * \. / g,
171+ "qBraid provides managed quantum environments in the cloud." ,
172+ )
173+ . replace (
174+ / s r c : ' \. \/ _ s t a t i c \/ s r c \/ b r o w s e r \/ m e d i a \/ t e m p l a t e s .p n g ' / g,
175+ "src: './_static/src/browser/media/qbraid-tile.png'" ,
176+ )
154177 fs . writeFileSync ( gsJsPath , gs )
155178 }
156179 }
0 commit comments