Skip to content

Commit

Permalink
add debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
HSunboy committed Nov 7, 2023
1 parent 1f5f2e4 commit eef187e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 2 additions & 0 deletions scripts/clientDependencies/pullJar.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ exports.run = async function () {
return true;
}
const plugins = await oss.getOSSFolderFiles(pluginUrl)
console.log(plugins)
for (let plugin of plugins) {
console.log(plugins)
const pluginFileName = path.relative(pluginUrl, plugin.name);
const isSuccess = await oss.download(plugin.name, 'libraries/java/plugins', pluginFileName);
if (!isSuccess) {
Expand Down
1 change: 1 addition & 0 deletions scripts/clientDependencies/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ exports.oss = {
'max-keys': 1000,
'continuation-token': nextToken,
});
console.log(res);
if (res?.res?.status !== 200) {
console.error('error', res);
return null;
Expand Down
5 changes: 0 additions & 5 deletions src/main/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,5 @@ export const mainWebWindowConfig = {
center: true,
show: false,
webPreferences: {
nodeIntegration: true,
nodeIntegrationInWorker: false,
enableRemoteModule: true,
contextIsolation: false,
plugins: true,
},
};

0 comments on commit eef187e

Please sign in to comment.