File tree Expand file tree Collapse file tree 8 files changed +8
-0
lines changed
chatgpt-auto-continue/utils/bump
chatgpt-infinity/utils/bump
chatgpt-widescreen/utils/bump Expand file tree Collapse file tree 8 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 99 const fs = require ( 'fs' ) , // to read/write files
1010 path = require ( 'path' ) , // to manipulate paths
1111 bumpUtilsFilePath = path . join ( __dirname , '.cache/bump-utils.mjs' )
12+ fs . mkdirSync ( path . dirname ( bumpUtilsFilePath ) , { recursive : true } )
1213 fs . writeFileSync ( bumpUtilsFilePath , Buffer . from ( await ( await fetch (
1314 'https://cdn.jsdelivr.net/gh/adamlui/ai-web-extensions@latest/utils/bump/bump-utils.mjs' ) ) . arrayBuffer ( ) ) )
1415 const bump = await import ( require ( 'url' ) . pathToFileURL ( bumpUtilsFilePath ) )
Original file line number Diff line number Diff line change 99 const fs = require ( 'fs' ) , // to read/write files
1010 path = require ( 'path' ) , // to manipulate paths
1111 bumpUtilsFilePath = path . join ( __dirname , '.cache/bump-utils.mjs' )
12+ fs . mkdirSync ( path . dirname ( bumpUtilsFilePath ) , { recursive : true } )
1213 fs . writeFileSync ( bumpUtilsFilePath , Buffer . from ( await ( await fetch (
1314 'https://cdn.jsdelivr.net/gh/adamlui/ai-web-extensions@latest/utils/bump/bump-utils.mjs' ) ) . arrayBuffer ( ) ) )
1415 const bump = await import ( require ( 'url' ) . pathToFileURL ( bumpUtilsFilePath ) )
Original file line number Diff line number Diff line change 99 const fs = require ( 'fs' ) , // to read/write files
1010 path = require ( 'path' ) , // to manipulate paths
1111 bumpUtilsFilePath = path . join ( __dirname , '.cache/bump-utils.mjs' )
12+ fs . mkdirSync ( path . dirname ( bumpUtilsFilePath ) , { recursive : true } )
1213 fs . writeFileSync ( bumpUtilsFilePath , Buffer . from ( await ( await fetch (
1314 'https://cdn.jsdelivr.net/gh/adamlui/ai-web-extensions@latest/utils/bump/bump-utils.mjs' ) ) . arrayBuffer ( ) ) )
1415 const bump = await import ( require ( 'url' ) . pathToFileURL ( bumpUtilsFilePath ) )
Original file line number Diff line number Diff line change 99 const fs = require ( 'fs' ) , // to read/write files
1010 path = require ( 'path' ) , // to manipulate paths
1111 bumpUtilsFilePath = path . join ( __dirname , '.cache/bump-utils.mjs' )
12+ fs . mkdirSync ( path . dirname ( bumpUtilsFilePath ) , { recursive : true } )
1213 fs . writeFileSync ( bumpUtilsFilePath , Buffer . from ( await ( await fetch (
1314 'https://cdn.jsdelivr.net/gh/adamlui/ai-web-extensions@latest/utils/bump/bump-utils.mjs' ) ) . arrayBuffer ( ) ) )
1415 const bump = await import ( require ( 'url' ) . pathToFileURL ( bumpUtilsFilePath ) )
Original file line number Diff line number Diff line change 99 const fs = require ( 'fs' ) , // to read/write files
1010 path = require ( 'path' ) , // to manipulate paths
1111 bumpUtilsFilePath = path . join ( __dirname , '.cache/bump-utils.mjs' )
12+ fs . mkdirSync ( path . dirname ( bumpUtilsFilePath ) , { recursive : true } )
1213 fs . writeFileSync ( bumpUtilsFilePath , Buffer . from ( await ( await fetch (
1314 'https://cdn.jsdelivr.net/gh/adamlui/ai-web-extensions@latest/utils/bump/bump-utils.mjs' ) ) . arrayBuffer ( ) ) )
1415 const bump = await import ( require ( 'url' ) . pathToFileURL ( bumpUtilsFilePath ) )
Original file line number Diff line number Diff line change 99 const fs = require ( 'fs' ) , // to read/write files
1010 path = require ( 'path' ) , // to manipulate paths
1111 bumpUtilsFilePath = path . join ( __dirname , '.cache/bump-utils.mjs' )
12+ fs . mkdirSync ( path . dirname ( bumpUtilsFilePath ) , { recursive : true } )
1213 fs . writeFileSync ( bumpUtilsFilePath , Buffer . from ( await ( await fetch (
1314 'https://cdn.jsdelivr.net/gh/adamlui/ai-web-extensions@latest/utils/bump/bump-utils.mjs' ) ) . arrayBuffer ( ) ) )
1415 const bump = await import ( require ( 'url' ) . pathToFileURL ( bumpUtilsFilePath ) )
Original file line number Diff line number Diff line change 99 const fs = require ( 'fs' ) , // to read/write files
1010 path = require ( 'path' ) , // to manipulate paths
1111 bumpUtilsFilePath = path . join ( __dirname , '.cache/bump-utils.mjs' )
12+ fs . mkdirSync ( path . dirname ( bumpUtilsFilePath ) , { recursive : true } )
1213 fs . writeFileSync ( bumpUtilsFilePath , Buffer . from ( await ( await fetch (
1314 'https://cdn.jsdelivr.net/gh/adamlui/ai-web-extensions@latest/utils/bump/bump-utils.mjs' ) ) . arrayBuffer ( ) ) )
1415 const bump = await import ( require ( 'url' ) . pathToFileURL ( bumpUtilsFilePath ) )
Original file line number Diff line number Diff line change 1111 const fs = require ( 'fs' ) , // to read/write files
1212 path = require ( 'path' ) , // to manipulate paths
1313 bumpUtilsFilePath = path . join ( __dirname , '.cache/bump-utils.mjs' )
14+ fs . mkdirSync ( path . dirname ( bumpUtilsFilePath ) , { recursive : true } )
1415 fs . writeFileSync ( bumpUtilsFilePath , Buffer . from ( await ( await fetch (
1516 'https://cdn.jsdelivr.net/gh/adamlui/ai-web-extensions@latest/utils/bump/bump-utils.mjs' ) ) . arrayBuffer ( ) ) )
1617 const bump = await import ( require ( 'url' ) . pathToFileURL ( bumpUtilsFilePath ) )
You can’t perform that action at this time.
0 commit comments